Exemplo n.º 1
0
        private void CreateYearList()
        {
            List <Year> years = new List <Year>();

            years = GlobFuncs.GetYearList();
            YearDdl.DataSource     = years;
            YearDdl.DataTextField  = "year";
            YearDdl.DataValueField = "value";
            YearDdl.DataBind();
        }