Stephen,
Are you saying you're trying to populate a ComboBox's values with the names of columns from a given DataTable?
If so, how about:
foreach (DataColumn dc in YourDataTable.Columns)
{
YourCombo.Items.Add(dc.ColumnName);
}
---J
>I need to populate a Global change form. I have datasets for the existing pages i have done. I was wondering if there was an easy way to populate a dropdown on the columns contained within a table?
>
>mydataset.Tables.Contains(1). isn't doing it. I'm sure is easy I'm just going about it the wrong way.
>
>TIA