Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desperately looking for MS Access [decimal places]
Message
De
05/01/2011 20:08:20
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01494823
Message ID:
01494861
Vues:
44
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform