Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing type of column in DataSet
Message
 
To
25/05/2004 16:24:24
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00907101
Message ID:
00907121
Views:
11
I don't think you can change the type once the column has been defined.

What are you using to create your dataset? If you are using a SQL Select, you can cast the value to string directly in the SQL select so that column in the dataset is created as a string column instead of a decimal one.



>I have a DataSet that contains a column with a System.Decimal field type.
>
>Is there a way to convert this column to a string type so the field can store strings?
>
>Thanks,
>
>Jerry
Hector Correa
Previous
Reply
Map
View

Click here to load this message in the networking platform