public void LoadInsuranceIssuerCode() { try { DataTable dt = XMLBo.GetInsuranceIssuer(path); ddlPolicyIssuer.DataSource = dt; ddlPolicyIssuer.DataTextField = dt.Columns["InsuranceIsserName"].ToString(); ddlPolicyIssuer.DataValueField = dt.Columns["InsuranceIssuerCode"].ToString(); ddlPolicyIssuer.DataBind(); ddlPolicyIssuer.Items.Insert(0, new ListItem("Select", "Select")); } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "PortfolioInsuranceEntry.ascx:LoadInsuranceIssuerCode()"); object[] objects = new object[1]; objects[0] = path; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }