EasyShop/siteAdmin/Goods/ProductCard.aspx.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OpSql;
using Ftion;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using conn;
using System.Linq;
using System.Text;
using System.Data.OleDb;
using MyModels;
using Common;
namespace EasyShop.siteAdmin.Goods
{
public partial class ProductCard : System.Web.UI.Page
{
public string jsString = "";
public string sltID = "";
public string sltUse = "";
public string sltNoUse = "";
protected void Page_Load(object sender, EventArgs e)
{
//Ftion.Function.CheckState();
int state = int.Parse(hideClassName.Value);
if (state == 0)
{
sltNoUse = "selected='selected'";
}
else if (state == 1)
{
sltUse = "selected='selected'";
}
if (!IsPostBack)
{
LoadData();
}
}
private void LoadData()
{
//StringBuilder strSql = new StringBuilder();
//strSql.Append("SELECT a.ID, ProductName,ClassName, Price, Case when State=1 then '<font style=\"color:green\">已审核</font>' else '<font style=\"color:#ff0000\">未审核</font>' end as State, Brand, Img_Big, [Content], AddDate,UserName, ProStockNumber FROM TB_MC_Product a left join TB_MC_Class b on a.ClassId=b.ID where 1=1");
//strSql.Append(" and ISNULL(IsXuNi,'0')<>1");
string ssinfo = txt_SearchInfo.Text.ToString();
int state = int.Parse(hideClassName.Value);
BindData("", ssinfo,state);
}
private void BindData(string strClass, string ssinfo,int state)
{
//jsString += "dlg.Msg.Lod('数据加载中,请稍后...', 'popLoading');";
int DataCount = 0;
int NowPage = 1;
int AllPage = 0;
int PageSize = Convert.ToInt32(HPageSize.Value);
switch (strClass)
后面还有 126 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。