Re: 'String was not recognized as a valid DateTime
- From: "singh_angrez@xxxxxxxxxxxxxx" <singh_angrez@xxxxxxxxxxxxxx>
- Date: 20 Apr 2005 21:32:30 -0700
Hi,
Just check what is the value you are getting from
Request.Form["openDate"].
I just works like this.
string date = "04/21/2005"; // in the format mm/dd/yyyy;
DateTime temp = DateTime.Parse(date);
//The above code runs without any exception.
Just check what the string are you getting using
Request.Form["open_date"];
Regards,
angrez
.
- Follow-Ups:
- References:
- Prev by Date: Re: RowFilter on Date field
- Next by Date: Re: 'String was not recognized as a valid DateTime
- Previous by thread: 'String was not recognized as a valid DateTime
- Next by thread: Re: 'String was not recognized as a valid DateTime
- Index(es):
Relevant Pages
|
Loading