P
Paul
Hi
I have a datasource with 1 table, 100 rows, 1 column. I'm trying to
populate the drowndown list with the contents of the datasource,
dd_phys.DataSource = da.ds_phys.Tables("Physical_Office").Rows
dd_phys.DataBind()
but this populates my dropdown list with 100 "SYSTEM.DATA.DATAROW"
I can do the same thing using ths code
For loopy = 0 To da.ds_phys.Tables("Physical_Office").Rows.Count - 1
dd_phys.Items.Add(da.ds_phys.Tables("Physical_Office").Rows(loopy).Item(0))
Next
But I would prefer to get the datasource and databind to work.
Any suggestions?
I have a datasource with 1 table, 100 rows, 1 column. I'm trying to
populate the drowndown list with the contents of the datasource,
dd_phys.DataSource = da.ds_phys.Tables("Physical_Office").Rows
dd_phys.DataBind()
but this populates my dropdown list with 100 "SYSTEM.DATA.DATAROW"
I can do the same thing using ths code
For loopy = 0 To da.ds_phys.Tables("Physical_Office").Rows.Count - 1
dd_phys.Items.Add(da.ds_phys.Tables("Physical_Office").Rows(loopy).Item(0))
Next
But I would prefer to get the datasource and databind to work.
Any suggestions?