P
Pial
I am facing problem in the following situation:
I have a text box in the aspx file name: openDate. And my date format is mm/dd/yyyy.
C#:
private DateTime _opendate;
_openDate = DateTime.Parse(Request.Form["openDate"]);
I get error saying 'String was not recognized as a valid DateTime'
thanks in advance
Zahir
I have a text box in the aspx file name: openDate. And my date format is mm/dd/yyyy.
C#:
private DateTime _opendate;
_openDate = DateTime.Parse(Request.Form["openDate"]);
I get error saying 'String was not recognized as a valid DateTime'
thanks in advance
Zahir