Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating DataSet class for XML file
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01585409
Message ID:
01585428
Views:
23
>>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.
>
>As Gregory says - it's a DataSet. But it occurs to me that if the WinForms solution was structured with separate data and UI tiers you might be able to simply re-use the data layer 'as is' without re-writing ?

I don't think that the WinForms project was structured as separate data and UI tiers (although I don't know for sure). But I will look into the files of the project to see if it is so.
Thank you.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform