Web/admin/SPXX.aspx.cs
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.IO;
namespace CAI.SHOP.Web.admin
{
public partial class SPXX : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
// 在此处放置用户代码以初始化页面
if (!Page.IsPostBack)
{
Session.Remove("imgname");
if (Request.QueryString["ID"] != null)
{
//显示当前的商品信息
Model.product prd = (new BLL.product()).GetModel(Int32.Parse( Request.QueryString["ID"]));
if (prd !=null)
{
this.DropDownList1.SelectedValue = prd.classid.ToString();
DropDownList2.DataTextField = "classxname";
DropDownList2.DataValueField = "classxid";
DropDownList2.DataSource = (new BLL.leibiex()).GetList(" Classid=" + prd.classid.ToString());
DropDownList2.DataBind();
this.DropDownList2.SelectedValue = prd.classxid.ToString();
txtSPMC.Text = prd.productname;
txtSPJG.Text = prd.masterprice.ToString();
txtRMJ.Text = prd.hotprice.ToString();
txtKC.Text = prd.pkc.ToString();
txtGJZ.Text = prd.productguanjian;
txtSPPP.Text = prd.productchu;
txtSPGG.Text = prd.guige;
txtJF.Text = prd.jifen.ToString();
txtSPZP.Text = prd.zenpin;
DropDownList3.SelectedIndex =prd.newproduct;
txtXXSM.Text = prd.productintroduce;
this.Image1.ImageUrl = "../" + prd.productimage.ToString();
Session["imgname"] = prd.productimage.ToString();
}
}
}
}
后面还有 89 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。