Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Meta Data within a DataSet?
Message
De
11/08/2003 15:33:52
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00818331
Message ID:
00819110
Vues:
21
Anytime. Glad it worked.
---J

>Thanks Jason.
>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform