Last post Dec 16, 2009 12:37 AM by email@example.com
Dec 15, 2009 09:44 PMfirstname.lastname@example.org|LINK
This thread has showed me some great insight into this problem, however I have one question.
I am passing a textbox containing a date into an Access Data Source. If I delete the contents of the textbox, it throws an error
my pseudo - code is like
string closedate = ((TextBox)e.Item.FindControl("txtCloseDate")).Text
i keep getting errors when deleting the contents of the textbox and updating, but this field allows nulls. Also, If I change the date, it works fine and updates well, but just this portion of the code is returning some weird value for the date field thats
causing an error. Insight anyone?
Dec 15, 2009 11:02 PM|prasadP|LINK
If the text box is empty ten use
Dec 16, 2009 12:35 AM|Mikesdotnetting|LINK
See if this helps:
Dec 16, 2009 12:37 AMemail@example.com|LINK
awesome thank you both! i will mark in the morning.