VB.NET Null to SQL Null (ASP.NET 2.0 GridView)
- From: "Kivak Wolf" <LittleWolfee@xxxxxxxxx>
- Date: 28 Jun 2005 06:25:12 -0700
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
.
- Follow-Ups:
- RE: VB.NET Null to SQL Null (ASP.NET 2.0 GridView)
- From: Cowboy (Gregory A. Beamer) - MVP
- RE: VB.NET Null to SQL Null (ASP.NET 2.0 GridView)
- Prev by Date: Re: Popup window does not work
- Next by Date: Re: security issue with windows control in aspx
- Previous by thread: security issue with windows control in aspx
- Next by thread: RE: VB.NET Null to SQL Null (ASP.NET 2.0 GridView)
- Index(es):
Relevant Pages
|