The data stored in the data adapter is stored as raw objects. You can
convert it to whatever compatible C# datatype is that you want. You can use
a switch/case statement based on the SQL type and in the case statements,
handle each specific type and convert the data using Convert.ToXXX or
whatever method suits you.
Pete
"Jacek Jurkowski" <jj********@datacomp.szczecin.pl> wrote in message
news:uV**************@TK2MSFTNGP11.phx.gbl...
Im making some select using OleDbDataAdapter.
Adapter fills my DataSet with selected data.
How to inform OleDbDataAdapter to convert specified
OleDbTypes to eqivalent c# types. How to make it to
allways change f.e. char to string and numeric to double.
You must remember that i don't know what tables will
be returned.