Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmGridView and nulls
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01268664
Message ID:
01268845
Vues:
13
Ian,

>I have been using mmGridView objects to display information and to allow the information to be editted or deleted. So far it has been working quite nicely. However, I now have a table that is a set of decimal columns and most of them will be null at any given point and the mmGridView complains that the null values are an invalid input type when I attempt to save edits. I have tried the convertemptystringtonull setting in both modes and there was no change in my result. If I simply read the record from the database into the grid and click edit and then update I get the error which eliminates entry issues. Also, if I key 0.00 into all of the empty fields it will save without a problem. Is there a setting that I am missing that will allow me to save the null values through the grid?

Check out this help topic:

http://msdn2.microsoft.com/en-us/library/ms366709.aspx

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform