Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom data access class - IDataAdapter.SelectCommand
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00950319
Message ID:
00950578
Views:
15
>public DataSet GetVendors()
>{
>    // Pass whatever parameters you need here, or call FillDataSet 
>    // if you have an existing ds you want to fill
>    return this.GetDataSet(); 
>}
I should have stated more clearly that I'm using a typed dataset (you can see it in my code, but I didn't mention it explictly).

That's why I'm working so hard to use FillDataSet. I'm still stuck on the fact that there is no overload for FillDataSet that just takes one dataset parameter.

In addition to the dataset, FillDataSet also wants an IDbCommand or string (SQL statement), which is what seems redundant, given that the SqlDataAdapter in my custom data access class already has the IDbCommand and TableMappings it needs (in the SelectCommand member) to fill the dataset.

Ric
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform