Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom data access class - IDataAdapter.SelectCommand
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00950319
Message ID:
00950578
Vues:
16
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform