Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmGridView and nulls
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01268664
Message ID:
01268845
Views:
12
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
Previous
Reply
Map
View

Click here to load this message in the networking platform