Re: How to assign a null value to the Column in the Database from VB.N
From: james (jjames700ReMoVeMe)
Date: 01/21/05
- Next message: BrianDH: "RE: SQL Insert Comma Delimited string"
- Previous message: Adrian: "Re: System.Security.SecurityException"
- In reply to: Prabhudhas Peter: "How to assign a null value to the Column in the Database from VB.N"
- Messages sorted by: [ date ] [ thread ]
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...
- Next message: BrianDH: "RE: SQL Insert Comma Delimited string"
- Previous message: Adrian: "Re: System.Security.SecurityException"
- In reply to: Prabhudhas Peter: "How to assign a null value to the Column in the Database from VB.N"
- Messages sorted by: [ date ] [ thread ]