public void BindGrid() { 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()); } try { ArrayList objAL = new ArrayList(); objAL.Add(ddlProcedureCode.SelectedValue.ToString()); objAL.Add(extddlSpeciality.Text); objAL.Add(txtCompanyID.Text); objAL.Add(extddlLocation.Text); _reportBO = new Bill_Sys_ReportBO(); grdMissingProcedure.DataSource = _reportBO.Get_Missing_Procedure_Report(objAL); grdMissingProcedure.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()); } }