Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems updating a date column in using GridView
Message
De
28/06/2007 17:50:32
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Problems updating a date column in using GridView
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01236618
Message ID:
01236618
Vues:
152
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform