Hi
I am using Datetime to storein back end
In edit
IFormatProvider provider = new System.Globalization.CultureInfo("en-CA", true);
string start1 = txtposteddate1.Text;
DateTime dtstart = DateTime.Parse(start1, provider, System.Globalization.DateTimeStyles.NoCurrentDateDefault);
string end1 = txtlastdate1.Text;
DateTime dtend = DateTime.Parse(end1, provider, System.Globalization.DateTimeStyles.NoCurrentDateDefault);
jBO.PostedDate = start1.ToString();
jBO.LastDate = end1.ToString();
But iam gettung the error as Help On String is not a Valid Date time
Where is the mistake
.The same works for insertion ,but for editing error appears where is the mistake
vijaya