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
Mark Uy
NA
130
0
simple textbox + toshorttimestring question
Feb 13 2010 1:25 AM
i have 2 textboxes that will log a start time and an endtime when i click on a button.
what i want to do is to have some sort of notification (a messagebox or anything else) every time the endtime = datetime.now.toshorttimestring();.
i tried this but it didnt worked:
private void Form1_Load(object sender, EventArgs e)
{
if (endtime.Text.Equals(DateTime.Now.ToShortTimeString()))
{
MessageBox.Show("time is up");
}
}
thanks in advance.
Reply
Answers (
2
)
Problem in Database App
getting mobile data through .net