Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filling tables in a dataset
Message
De
18/05/2006 12:49:44
 
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01123034
Message ID:
01123287
Vues:
25
>>A Stored Proc will always return your tables with the names: table, Table1, Table2, etc. Typically you are not going to want to reference the tables that way in your DataSet. There are two ways around this problem.
>
>Bonnie, thanks for the reply. Above you wrote: "table, Table1, Table2, etc." did you mean: "Table0, Table1, Table2, etc." or did you acctually mean Table without a number?

Table without a number. Experiment if you like ... retrieve a DataSet from a Stored Proc that has multiple tables, then write it out to an XML file and take a look at it. You'll see the table names.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform