I have 2 queries. One is populating a dataset that populates the dropdownlist and the other populates rest of the textboxes of a table row. i want to know how can i fill the entire dropdownlist and then make selectedvalue the value from the other query?
e.g -
dataset query = select hobby from hobbies
other query - select name, dob, address, hobby from employee
now the table looks like this -
Name DOB Address Hobby
Sam 01/10/1988 111 main st Dropdownlist(n number of records)
Now in the dropdownlist I want all the hobbies populated with the hobby in the employee table to be the selected value.