Dear all ,
i have a string that is like --11/02/2016
now in my database i have the date column with datatype datetime,
so i want to convert these string into datetime .so please help me in c# .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Kunal PatelPosted Mar 16, 2016, 9:11 AM
Prasad BhagatPosted Mar 16, 2016, 8:55 AM
Prasad BhagatPosted Mar 16, 2016, 8:55 AM
Amit Kumar SinghPosted Mar 16, 2016, 8:48 AM
Kunal PatelPosted Mar 16, 2016, 8:40 AM
Convert.ToDateTime(yourstring)