protected void BuildLabTests(int PatientID, string FormName, string FormType) { LabTestDa da = new LabTestDa(); DataSet ds = da.FormGetRecords(PatientID, FormName, FormType); if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0) { labTests.DataSource = ds.Tables[0].DefaultView; labTests.DataBind(); } }
protected void BuildQOLReportLabTests() { if (patientID != 0) { //Lab Tests LabTestDa da = new LabTestDa(); DataSet labTestsDs = da.FormGetRecords(this.patientID, "UroProsFU", "Dynamic"); if (labTestsDs.Tables.Count > 0 && labTestsDs.Tables[0].Rows.Count > 0) { labTests.DataSource = labTestsDs.Tables[0].DefaultView; labTests.DataBind(); LabTestHeaderNote.Visible = true; } else { NoLabTestMessage.Visible = true; } } }
override protected void BuildLabTests() { if (patientID != 0) { LabTestDa da = new LabTestDa(); DataSet ds = da.FormGetRecords(this.patientID, this._formName, "Dynamic"); if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0) { labTestsBlankTable.Visible = false; labTests.DataSource = ds.Tables[0].DefaultView; labTests.DataBind(); } else { labTestsPopulatedTable.Visible = false; } } else { labTestsPopulatedTable.Visible = false; } }
private DataSet GetLabTestDataSet(int PatientID, string formName, string formType) { LabTestDa da = new LabTestDa(); return(da.FormGetRecords(PatientID, formName, formType)); }