Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a column in a dataset with decimal
Message
 
À
22/05/2013 19:25:19
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01574528
Message ID:
01574565
Vues:
30
You think of decimals as a format, rather than as an property of the data. Took some time to sink in for me. :)



>>No, the datable doesn't contain the precision information.
>>Here's what a decimal column in a typed dataset looks like in the xml file:
>>
>>
>><xs:element name="tqty" type="xs:decimal" minOccurs="0" />
>>
>>As you see, there in no way to store the precision. Similarly, there is no way to store the size of a string.
>
>The size of a string can be stored. It is the only type which supports the MaxLength property.
>
>Thanks for the information

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform