Re: How to assign a null value to the Column in the Database from VB.N

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: james (jjames700ReMoVeMe)
Date: 01/21/05


Date: Fri, 21 Jan 2005 13:27:03 -0600

Something like this:
myvalue = DBNull.Value

That will set the column's value (myvalue in this case) to DBNull.Value.

james

"Prabhudhas Peter" <PrabhudhasPeter@discussions.microsoft.com> wrote in message
news:F7CC18D6-89D4-4AC1-86EE-9F0DB185A748@microsoft.com...
>I want to assign null value to a column in the database which is decalred as
> an integer from VB.net...
>
> Is there any specific keyword like vbNull as in vb 6.0.
> --
> Peter...