G Guest Oct 28, 2004 #1 I have a combo box that I want to populate from a SELECT query How to do this?
T Tarakeshwar L Oct 28, 2004 #2 Hi Raj, You can read the data into a datareader or a dataset and then read each element and do combobox.items.add() or u could get ur items into a arraylist and set the combobox.datasource as arraylist. cboSearchBy.DataSource = arrlistComboData; -- Tarkeshwar ..Net Programmer Fifth Generation Technologies raj said: I have a combo box that I want to populate from a SELECT query How to do Click to expand... this?
Hi Raj, You can read the data into a datareader or a dataset and then read each element and do combobox.items.add() or u could get ur items into a arraylist and set the combobox.datasource as arraylist. cboSearchBy.DataSource = arrlistComboData; -- Tarkeshwar ..Net Programmer Fifth Generation Technologies raj said: I have a combo box that I want to populate from a SELECT query How to do Click to expand... this?