Пример #1
0
 //新增参数
 private void btnAddParam_Click(object sender, EventArgs e)
 {
     if (_procedureParams != null && _procedureParams.Rows.Count > 0)
     {
         FrmAddParameter frmadd = new FrmAddParameter(_procedureParams);
         frmadd.isAdd = true;
         frmadd.ShowDialog();
         LoadParam();
     }
 }
Пример #2
0
 //删除参数
 private void button4_Click(object sender, EventArgs e)
 {
     if (_currentParam != null)
     {
         _currentParam.REPORT_ID = _currentReport.REPORT_ID;
         FrmAddParameter frmadd = new FrmAddParameter(_currentParam);
         frmadd.isAdd = false;
         frmadd.ShowDialog();
         LoadParam();
     }
 }