Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Null value in VB.Net
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00701667
Message ID:
00701886
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform