if (dr.GetValue(fcnt).GetType() == typeof(decimal))
sb.Append((
This does not work in Oracle when the column is Number (9,2).
This is part of a loop where I read a datareader in and create a csv file. Work great with SQL.
Any help will be greatly appreciated.
Thanks,
arep
double)(dr.GetDecimal(fcnt)));
A RepaskyPosted Feb 20, 2013, 4:54 PM
if (dr.GetValue(fcnt).GetType() == typeof(double))
sb.Append(dr.GetDouble(fcnt));