Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Have a dropdown box display Field names
Message
From
17/03/2004 20:44:34
 
 
To
17/03/2004 16:05:34
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00885766
Message ID:
00887361
Views:
26
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()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform