private void GetProcedureCode(string p_szDoctorID) { string id = string.Format("Id: {0} Uri: {1}", Guid.NewGuid(), HttpContext.Current.Request.Url); using (Utils utility = new Utils()) { utility.MethodStart(id, System.Reflection.MethodBase.GetCurrentMethod()); } Bill_Sys_Calender billSysCalender = new Bill_Sys_Calender(); try { this.lstProcedureCode.Items.Clear(); this.lstProcedureCode.DataSource = billSysCalender.GetReferringDoctorProcedureCodeList(((Bill_Sys_BillingCompanyObject)this.Session["BILLING_COMPANY_OBJECT"]).SZ_COMPANY_ID, p_szDoctorID); this.lstProcedureCode.DataTextField = "DESCRIPTION"; this.lstProcedureCode.DataValueField = "CODE"; this.lstProcedureCode.DataBind(); } catch (Exception ex) { Elmah.ErrorSignal.FromCurrentContext().Raise(ex); using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } string str2 = "Error Request=" + id + ".Please share with Technical support."; base.Response.Redirect("Bill_Sys_ErrorPage.aspx?ErrMsg=" + str2); } //Method End using (Utils utility = new Utils()) { utility.MethodEnd(id, System.Reflection.MethodBase.GetCurrentMethod()); } }