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
Ashok Kumar
NA
38
45.8k
how to display condition applied message to datetimepicker
Aug 9 2012 1:26 AM
hi friends,
i am doing application for leave approval in my
SAVE button
i have wrote code like this
if (dtpToDate.Text =="")
{
errorMsg("Please Enter The todate");
dtpToDate.Focus();
}
when i click save button without selecting
todate
it have show message please enter the todate but the
current date
is aromatically storing in date base because when i run the application the current date is displaying in datetimepicker so when i click my save button date is storing. How i can i show message .
could anyone help me
thanks
Reply
Answers (
3
)
comparision operater(>) between two date time picker and textbox
Indexing without page numbers