large values from database

D

Dave Cullen

I have an Oracle table with very large numerical data values and I can't get
my VB program to display them with full precision. I'm using standard .NET
connectivity with OleDbConnection, OleDbDataAdapter and a Dataset.

If I preview the data in the OleDbDataAdapter the values get rounded off and
converted to scientific notation. E.g. 1800000000000002501 gets turned into
1.8000000000000026E+18. The same thing happens when I actually fill the
dataset in my code.

How do I retrieve the full value without scientific notation?

Thanks
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top