Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating DataSet class for XML file
Message
 
 
À
13/10/2013 22:22:49
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01585409
Message ID:
01585430
Vues:
37
>>I am in the process of converting WinForms project into ASP.NET Web Forms. The code of WinForms project was created by off-shore developer who stopped communicating. So I have no help there. Good thing I have the WinForms project code but too bad I don’t understand a lot.
>>
>>So the first thing I am trying to understand is what VS/.NET tool he had used to create a DataSet that is used to be populated from XML file.
>>
>>Here is the segment of the code:
>>
>>
>>//Instantiate dataset for data files list.
>> dstDataFiles = new DataFilesDataSet();
>>
>>
>>I found in the WinForms solution the file DataFilesDataSet.Designer.cs where the class DataFilesDataSet is defined. The line of code that defines the class is:
>>
>>
>>public partial class DataFilesDataSet : global::System.Data.DataSet {
>>
>>
>>The top of the DataFilesDataset.Designer.cs says that
>>
>><auto-generated>
>>//     This code was generated by a tool.
>>
>>
>>So I am trying to figure how do I create the DataFilesDataset.Designer.cs in my ASP.NET Web Forms project.
>>
>>TIA for any help.
>
>Dimitry
>
>Can you show us the contents of a sample .xml file ?
>I create .xml files that are later used to create datasets, but I need more clues to be of any help here.

Thank you, Bill. I think the task that I am trying to learn to do should be independent of the XML structures. Basically if I learn to do it with a very simple XML I can apply the same approach to more complicated XML.
"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
Répondre
Fil
Voir

Click here to load this message in the networking platform