My friend:
First it depend what u r displaying & what u r valuing ur combo & also ur table
well, simply u can use - text of ur drop down as:
Code:
sqlcmd="select * from abc where xyz='dropdownlist1.SelectedText'"
& value of ur drop down as:
Code:
sqlcmd="select * from abc where xyz='dropdownlist1.SelectedValue'"
u may convert ur selected value as below if ur using not string for value
Code:
Convert.ToInt32(comboBoxOffice.SelectedValue)