private void btn_CreateID_Click(object sender, EventArgs e) { DataAccessClass dac = new DataAccessClass(); Boolean st = dac.UserPassCheck(txt_main_Pass.Text); if (st) { dac.DeleteUserId(txt_main_Pass.Text); dac.InsertNewUserId(txt_Username.Text, txt_Password.Text); MessageBox.Show("UserID Changed!!", "Congratzz!!", MessageBoxButtons.OK); } }