private void cmd_ReMov3_SelectedIndexChanged(object sender, EventArgs e) { DBconnection db = new DBconnection(); movno3 = db.takemovid(cmd_ReMov3.SelectedItem.ToString()); //MessageBox.Show(movno3.ToString()); }
private void cmd_ReMov2_SelectedIndexChanged(object sender, EventArgs e) { cmd_ReMov3.Enabled = true; DBconnection db = new DBconnection(); movno2 = db.takemovid(cmd_ReMov2.SelectedItem.ToString()); mov2 = cmd_ReMov2.SelectedItem.ToString(); //MessageBox.Show(movno2.ToString()); }