hungnguyen
Programmer
Hi All,
How do you validate a date on a textbox? Let me clarify.
I have a text box named ate Due". If I enter the date and save information of the form, there is no problem. However, when I type other than date format as "ASAP", there is a problem to save my information because the datatype is set for date due is Date Format(SQL Database).
Is Any way I can validate the format of Date Due before saving. I mean to to save the info. into database if there is a correct format of Date Due; otherwise, it won't save...better than an error message.
Thanks for your help.
bye
Hung Nguyen
How do you validate a date on a textbox? Let me clarify.
I have a text box named ate Due". If I enter the date and save information of the form, there is no problem. However, when I type other than date format as "ASAP", there is a problem to save my information because the datatype is set for date due is Date Format(SQL Database).
Is Any way I can validate the format of Date Due before saving. I mean to to save the info. into database if there is a correct format of Date Due; otherwise, it won't save...better than an error message.
Thanks for your help.
bye
Hung Nguyen