
07-13-2012, 10:47 AM
|
|
Newcomer
|
|
Join Date: Jul 2012
Posts: 2
|
|
DataAdapter.fill Dataset with error: "Input string was not in a correct format"
|
Hi all,
I have a problem when i fill a dataset with a query return via ODBC via Oracle.
The program work well from many month. I think, but I'm not sure, that the problem is the field "Price" that return in a record for the first time value 0,78 (so far it has been always greater than 1).
The code is:
Code:
Dim cmd As New Odbc.OdbcCommand
sql = "SELECT * FROM....
cmd.CommandText = sql
cmd.CommandType = CommandType.Text
cmd.Connection = DB
Dim da As New Odbc.OdbcDataAdapter
da.FillLoadOption = LoadOption.OverwriteChanges
da.SelectCommand = cmd
da.Fill(ds, "TABLE11")
Please, can anyone help me? Thanks
|
|