Populating listbox control and textbox control from database

Jul 23 2013 10:55 PM
i have a table customer in sql server  database which have three columns "id", "address", "vatno'. and in UI  i have a comboBox control,a ListBox control and a TextBox control. I want when a user select "id" column from comboBox control  the corresponding "address" column will populate the listBox control and "VatNo' no field will Populate the Textbox control. 

please help me.   

Answers (1)