Groups | Blog | Home
all groups > dotnet ado.net > march 2005 >

dotnet ado.net : Decimals truncated in dataset


robot7
3/31/2005 9:23:02 AM
I'm airly new to .net and I can't seem to figure out this problem, I hope you
can help...

I'm filling a dataset from an Access database with columns of type =
Decimal. When I load a datagrid with the dataset, the numbers are truncated,
i.e. in Access I see 0.87224505043, in my datagrid i see 0.

Val Mazur (MVP)
3/31/2005 9:00:37 PM
Hi,

Are you sure that value in a DataSet is 0 or is it just a grid control
displays 0. try to put value from the DataSet into some variable to see what
it holds

--
Val Mazur
Microsoft MVP

http://xport.mvps.org



[quoted text, click to view]

AddThis Social Bookmark Button