By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 1,990 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

FormatException with GetValues methods

P: n/a
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
-----------------------------------------
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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

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
-----------------------------------------

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.