Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding column to dataset .xsd file
Message
De
05/12/2013 20:25:53
 
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01589385
Message ID:
01589400
Vues:
29
>>>>>>>This is a newbie question. In my project I have a dataset file (MyDataSet.xsd, MyDataSet.Designer.cs, MyDataSet.cs). I need to add a couple of columns to this dataset. I double click on MyDataSet.xsd file in the VS Solution Explorer. I see the MYDATASET image with all the columns. I can right-mouse click and add a column. But how do I specify the type of the new column? In fact, I can't even figure out how to see the type of any of the existing columns.
>>>>>>>TIA.
>>>>>>
>>>>>>I've never used the GUI method to alter the .xsd file.
>>>>>>I wrote a program that creates the datatables , adds them to the dataset ds and then uses
>>>>>>
ds.WriteXmlSchema(filename);
>>>>>>to create the .xsd.
>>>>>
>>>>>Thank you. But since I already have this dataset in .xsd file there may be a way to modify it in GUI. Hopefully someone know how.
>>>>
>>>>Can you right click and hit properties?
>>>
>>>I tried but it showed me the Property for the entire dataset but not individual columns. Unless I am missing something simple.
>>
>>Is the dataset related to a table to which you have added the column?
>
>No. The dataset is related to an XML file from which the dataset is filled.

OK
I'm sorry I can't help you.
I think you'll find that most developers who use datasets day to day don't use the GUI.
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform