protected virtual void BuildHpiProstatectomies(int PatientID, string FormName, string FormType) { ProstatectomyDa prostatectomiesDa = new ProstatectomyDa(); DataSet prostatectomiesDs = prostatectomiesDa.FormGetRecord(PatientID, FormName, FormType); if (prostatectomiesDs.Tables.Count > 0 && prostatectomiesDs.Tables[0].Rows.Count > 0) { HpiProstatectomies.DataSource = prostatectomiesDs.Tables[0].DefaultView; HpiProstatectomies.DataBind(); } }
protected virtual void BuildHPINerveStatus() { ProstatectomyDa pDa = new ProstatectomyDa(); Hashtable ht = pDa.FormGetNerveStatus(this._patientId, this._eformName, "Dynamic"); NvbRightTr.Visible = false; NvbLeftTr.Visible = false; if (ht["NVB_Left"] != null && ht["NVB_Left"].ToString() != "") { NVB_Left.Text = ht["NVB_Left"].ToString(); NvbLeftTr.Visible = true; } if (ht["NVB_Right"] != null && ht["NVB_Right"].ToString() != "") { NVB_Right.Text = ht["NVB_Right"].ToString(); NvbRightTr.Visible = true; } }