Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing typed data set column type
Message
From
31/01/2010 13:56:02
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01446666
Message ID:
01446729
Views:
18
It's not so much changes to the designer-generated class that I object to, it's that the .xsd *itself* gets changed to include a lot of unnecessary (IMHO) stuff. That's what sucks.

~~Bonnie


>>>UPDATE: I have learned that I can just open the data set in designer and change the type of the column to Boolean. So this should do the job.
>>
>>That'll work as long as you open the DataSet with the XML view, not the designer view (with the little boxes that represent the tables). If you open in the designer view, make a change, then save, a whole bunch of extra junk gets put in your .xsd ... really clutters it up. If it's already cluttered up with that extra junk, then I guess it doesn't matter. But, I prefer clean, un-cluttered .xsd's, so I always make changes to the XML itself.
>>
>
>I actually used the designer when changing the type. I have not looked inside the DataSet class to see what type of "clutter" is added in this case (not that I would recognize it). So what I will do is delete this typed data set class and recreated it again from an XSD file.
>
>Thank you for your suggestion.
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform