I have a combo box in my windows application form. I have a table called menu-list in a MySQL database. When i click on the combo box i want the options to be the value of a particular row of the database table for example a row called wine has 2 values, for example red wine and white wine, so when i click on the combo box i want the options to be red wine and white wine
private void menustart_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'cmsDataSet.menulist' table. You can move, or remove it, as needed.
this.menulistTableAdapter.Fill(this.cmsDataSet.menulist);
}
I used the above code but it didnt work