VB.NET Null to SQL Null (ASP.NET 2.0 GridView)



Hey,

I have everything working now except for this. I have some fields that
I am getting data from, then I am sending them to a SQL database. Now
the empty string and VB.NET null are different than the SQL Null (type:
"System.DBNull"). So, i need some way of cenverting the values into a
"System.DBNull" object and then send them to the database. Any ideas?

BTW: The parameter called: "ConvertEmptyStringToNull" does not work.
Microsoft said there is a bug and it will be fixed for the release
date.

Thanks,
Kivak Wolf

.



Relevant Pages

  • Creating a custom field in Project Server
    ... integer associated to a "bug" (for use with a bug-tracking application). ... this field added to one of the MS Project tables in the actual SQL Database? ... If you don't modify those tables, ...
    (microsoft.public.project)
  • Re: rolling Firefox back to 2.x
    ... function seems to only mark the data as deleted in the SQL database: ... The bug seems to be very difficult ... to reproduce, in fact, I could not reproduce it locally. ... I was also unable to reproduce that bug (with a new profile). ...
    (Ubuntu)
  • Server problem
    ... via a local ODBC connection to the SQL database and a mapped drive to the ... Kind regards ... Prev by Date: ...
    (microsoft.public.win2000.active_directory)
  • Tutorial Search - Create SQL Dbase via c#
    ... I'm searching for a tutorial concerning the creation and managment of ... an SQL database with a web front end via c# ... Frank Chapman ... Prev by Date: ...
    (microsoft.public.vsnet.general)
  • Incrementing an ID field
    ... I am setting up an application for an existing SQL database using Access to ... update/enter new records. ... Drew ... Prev by Date: ...
    (microsoft.public.access.modulesdaovba)