private void bindRoleList(RoleManagerBLL bll, int pageIndex, int pageSize)
    {
        int total;

        GridView1.DataSource = bll.GetRoleList(pageIndex, pageSize, out total);
        GridView1.DataBind();

        Navigation1.DataBind(pageIndex, pageSize, total);
    }
    private void bindList(int pageIndex, int pageSize)
    {
        var loginedUser = PageUtility.User;

        int total;

        GridView1.DataSource = _cookbookBLL.GetCookbookList(string.Empty, loginedUser.OrganizationId, "order by DisplayOrder Desc", pageIndex, pageSize, out total);
        GridView1.DataBind();

        Navigation1.DataBind(pageIndex, pageSize, total);
    }
    private void BindList(int pageIndex, int pageSize)
    {
        var loginedUser = PageUtility.User;

        int total;

        gdCookbookDate.DataSource = _cookbookBLL.GetCookbookSetInDateList(null, null, loginedUser.OrganizationId, null, pageIndex, pageSize, out total);
        gdCookbookDate.DataBind();

        Navigation1.DataBind(pageIndex, pageSize, total);
    }
    private void BindUseList(UserManagerBLL bll, int pageIndex, int pageSize)
    {
        bool?isAdmin = null;

        if (rbtnViewAdmin.Checked)
        {
            isAdmin = true;
        }
        else if (rbtnViewMember.Checked)
        {
            isAdmin = false;
        }

        int total;

        GridView1.DataSource = bll.GetUserList(string.Empty, false, isAdmin, null, pageIndex, pageSize, out total);
        GridView1.DataBind();

        Navigation1.DataBind(pageIndex, pageSize, total);
    }