protected virtual void BuildKidneyDiseaseState(int PatientID, string FormName, string FormType) { StatusDa sDa = new StatusDa(); DataSet sDs = sDa.GetStatus(PatientID, "Kidney"); if (sDs.Tables.Count > 0 && sDs.Tables[0].Rows.Count > 0) { StatusRpt.DataSource = sDs.Tables[0].DefaultView; StatusRpt.DataBind(); } }
protected virtual void BuildStatus(int patientId, string PatientStatus) { StatusDa Da = new StatusDa(); DataSet Ds = Da.GetStatus(patientId, PatientStatus); if (Ds.Tables.Count > 0 && Ds.Tables[0].Rows.Count > 0) { StatusRpt.DataSource = Ds.Tables[0].DefaultView; StatusRpt.DataBind(); } }
protected virtual void BuildDiseaseStateForDisease(int PatientID, string Disease) { StatusDa sDa = new StatusDa(); DataSet sDs = sDa.GetStatus(PatientID, Disease); if (sDs.Tables.Count > 0 && sDs.Tables[0].Rows.Count > 0) { if (StatusMsg != null) { StatusMsg.Visible = false; } StatusRpt.DataSource = sDs.Tables[0].DefaultView; StatusRpt.DataBind(); } }