Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reusing Of Dataset
Message
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00718363
Message ID:
00718818
Views:
10
>If I want to reuse a dataset in another form, does require creating the data adapters?
>if not, how to retrieve data?

Create a data access component.

MyComponent da = new MyComponent();
DataSet ds = da.GetData();

The GetData method will instantiate a data adapter. Just use the component wherever you need it.
Previous
Reply
Map
View

Click here to load this message in the networking platform