Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Have a dropdown box display Field names
Message
De
17/03/2004 20:44:34
 
 
À
17/03/2004 16:05:34
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00885766
Message ID:
00887361
Vues:
27
Here is a more complete code snippet of what I am doing... I doesn't have to be done this way. I'll do it any way that works. What I am trying to do is display a dropdown of fields to build a simplistic query builder on a page.

Dim lafldnames as new arraylist

For intColumn = 0 To dsGrid.Tables(0).Columns.Count - 1


lafldnames.Add(dsGrid.Tables(0).Columns(intColumn).ColumnName.ToString)
Next


DropDownList1.DataSource = Me.lafldnames
DropDownList1.DataBind()
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform