private void BindPortfolioTypeDropDown() { dtPortfolioType = XMLBo.GetPortfolioType(path); ddlPortfolioType.DataSource = dtPortfolioType; ddlPortfolioType.DataTextField = "PortfolioType"; ddlPortfolioType.DataValueField = "PortfolioTypeCode"; ddlPortfolioType.DataBind(); ddlPortfolioType.Items.Insert(0, new ListItem("Select Portfolio Type", "Select Portfolio Type")); }
private DataTable BindPortfolioType(string path) { return(XMLBo.GetPortfolioType(path)); }