DBNull

Discussion in 'ASP .Net' started by =?Utf-8?B?Q3NoYXJwR3V5?=, Feb 8, 2006.

  1. I have to pass in a Null value at times from my web form, I'm calling a
    Stored procedure, but i forget the syntax to allow passing of NUll values and
    put NULL in the table, what is that syntax again?
    =?Utf-8?B?Q3NoYXJwR3V5?=, Feb 8, 2006
    #1
    1. Advertising

  2. DBNull.Value

    Karl

    --
    http://www.openmymind.net/
    http://www.fuelindustries.com/


    "CsharpGuy" <> wrote in message
    news:...
    >I have to pass in a Null value at times from my web form, I'm calling a
    > Stored procedure, but i forget the syntax to allow passing of NUll values
    > and
    > put NULL in the table, what is that syntax again?
    Karl Seguin [MVP], Feb 8, 2006
    #2
    1. Advertising

  3. I tried that and its not putting NULL in the field on the table, its leaving
    the field blank

    "Karl Seguin [MVP]" wrote:

    > DBNull.Value
    >
    > Karl
    >
    > --
    > http://www.openmymind.net/
    > http://www.fuelindustries.com/
    >
    >
    > "CsharpGuy" <> wrote in message
    > news:...
    > >I have to pass in a Null value at times from my web form, I'm calling a
    > > Stored procedure, but i forget the syntax to allow passing of NUll values
    > > and
    > > put NULL in the table, what is that syntax again?

    >
    >
    >
    =?Utf-8?B?Q3NoYXJwR3V5?=, Feb 8, 2006
    #3
  4. =?Utf-8?B?Q3NoYXJwR3V5?=

    Mark Rae Guest

    "CsharpGuy" <> wrote in message
    news:...

    >I tried that and its not putting NULL in the field on the table, its
    >leaving
    > the field blank


    Show us your code... Both the C# and the T-SQL
    Mark Rae, Feb 8, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravikanth[MVP]
    Replies:
    6
    Views:
    3,869
    Aemca
    Jul 18, 2003
  2. Boris Zakharin

    Adding a DBNull value to the database

    Boris Zakharin, Aug 27, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    377
    Boris Zakharin
    Aug 27, 2003
  3. dave
    Replies:
    1
    Views:
    2,841
    Teemu Keiski
    Nov 26, 2003
  4. Elmo Watson
    Replies:
    3
    Views:
    6,022
    Scott M.
    Dec 25, 2003
  5. Martin
    Replies:
    2
    Views:
    426
    Martin
    Feb 2, 2004
Loading...

Share This Page