Hidistro.UI.Web/Admin/promotion/ActivityList.cs
(开头部分) 6KB这里只显示每个文件的开头 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;
using Hidistro.UI.Web.Admin.Ascx;
namespace Hidistro.UI.Web.Admin.promotion
{
public class ActivityList : AdminPage
{
protected int _status;
protected Button btnSeach;
protected ucDateTimePicker calendarEndDate;
protected ucDateTimePicker calendarStartDate;
protected Button DelBtn;
protected Grid grdCoupondsList;
protected PageSize hrefPageSize;
protected Label lblAll;
protected Label lblEnd;
protected Label lblIn;
protected Label lblUnBegin;
protected Pager pager1;
protected HtmlForm thisForm;
protected TextBox txt_name;
protected ActivityList()
: base("m08", "yxp05")
{
}
private void BindData()
{
string text = this.txt_name.Text;
DateTime? selectedDate = null;
DateTime? nullable2 = null;
selectedDate = this.calendarStartDate.SelectedDate;
nullable2 = this.calendarEndDate.SelectedDate;
ActivitySearch query = new ActivitySearch
{
status = (ActivityStatus)this._status,
IsCount = true,
PageIndex = this.pager1.PageIndex,
PageSize = this.pager1.PageSize,
SortBy = "ActivitiesId",
SortOrder = SortAction.Desc,
Name = text,
begin = selectedDate,
end = nullable2
};
DbQueryResult result = ActivityHelper.Query(query);
DataTable data = (DataTable)result.Data;
if (data != null)
后面还有 114 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
