hello,
how do i do to hide image in 3 days. I use start date using Datetime.Now. e.g: my start date is 6/9/2016, after 3 days starts from 6/9/2016 an image will hide.Meaning that at 10/9/2016 the image must hide. below are my example code that did not have any condition to hide yet:
DateTime dt1 = DateTime.Now;
string datetoday = dt1.ToString();
lblDateToday.Text = datetoday;
DateTime AddDay = DateTime.Now.AddDays(3);
lblDateAdd2.Text = AddDay.ToString();
string datetoday = dt1.ToString();
lblDateToday.Text = datetoday;
DateTime AddDay = DateTime.Now.AddDays(3);
lblDateAdd2.Text = AddDay.ToString();
Please help anyone...

Midhun TpRank #388 · 6.5K reputationPosted Sep 6, 2016, 8:40 PM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Sep 6, 2016, 9:00 PM EDT
Vinay SinghRank #604 · 4K reputationPosted Sep 7, 2016, 12:21 AM EDT
Manas MohapatraRank #182 · 13.2K reputationPosted Sep 7, 2016, 1:09 AM EDT