|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Decimals truncated in datasetI'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. Why is this happening? 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 Show quote "robot7" <rob***@discussions.microsoft.com> wrote in message news:2A937EBA-C6B6-46AC-B750-12BDFC942EFD@microsoft.com... > 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. > > Why is this happening? |
|||||||||||||||||||||||