NigelRocks
asked on
Datasource and DropDownList
Experts,
I'm attempting to populate a DropDownList box on a web form using a table that I've dragged onto the form.
Having dragged the table onto the form, I get a grid that is attached to the table as its datasource. I guess this is normal, but I delete the grid because I don't need it. I go into the properties of the data sourcer and give it a name. I then go into the "DataSourceID" property of the DropDownList and choose the data source I just named.
Everything runs, but all I get in the dropdown is "System.Data.DataRowView" over and over. Why is it not showing my records?
I'm attempting to populate a DropDownList box on a web form using a table that I've dragged onto the form.
Having dragged the table onto the form, I get a grid that is attached to the table as its datasource. I guess this is normal, but I delete the grid because I don't need it. I go into the properties of the data sourcer and give it a name. I then go into the "DataSourceID" property of the DropDownList and choose the data source I just named.
Everything runs, but all I get in the dropdown is "System.Data.DataRowView" over and over. Why is it not showing my records?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER