private void BindDropDowns() { // Protfolio Portfolio objPortfolio = new Portfolio(); ddPortfolio.DataSource = objPortfolio.GetPortfolio(); ddPortfolio.DataValueField = "PortfolioId"; ddPortfolio.DataTextField = "Name"; ddPortfolio.DataBind(); // Owner Owner objowner = new Owner(); ddowner.DataSource = objowner.GetOwner(); ddowner.DataValueField = "id"; ddowner.DataTextField = "owner"; ddowner.DataBind(); //MGR Mgr objmgr = new Mgr(); ddmgr.DataSource = objmgr.GetMgr(); ddmgr.DataValueField = "id"; ddmgr.DataTextField = "mgr"; ddmgr.DataBind(); //Unit //chkunit.DataSource = objunit.GetUnits(); //chkunit.DataValueField = "Unitid"; //chkunit.DataTextField = "title"; //chkunit.DataBind(); }