Loading Table into aspxcombobox
-
hi how do i load table information into aspxcombobox ?
-
hi how do i load table information into aspxcombobox ?
zizigolo110 wrote:
how do i load table information into aspxcombobox ?
You need to load data into data source from table. Set the Combobox
data source
anddata value
properties. It seems you have joined code project today ! so first of all welcome to Code Project !:rose: Please read forum guide line before ask any question over here. Thanks ! All the best !Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
hi how do i load table information into aspxcombobox ?
zizigolo110 wrote:
how do i load table information into aspxcombobox ?
As AJ Suggests Try to Extract the data into DataSource.You Add The DataSource By the following Way
DropDown1.DataSource = YourDataSource; DropDown1.DataTextField = "Name"; DropDown1.DataValueField = "Id"; DropDown1.DataBind(); DropDown1.Items.Insert(0, "Select");
Welcome To Code Project:rose:
MyFirstArticle MenuControlSelectedItem Why Do Some People Forget To Mark as Answer .If It Helps.