App_Code/Iface/Product.cs

(开头部分) 19KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using Wuqi.Webdiyer;
using SystemDAL;
/// <summary>
/// Product 的摘要说明
/// </summary>
/// 

public interface IProduct222
{
    //前台
    SqlDataReader GetProduct();//定、义读取表中的数据前台
    SqlDataReader GetProductNew();//Product 前台


    SqlDataReader GetProductMsgByID(int nProductID);//Product_view 前台、后台
    int CountProductBySortID(int nSortID);//Product_more翻页aspnetpage总数
    DataSet GetProductMsgBySortID(AspNetPager AspNetPager1, int nSortID);//aspnetpager翻页带传递的参数

    //后台
    int AddProduct(int nSortID, string sProductName, string sProductName_en, string sProductImg, string sProductSmallImg, string sProductcontent, string sProductcontent_en);//添加产品
    int DeleteProduct(int nProductID);//delete
    int UpdateProductAdmin(int nProductID, bool bIsAdmin);//update
    DataSet GetProductMsg1(AspNetPager AspNetPager1);//两表联合绑定数据
    int UpDateProduct(int nProductID, string sSortID, string sProductName, string sProductName_en, string sProductImg, string sProductSmallImg, string sProductcontent, string sProductcontent_en);//修改
    DataSet GetProductMsgBySortID(AspNetPager AspNetPager1, string SearchStr);//搜索aspnetpager翻页带传递的参数
    int CountProductBySortName(string p_name);//搜索
   // SqlDataReader GetProductSearch(string SearchName);//后台信息搜索
    SqlDataReader GetProductSearch2(string SearchName);//后台信息搜索产品类型

    int CountProductSearch(string ProductSearchName, string ProductSearchBy_SortID, string SearchAll);
    DataSet GetProductMsgSearch(AspNetPager AspNetPager1, string ProductSearchName, string ProductSearchBy_SortID, string SearchAll);//aspnetpager //
    
    DataSet GetProductMsgAll(AspNetPager AspNetPager1);//后台 绑定所有
    int CountProductAll();//后台 绑定所有
    void open();
}

public class Product222 : IProduct222
{
    public static SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["CONNECTIONSTRING"].ConnectionString);
    public void open()
    {
        if (conn.State == ConnectionState.Closed)
            conn.Open();
    }
    #region 后台 绑定所有
    //后台 绑定所有
    public int CountProductAll()//用来统计新闻数,应用于aspnetpage
    {
       
后面还有 493 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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