C
Chubbly Geezer
Its a really simple and common thing, but I just dont know how to make it
work!
I'm creating a web form in VS 2003 using C#, and I need to create a
dropdownlist (ddl) that is bound to records in a database. I've created the
ddl and have also used the drag and drop wizards to create an
oleDbConnection to an Access database. also a oleDbDataAdapter, and from
this have generated a dataset (also visible on the designer form). I've
tested the dataset and the preview displays all my data correctly.
In the properties of the ddl I then set the 'DataSourse', DataValueField'
and DataTextField to link the ddl with the newly generated datasaet. In the
designer view, the ddl now has 'DataBound' written within it. It seems that
this is still not sufficient to actually get the ddl to populate with data.
Any help would be appreciated.
work!
I'm creating a web form in VS 2003 using C#, and I need to create a
dropdownlist (ddl) that is bound to records in a database. I've created the
ddl and have also used the drag and drop wizards to create an
oleDbConnection to an Access database. also a oleDbDataAdapter, and from
this have generated a dataset (also visible on the designer form). I've
tested the dataset and the preview displays all my data correctly.
In the properties of the ddl I then set the 'DataSourse', DataValueField'
and DataTextField to link the ddl with the newly generated datasaet. In the
designer view, the ddl now has 'DataBound' written within it. It seems that
this is still not sufficient to actually get the ddl to populate with data.
Any help would be appreciated.