示例#1
0
        public void DateLoad()
        {
            SysMenuModel model = new SysMenuModel();

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

            TopMenu.DataSource = MenuList;
            TopMenu.DataBind();
        }
示例#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();
    }
示例#3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     TopMenu.DataBind();
     ShowHideLinks();
 }