assign value to combobox?
then now i read the data from database, the data is either buy and sell also, how can i assign the data to the combobox....for example the data now is buy, how can the combobox show buy now?
something like if i read a data from database and assign the data to the textbox, i would write
SqlDataReader myReader;
myReader = cmd3.ExecuteReader();
if (myReader.Read())
{
txtunit.Text=myReader["P_UNITS"].ToString(); //textbox
}
But, now, how am i going to write, if i want to assign the value read from database to a combobox?

