예제 #1
0
    private void BindList(int curPage)
    {
        #region    //数据权限条件

        #endregion

        //配置范围权限
        SetConditionByRequest(condObj);

        List <Relation> relations = new List <Relation>();
        if (!string.IsNullOrEmpty(ModuleName))
        {
            //测试用
            List <ITableImplement> otherValueList; List <Relation> relationList;
            valObj.GetModule(out otherValueList, out relationList);

            listObj = BLLTable <ITableImplement> .Factory(conn).SelectByPage(valObj, relations, null,
                                                                             condObj, aspPager.PageSize, curPage, ref recount);

            BLLTable.SQL_Test.ToString();
        }

        aspPager.RecordCount = recount;
    }