|
-
Nov 13th, 2005, 06:59 PM
#1
Thread Starter
Junior Member
String was not recognized as a valid DateTime
Dear All,
I have this piece of code:-
CType(r.FindControl("calDate"), Calendar).SelectedDate = DateTime.Parse(CType(r.FindControl("txtEvDate"), TextBox).Text())
And its giving me an error:-
String was not recognized as a valid DateTime
How can I solve this?
Thanks for your help and time
Johann
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|