Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie ? on creating Dataset in VS 2005
Message
From
26/07/2006 17:58:33
 
General information
Forum:
ASP.NET
Category:
ADO.NET
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01139720
Message ID:
01140492
Views:
16
Right. Try it, you'll like it. <g>

~~Bonnie



>>Dmitry,
>>
>>Yes, you'd instantiate your DataSet just like any other class:
>>
>>Dataset1 Mydataset = new Dataset1();
>>
>>But, as far as adding tables, you don't need to do that programmatically, you'd have that already defined in the .xsd. You certainly can add tables on the fly if you want to, but they wouldn't be "typed" and you wouldn't have any Intellisense for the programmatically added tables.
>>
>>Does this help?
>
>Of course. Thank you. You are saying that since I added the table(s) in the desinger and they are referenced in the .xsd file, I can reference them in my code as :
>
>
>MyDataset.MyTable
>
>
>right?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform