Hidistro.UI.Web/Admin/promotion/ShareActList.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Linq;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using ASPNET.WebControls;
using ControlPanel.Promotions;
using Hidistro.Core.Entities;
using Hidistro.Core.Enums;
using Hidistro.Entities;
using Hidistro.Entities.Promotions;
using Hidistro.UI.ControlPanel.Utility;
namespace Hidistro.UI.Web.Admin.promotion
{
public class ShareActList : AdminPage
{
protected Button btnSeach;
protected Button DelBtn;
protected Repeater grdDate;
protected Label lblAll;
protected Label lblEnd;
protected Label lblIn;
protected Label lblUnBegin;
protected Pager pager1;
protected PageSize PageSize1;
protected ShareActivityStatus status;
protected HtmlForm thisForm;
protected TextBox txt_Ids;
protected TextBox txt_name;
protected ShareActList()
: base("m08", "yxp04")
{
}
private void BindData()
{
string name = this.txt_name.Text.Trim();
ShareActivitySearch query = new ShareActivitySearch
{
status = this.status,
IsCount = true,
PageIndex = this.pager1.PageIndex,
PageSize = this.pager1.PageSize,
SortBy = "Id",
SortOrder = SortAction.Desc,
CouponName = name
};
DbQueryResult result = ShareActHelper.Query(query);
DataTable data = (DataTable)result.Data;
this.grdDate.DataSource = data;
this.grdDate.DataBind();
this.pager1.TotalRecords = result.TotalRecords;
this.CountTotal(name);
}
protected void btnSeach_Click(object sender, EventArgs e)
{
this.BindData();
后面还有 75 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
