FormatException with GetValues methods

  • Thread starter Thread starter Robin HOIZEY \(Hotmail\)
  • Start date Start date
R

Robin HOIZEY \(Hotmail\)

Hi,

I'm using the OdbcDataReader.GetValues method (.NET Framework 1.1) to
populate an object array with the result of a SQL command.

The Database engine is Oracle 9.0.2.

When getting decimal values (with significant values after the entire part),
The GetValues methods raise a FormatException : "Input String was not in a
correct format".

For exemple : If the value in the decimal field is '123456,0000', it works
fine If the value is '123456,7890', it raises the execption.

I really need your help !
--
-----------------------------------------
Robin HOIZEY
4 rue du fourchet
37320 SAINT-BRANCHS
Tel : +33 2 47 26 34 50
Cel : +33 6 62 29 76 05
-----------------------------------------
 
Robin,

Can you explain us what is in your question VB.Net related so that people in
the language.vb netgroup can help you with this?.

By instance what is the code you use that raises the error.

Cor
 

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

Back
Top