Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding column to dataset .xsd file
Message
De
06/12/2013 04:01:05
 
 
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:
01589407
Vues:
40
>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.

In the designer :
Right click on the table choose Add/Column.
Enter the name
Right click on the column - Choose Properties.
Set data type etc as required

Or you could do it the hard(er) way : Right click the xsd file in Solution Explroer , Choose Open With /XML (Text) editor and create your own there :-}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform