private void BindExceptionType() { bool isISA; RMVo rmVo = new RMVo(); rmVo = (RMVo)Session[SessionContents.RmVo]; int bmID = rmVo.RMId; try { isISA = advisorVo.IsISASubscribed; CustomerBo customerBo = new CustomerBo(); DataSet ds = customerBo.GetExceptionType(isISA); if (ds != null) { ddlExpType.DataSource = ds; ddlExpType.DataValueField = ds.Tables[0].Columns["WDEM_Code"].ToString(); ddlExpType.DataTextField = ds.Tables[0].Columns["WDEM_Name"].ToString(); ddlExpType.DataBind(); } } catch (BaseApplicationException Ex) { throw Ex; } catch (Exception Ex) { BaseApplicationException exBase = new BaseApplicationException(Ex.Message, Ex); NameValueCollection FunctionInfo = new NameValueCollection(); FunctionInfo.Add("Method", "RMAMCSchemewiseMIS.ascx:BindBranchDropDown()"); object[] objects = new object[4]; FunctionInfo = exBase.AddObject(FunctionInfo, objects); exBase.AdditionalInformation = FunctionInfo; ExceptionManager.Publish(exBase); throw exBase; } }