Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a column in a dataset with decimal
Message
 
To
22/05/2013 19:25:19
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01574528
Message ID:
01574565
Views:
31
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform