Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desperately looking for MS Access [decimal places]
Message
From
05/01/2011 20:08:20
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01494823
Message ID:
01494861
Views:
43
Hi Marc,

The DataColumn.DataType would indicate that it was a decimal datatype, but AFAIK, there is no specification for number of decimal places in a decimal datatype. That's pretty much a display thing, so there are various things you can do to specify how you want it formatted when you display it.

http://msdn.microsoft.com/en-us/library/system.decimal.aspx

~~Bonnie




>In Access you can define a field "currency", give it a "Fxied" format and "Decimal Places".
>
>In DAO you would retrieve the "Decimal Places" as Properties("DecimalPlaces") of the ad hoc Field of the ad hoc TableDefinition.
>
>Anybody any idea where they would hide that in (vb).net (I would expect DataColumn, but I cannot find anything).
>
>Thanks and kind regards,
>
>Marc
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform