Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing typed data set column type
Message
 
 
À
31/01/2010 13:02:25
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01446666
Message ID:
01446725
Vues:
20
>>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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform