Esempio n. 1
0
        private void FoodTableBind()
        {
            foodsList     = new List <Food>();
            unitsWithKcal = new Dictionary <string, int>();

            lbDostupneJedinice.DataSource     = measuringUnitsList = SQLProcedures.GetMeasuringUnits();
            lbDostupneJedinice.DataTextField  = "Name";
            lbDostupneJedinice.DataValueField = "IDMeasuringUnit";
            lbDostupneJedinice.DataBind();
        }