Web/ProductItem.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
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.Text;
using Model;
using BLL;
public partial class ProductItem : System.Web.UI.Page
{
protected string txtTitle = string.Empty;
public string txtCategory = string.Empty;
public string txtCurrentPage = string.Empty;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ReTitle();
Item bll = new Item();
CategoryName.Text = bll.GetCategoryNameByProductId(GetProductId());
LinkBind();
PsPageData();
PageData();
}
}
protected void ReTitle() {
txtCategory = Request.QueryString["Product"];
switch (txtCategory) {
case "Coat":
txtTitle = "外 套 开心商城网";
break;
case "Computer":
txtTitle = "电 脑 开心商城网";
break;
case "HuFu":
txtTitle = "护 肤 开心商城网";
break;
case "MianMo":
txtTitle = "面 膜 开心商城网";
break;
case "MP3":
txtTitle = "MP3 开心商城网";
break;
case "PeiShi":
txtTitle = "配 饰 开心商城网";
break;
case "Shirt":
txtTitle = "衬 衫 开心商城网";
break;
case "ShouJi":
txtTitle = "手 机 开心商城网";
后面还有 189 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
