Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fields names
Message
From
16/12/2005 12:29:59
 
 
To
16/12/2005 12:20:50
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Environment versions
OS:
Windows Server 2003
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01078719
Message ID:
01078724
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform