private void CreateYearList() { List <Year> years = new List <Year>(); years = GlobFuncs.GetYearList(); YearDdl.DataSource = years; YearDdl.DataTextField = "year"; YearDdl.DataValueField = "value"; YearDdl.DataBind(); }
private void CreateYearList() { List <Year> years = new List <Year>(); years = GlobFuncs.GetYearList(); YearDdl.DataSource = years; YearDdl.DataTextField = "year"; YearDdl.DataValueField = "value"; YearDdl.DataBind(); }