boguCms/product/item.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Model;
using AccessDal;
public partial class product_item : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
GetPage();
}
}
protected void GetPage()
{
int id = Convert.ToInt32(Request.QueryString["p"]);
ProduceInfo pi = Product.GetItem(id);
lblcon.Text = pi.Pdetail;
lblmap.Text = pi.Pname;
lblpname.Text = pi.Pname;
imgpro.ImageUrl = pi.Imgurl;
int mid = pi.MID;
ProMidInfo mi = ProMidOpe.GetOneMid(mid);
prosmall.Text = mi.MName;
prosmall.NavigateUrl = "/product/Default.aspx?p=" + mid.ToString() + "&c=m";
ProBigInfo bi = ProBigOpe.GetOneBig(mi.BID);
probig.Text = bi.BName;
probig.NavigateUrl = "/product/Default.aspx?p=" + mi.BID.ToString() + "&c=b";
this.Title = pi.Pname+"_"+mi.MName + "_" + bi.BName + "_产品中心_大连宾果LED";
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。