OleDbDataReader and Currency fields

  • Thread starter Thread starter Rob Richardson
  • Start date Start date
R

Rob Richardson

Greetings!

I have a database created in MS Access that has some fields containing
Currency data. Every time I try to use one of the OleDbDataReader's
GetXXX() methods to read it, I get an invalid cast exception. Is it
possible to use the OleDbDataReader to get the value of a currency field in
an Access database? If so, how?

Rob, who probably shouldn't even ask this question, since the
OleDbDataReader is too simplistic. I should probably find whatever VB .Net
has that corresponds to my old friend the ADODB.Recordset.
 
Back
Top