Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fields names
Message
De
16/12/2005 12:29:59
 
 
À
16/12/2005 12:20:50
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Versions des environnements
OS:
Windows Server 2003
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01078719
Message ID:
01078724
Vues:
9
Daniel,

Do you just want column names? Use the Columns collection of the DataTable:
string ColumnName;
foreach (DataColumn dc in MyDataSet.Tables["MyTable"].Columns)
{
    ColumnName = dc.ColumnName;
    MessageBox.Show(ColumnName);
}
~~Bonnie




>hello
>
>how i make to obtain de name fields with dataset. thank'u
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