YKT_EShop/_Template/Default/Member/Temporary.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using YKT_Common;
using System.Data;
using YKT_BLL;
using YKT_Model;
using Wuqi.Webdiyer;
namespace YKT_EShop._Template.Default.Member
{
public partial class Temporary : BasicPage
{
protected AspNetPager Pager;
protected Repeater rpList;
protected void Page_Load(object sender, EventArgs e)
{
if (!this.check_member_login())
{
Response.Redirect("/login.aspx");
}
if (!this.IsPostBack)
{
int id = Input.SetInt(Request["id"]);
int productID = Input.SetInt(Request["productid"]);
string action = Input.SetString(Request["Action"]);
if (action == "del")
{
this.Bind_Delete(id);
}
else if (action == "shop")
{
Bind_ShopDelete(id);
}
else
{
if (productID > 0)
{
Bind_Add(productID);
}
else
{
Bind_rpList();
}
}
}
}
private void Bind_rpList()
{
int Count = 0;
DataTable dt = new BLLTemporary().GetList(
Pager.PageSize,
Pager.CurrentPageIndex,
" MemberID=" + user.ID,
ref Count).Tables[0];
this.Pager.UrlRewritePattern = "/member/Temporary.aspx?page={0}";
this.rpList.DataSource = dt;
后面还有 55 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。