private void bunifuThinButton21_Click(object sender, EventArgs e) { //panel1.Show(); int status = 0; if (radioButton1.Checked == true) { status = 1; } if (radioButton6.Checked == true) { status = 6; } if (radioButton2.Checked == true) { status = 2; } if (radioButton3.Checked == true) { status = 3; } if (radioButton4.Checked == true) { status = 4; } if (radioButton5.Checked == true) { status = 5; } string result = emp.setStatus(E_Id, status); MessageBox.Show(result); // MessageBox.Show(E_Id.ToString()); }