Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting an integer field in a datagrid to null
Message
From
15/09/2004 14:49:48
 
 
To
15/09/2004 14:33:07
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00942572
Message ID:
00942584
Views:
16
This message has been marked as the solution to the initial question of the thread.
Try this...
Dt.Rows[nMyRowNumber][nMyColNumber] = System.DBNull.Value;
Does that help?

(Follow-up...be careful anytime you evaluate that row/column and maybe parse it as a string...you'll need to check if it's null first)

Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform