Exemplo n.º 1
0
        public DataTable GetData_Page(string RoleName, int PageSize, int CurrPage, string TableName, string UniqueField, string Where, string OrderBy, out int TotalNum)
        {
            DBOperate DBDrop = new Microsoft.Practices.EnterpriseLibrary.Data.DBOperate();

            DBDrop.ConnectionStringName = "Frame_ConnectionString";

            DataTable myDt;


            myDt = DBDrop.GetData_Page(
                RoleName,
                PageSize,
                CurrPage,
                TableName,
                UniqueField,
                Where,
                OrderBy,
                out TotalNum
                );

            return(myDt);
        }
Exemplo n.º 2
0
        public DataTable GetData_Page(string RoleName, int PageSize, int CurrPage, string TableName, string UniqueField, string Where, string OrderBy, out int TotalNum)
        {
            DBOperate DBDrop = new Microsoft.Practices.EnterpriseLibrary.Data.DBOperate();

            DBDrop.ConnectionStringName = "Frame_ConnectionString";

            DataTable myDt;

            myDt = DBDrop.GetData_Page(
                RoleName,
                PageSize,
                CurrPage,
                TableName,
                UniqueField,
                Where,
                OrderBy,
                out TotalNum
                );

            return myDt;
        }