Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Null value in VB.Net
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00701667
Message ID:
00701886
Vues:
19
Cathi,

If you recall a previous thread where I asked a question about inserting a NULL, I could never get the darn thing to work. I don't know if it's a bug or what, but I gave up on it.

~~Bonnie


>The SQL Server syntax for the insert statement is:
>
>
>insert into TABLENAME (FIELD1, FIELD2) values ('TEXT', NULL)
>
>
>If you are setting the value in a DataRow inside of a DataTable, then you set the value of the DataRow like the following:
>
>
>rowCustomer("ContactName") = Convert.DBNull
>
>
>
>>how to insert a null value to database (DB2,SQL Server) from vb.net ?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform