Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Specifying the table name
Message
De
31/01/2006 17:17:17
 
 
À
31/01/2006 16:55:15
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Divers
Thread ID:
01092068
Message ID:
01092083
Vues:
14
>The Fill method only accepts a datatable and tablename in the derived classes (SqlDataAdapter, OleDbDataAdapter, etc..). Is oDataSet one of the derived classes?
>
>Also, to get the full metadata from the provider, call oDataAdapter.FillSchema before retrieving the data. This will give you column lengths, scale, precision, and constraints.

This is what I use now to change the table name:
            ' Adjust to our default name
            oDataSet.Tables("Table").TableName = "Temp"
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform