示例#1
0
 private void btnOk_Click(object sender, EventArgs e)
 {
     this.dataGridView1.DataSource = queryRepository.GetOperationList(this.dateTimePicker1.Value, this.dateTimePicker2.Value.AddDays(1), txtINP_NO.Text.Trim(),
                                                                      txtNAME.Text.Trim(), txtOPERATION_NAME.Text.Trim(), txtOPER_SACLE.Text.Trim(), Convert.ToString(mtxtSURGEON.Data) ?? "",
                                                                      Convert.ToString(mtxtOPER_DEPT.Data) ?? "", Convert.ToString(mtxtANES_DOCTOR.Data) ?? "", txtANES_METHOD.Text.Trim(), txtASA_GRADE.Text.Trim(),
                                                                      cmbEMERGENCY_IND.SelectedIndex - 1).Data; //急诊标志	;	急诊标志,0-择期 1-急诊 -1=全部
 }