TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Hazel Mahmud
1.4k
315
70k
hide image in 3 days
Sep 7 2016 12:24 AM
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();
Please help anyone...
Reply
Answers (
4
)
Difference between User Control and Custom Control
How to disaply ToolTip on a disabled Button in windows form?