Link to home
Start Free TrialLog in
Avatar of NigelRocks
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?
SOLUTION
Avatar of nmarun
nmarun
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of NigelRocks
NigelRocks

ASKER

OK.  So it can't be done visually without writing any code?  I thought it could.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial