Web/web/product.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace School_Web.web
{
using School_BLL;
using School_Entity;
using System;
using System.Data;
using System.Runtime.CompilerServices;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using Wuqi.Webdiyer;
public class product : Page
{
protected DataList DataList1;
protected foot foot1;
protected HtmlForm form1;
protected left left1;
protected AspNetPager Pager;
public S_SkyWebProductSort Pro = new S_SkyWebProductSort();
public SkyTools res = new SkyTools();
public string sSQL = "";
protected top top1;
[MethodImpl(MethodImplOptions.NoInlining)]
protected void BindRepeater()
{
this.SkyBindSQL();
DataTable table = this.res.SkyDataTablePage(this.sSQL, this.Pager.CurrentPageIndex, this.Pager.PageSize);
this.DataList1.DataSource = table;
this.DataList1.DataBind();
}
[MethodImpl(MethodImplOptions.NoInlining)]
protected void GetProduct()
{
string sID = base.Request.QueryString["id"];
if (sID == "0")
{
this.Pro.sPsName = "最新产品";
}
else
{
this.Pro = new webascx().SkyGetProductSortByID(sID);
string format = "<meta http-equiv=\"keywords\" content=\"{0}\" />";
string str3 = "<meta http-equiv=\"description\" content=\"{0}\" />";
this.Pro.sPsKeywords = string.Format(format, this.Pro.sPsKeywords);
this.Pro.sPsDescription = string.Format(str3, this.Pro.sPsDescription);
}
}
[MethodImpl(MethodImplOptions.NoInlining)]
protected void Page_Load(object sender, EventArgs p1)
{
if (!this.Page.IsPostBack)
{
this.GetProduct();
this.SkyBindCount();
this.BindRepeater();
}
后面还有 36 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
