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...
Manas MohapatraPosted Sep 7, 2016, 5:09 AM
Vinay SinghPosted Sep 7, 2016, 4:21 AM
Rajeesh MenothPosted Sep 7, 2016, 1:00 AM
Midhun TpPosted Sep 7, 2016, 12:40 AM