Esempio n. 1
0
 private void bt_delete_Click(object sender, EventArgs e)
 {
     if (str_tjlx == "")
     {
         return;
     }
     if (dgv_zdjy.CurrentRow != null)
     {
         if (DialogResult.Yes == MessageBox.Show("是否真的删除?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1))
         {
             string str_bh = dgv_zdjy.CurrentRow.Cells["bh"].Value.ToString().Trim();
             ywszbiz.Delete_TJ_SUGGESTION(str_bh, str_tjlx, str_lclx);
             dgv_zdjy.Rows.Remove(dgv_zdjy.CurrentRow);
         }
     }
 }