IDE: VS 2010, c# .net
I m having a textbox1 which is containg date
i.e
textbox1.text = "16/04/2014"
And I am having a datetime object
Datetime dt ;
dt = DateTime.Parse(textbox1.text);
//trying to set date in dt from the textbox1.text value
but it is returning String was not recognized as a valid DateTime. error.
pls tell the correct way.