Filling a Drop Down List Properly

a02227

Member
Joined
Nov 30, 2004
Messages
15
Location
Ireland
Programming Experience
Beginner
I have a Drop Down List Being filled by a table in a database however it only seems to be filling the box with on field in the box i.e. putting individual letters of the first field all the way down the box does anyone know whats wrong?

Heres the code i'm filling the box with: -

OleDbDataAdapter1.fill(DataSet11.Location)
DropDownList1.DataBind
DropDownList1.DataSource = DataSet11.Location()
DropDownList1.DataMember = "Location"

Can anyone help me with this, i'm sure its probably something simple
 
Top Bottom