Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems updating a date column in using GridView
Message
From
28/06/2007 17:50:32
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Problems updating a date column in using GridView
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01236618
Message ID:
01236618
Views:
153
Hi,

I'm using the MM.net framework. It's been very helpful in my development so far, but I'm not enjoying the technical support very much. Hopefully someone can help me with this.

I've run into a problem with updating a gridview DATE column to null. I enabled editing on the gridview using the method explained in the "How to Add Paging to a GridView" article in the MM.Net developer guide. But I get "String was not recognized as a valid DateTime.Couldn't store <> in survey_date Column. Expected type is DateTime." exception when attempting to save the dataset and the date column is empty. I understand there issues when binding a textbox to a date database column, but this works on other pages where I'm binding to a mmtextbox in a standard web form.

Is there something different going on with doing it thru a dataview? If so is there a workaround? Do I have to setup a calendar control instead?

Thank You
Govinda Berrio
GKG Inc.
Providence, RI
http://www.gkginc.com
Next
Reply
Map
View

Click here to load this message in the networking platform