I have attached one code of my project and i need a help in that.
The code is running without any error but i am stuck up in modifying that how to make a statement, of invalid format of date or time if the user enters the wrong format should i use Try Catch blocks or simply use the if else statement
I need to make it quite simple.
sam wage
0
Newbie Poster
Recommended Answers
Jump to PostHi, sam wage, welcome here at DaniWeb.
I'm in with grarhakim here. If you can avoid it, don't annoy users with error messages and exceptions, just because the poor user typed something wrong in a date.
All 3 Replies
grarhakim
0
Newbie Poster
ddanbe
2,724
Professional Procrastinator
Featured Poster
Fenrir()
52
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.