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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only