Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OracleDataReader: Exception with DBNull

604717Dec 19 2007 — edited Dec 21 2007
Hello,

i`m using the OracleDateReader object to read data from the database. But if there no data in a column, the datareader throws an exception instead of writing a literal null (0). Is there any oppurtunity to get a 0 instead of an exception?

I hope someone can help me!
Thanks.

Matthias
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 18 2008
Added on Dec 19 2007
2 comments
2,105 views