Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing type of column in DataSet
Message
From
25/05/2004 16:55:55
 
 
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:
00907109
Views:
12
Jerry,

Have you tried simply changing the DataType to string?
MyDataSet.Tables["MyTable"].Columns["MyColumn"].DataType = typeof(string);
I don't know if this works or not, but it's the first thing that I would try.

~~Bonnie


>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
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform