Пример #1
0
    public void ViewMenuLinks(int _menulinkID)
    {
        MenuLinksBSO menuLinksBSO = new MenuLinksBSO();
        DataTable    table        = menuLinksBSO.getCateClient(_menulinkID, Language.language);

        grvMenuLink.DataSource = table;
        grvMenuLink.DataBind();
    }
Пример #2
0
    protected void BindDropDownList()
    {
        MenuLinksBSO menuLinksBSO = new MenuLinksBSO();
        //  DataTable table = menuLinksBSO.GetAllMenuLinks();
        DataTable table     = menuLinksBSO.getCateClient(0, Language.language);
        commonBSO commonBSO = new commonBSO();

        ddlMenuLinks.Items.Clear();
        commonBSO.FillToDropDown(ddlMenuLinks, table, "~ Cấp độ menuLinks ~", "0", "MenuLinksName", "MenuLinksID", "");
    }
    protected void Bind_Gallary()
    {
        MenuLinksBSO _menulinkBSO = new MenuLinksBSO();
        DataTable    table        = _menulinkBSO.getCateClient(0, Language.language);

        lboGallary.DataSource     = table;
        lboGallary.DataTextField  = "MenuLinksName";
        lboGallary.DataValueField = "Position";
        lboGallary.DataBind();
    }