T
thomson
Hi All,
i have a date time object which i have declared as
DateTime dtFromDate,
and i do have a textbox which has a string 31/03/2005, which is of
dd/mm/yyyy,
while iam assigning this value
like this
dtFromDate = DateTime.Parse(txtLastDate.Value);
it gives me an error input string not in a correct format,
but it works if i have a string of mm/dd/yyyy,
how should i go for this
Thanks in Advance
Thomson
i have a date time object which i have declared as
DateTime dtFromDate,
and i do have a textbox which has a string 31/03/2005, which is of
dd/mm/yyyy,
while iam assigning this value
like this
dtFromDate = DateTime.Parse(txtLastDate.Value);
it gives me an error input string not in a correct format,
but it works if i have a string of mm/dd/yyyy,
how should i go for this
Thanks in Advance
Thomson