Пример #1
0
        private void GetAdminMenus()
        {
            List <AdminMenu> adminMenus = GenericBS <AdminMenu> .GetAll();

            // List<AdminMenu> adminMenus = GenericBS<AdminMenu>.GetListByCriteria(x=>x.IsActive == true);
            ControlBinder.BindRepeater(rptAdminMenus, adminMenus);
            ControlBinder.BindDropdownList(ddlTopMenu, adminMenus, "Name", "Id");
            ControlBinder.BindDropdownList(ddlTopMenuUpdate, adminMenus, "Name", "Id");
        }
        private void GetAdminUser()
        {
            List <AdminUser> adminUser = GenericBS <AdminUser> .GetAll();

            ControlBinder.BindRepeater(rptAdminUser, adminUser);
        }
        public void GetBlogEntry()
        {
            List <BlogEntry> blogentry = GenericBS <BlogEntry> .GetAll();

            ControlBinder.BindRepeater(rptArticle, blogentry);
        }