Hi all,
how to populate a drop down list control (.aspx page)
with a database field.
pls help urgent.
rgds,
edna
Printable View
Hi all,
how to populate a drop down list control (.aspx page)
with a database field.
pls help urgent.
rgds,
edna
Protected WithEvents MyDropDownList As System.Web.UI.WebControls.DropDownList
Protected WithEvents MyDataSet As MyDataSet
Dim MyComponant As Component = New Component()
MyComponant.MyDataAdapter.Fill(MyDataSet)
MyDropDownList.DataBind()
ps. This is assuming you have created;
a componant within you application,
a dataadapter within your componant
and a dataset that relates to your dataadapter