[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.odbcnet

IsDBNull does not work from ODBC

Peter Stojkovic

9/10/2002 10:56:00 AM

I am using MICROSOFT.DATA.ODBC

The line with Getdouble is working. I get the value from the datareader

The next line is NOT working: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN
OBJECT

dd is from type double

lboolean is fom type boolean

Which object is not set to an instance ??

The datareader is OK, because in the line before i can read the correct
value


What is wrong in my brain ??

Thanks for any help !! PETER

Now the very long example !!

dd = l_Reader.GetDouble(0)


lboolean = l_Reader.IsDBNull(0)