/// <summary> /// 绑定数据到表格 /// </summary> private void bindToDataGrid() { if (string.IsNullOrEmpty(_patientID)) { return; } childpughTable = DataOperator.GetDataChildPugh(_patientID, _visitID, _deptID); patientScore = DataOperator.GetPatientScoringResultDt(_patientID, _visitID, _deptID, "child-pugh"); dgvChildpugh.AutoGenerateColumns = false; dgvChildpugh.DataSource = patientScore; RefreshGraph(); }