private void btnDelete_Click(object sender, EventArgs e) { if (!ck) { wnDm wDm = new wnDm(); int rsNum = wDm.deleteSoo( dtp_date_soo.Text.ToString() , lbl_cd.Text.ToString() , txt_cust_cd.Text.ToString() , txt_total_amt_Temp.Text.ToString() , txt_soo_temp.Text.ToString() , txt_dc_temp.Text.ToString() ); if (rsNum == 0) { reSetting(); MessageBox.Show("성공적으로 삭제하였습니다."); } else if (rsNum == 1) { MessageBox.Show("삭제에 실패하였습니다"); } else { MessageBox.Show("Exception 에러"); } } grd_soo.Rows.Clear(); grdSooLoad(); reSetting(); }