Esempio n. 1
0
        public void DateLoad()
        {
            SysMenuModel model = new SysMenuModel();

            model.ParentID = "0";
            List <SysMenuModel> MenuList = SMBll.GetMenuList(model);

            TopMenu.DataSource = MenuList;
            TopMenu.DataBind();
        }
Esempio n. 2
0
    public void UstMenu()
    {
        //Üst Menü Listeleme
        var q = from a in dcx.Menus select a;

        TopMenu.DataSource     = q;
        TopMenu.DataTextField  = "Title";
        TopMenu.DataValueField = "ID";
        TopMenu.DataBind();
    }
Esempio n. 3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     TopMenu.DataBind();
     ShowHideLinks();
 }