Sunday 15 July 2012

asp.net - How to convert Date Time into String value? -


I try to convert the string into a date I get an error such as 'string' type from 'System.DateTime' But no one can be converted.

ASPX Code

  p. Dob = convert ToDateTime (txtDOB.Text);  

Can you help me, how to solve this error I

If" p.odb "is the string:

  p = dub = convert. Talktime (TSTDOB text). Ostring ("DD / MM / Yay");  

No comments:

Post a Comment