COMM/OperateDataBase.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.Web;
using System.Data.SqlClient;
using System.Data;
using Ftion;
using OpSql;
using ExeSql;
using conn;
namespace ERPOperateDataBase
{

    public class OperateDataBase
    {

        /// <summary>
        /// 分页供应商信息
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageCount"></param>
        /// <returns></returns>
        public static DataTable GetAllProviderInfo(int PageIndex, int PageSize, out int PageCount, out int RecordCount, string strWhere)
        {
            try
            {

                string strSql = "select FItemID,FName,FNumber from t_Supplier";
                string strShow = "FItemID,FName,FNumber";
                return ExeSql.SqlHelper.ExecutePager(PageIndex, PageSize, "FItemID", strShow, strSql, strWhere, " FItemID DESC ", out PageCount, out RecordCount);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。