YKT_EShop/_Template/Default/product_answer.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using YKT_Model;
using YKT_Common;
using YKT_BLL;
using System.Data;
using Wuqi.Webdiyer;
namespace YKT_EShop._Template.Default
{
public partial class product_answer : BasicPage
{
public ModelProduct product = new ModelProduct();
int productid = 0, askid = 0;
public ModelProductAsk m_ask = new ModelProductAsk();
public BLLUser b_user = new BLLUser();
public BLLUser m_user = new BLLUser();
protected HiddenField hfproductid;
protected HiddenField hfaskid;
protected Button btnSave;
protected AspNetPager Pager;
protected Repeater rpList;
protected TextBox txtanswerContent;
protected void Page_Load(object sender, EventArgs e)
{
if (!this.check_member_login())
{
Response.Redirect("/login.aspx?returnurl=" + HTTPS.GetCurrentUrl());
}
productid = Input.SetInt(Request["productid"]);
askid = Input.SetInt(Request["askid"]);
if (askid > 0)
{
m_ask = new BLLProductAsk().GetModel(askid);
}
product = new BLLProduct().GetModel(productid);
this.hfproductid.Value = productid.ToString();
this.hfaskid.Value = askid.ToString();
if (!this.IsPostBack)
{
askid = Input.SetInt(Request["askid"]);
if (askid > 0)
{
m_ask = new BLLProductAsk().GetModel(askid);
}
this.Bind_List();
}
}
protected override void OnInit(EventArgs e)
{
this.btnSave.Click += new EventHandler(btnSave_Click);
base.OnInit(e);
}
/// <summary>
后面还有 47 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。