Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmType.IsEmpty
Message
De
23/08/2006 09:16:07
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01144991
Message ID:
01147861
Vues:
26
I've had the same problem. When you don't set the default value and the user doesn't enter a value in the control, the dataset contains a null for the value (as expected since nothing was entered). Unfortunately, the MM data checking doesn't seem to handle this possiblity (since the data field is not nullable) and it throws an error.

I've taken the lazy way out and put in default values all over the place. I haven't taken the time to look for a better solution.

I hope this contributes to understanding the problem.

Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform