By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,985 Members | 1,712 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,985 IT Pros & Developers. It's quick & easy.

Input Date Validation in ASP.NET(C#)

P: n/a
Hi,
I need to validate that the Entred Date is Valid in my
ASP.NET Web App with Code Behind in C#.

Is there something similar to IsDate Function in VB6.0?

Do any one has some approch to do this?

Thanks,
Rupang

Jul 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
DateTime d;
try {
d = DateTime.Parse(sometextbox.Text);
} catch {
// Failure
}
-mike
MVP

"Rupang" <ru****@hotmail.com> wrote in message
news:07****************************@phx.gbl...
Hi,
I need to validate that the Entred Date is Valid in my
ASP.NET Web App with Code Behind in C#.

Is there something similar to IsDate Function in VB6.0?

Do any one has some approch to do this?

Thanks,
Rupang

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.