Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting an integer field in a datagrid to null
Message
De
15/09/2004 14:49:48
 
 
À
15/09/2004 14:33:07
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00942572
Message ID:
00942584
Vues:
17
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform