Hidistro.UI.Web/Admin/promotion/ExChangeList.cs
(开头部分) 5KB这里只显示每个文件的开头 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.Enums;
using Hidistro.Entities;
using Hidistro.Entities.Promotions;
using Hidistro.UI.ControlPanel.Utility;
namespace Hidistro.UI.Web.Admin.promotion
{
public class ExChangeList : AdminPage
{
protected Button btnSeach;
protected Button DelBtn;
protected Repeater grdProducts;
protected Label lblAll;
protected Label lblEnd;
protected Label lblIn;
protected Label lblUnBegin;
protected Pager pager;
protected PageSize PageSize1;
protected ExchangeStatus status;
protected HtmlForm thisForm;
protected TextBox txt_ids;
protected TextBox txt_name;
protected ExChangeList()
: base("m08", "yxp02")
{
}
private void BindData()
{
int total = 0;
string text = this.txt_name.Text;
ExChangeSearch search = new ExChangeSearch
{
status = this.status,
ProductName = text,
IsCount = true,
PageIndex = this.pager.PageIndex,
PageSize = this.pager.PageSize,
SortBy = "Id",
SortOrder = SortAction.Desc
};
DataTable table = PointExChangeHelper.Query(search, ref total);
if (table != null)
{
table.Columns.Add("sStatus");
table.Columns.Add("canChkStatus");
if (table.Rows.Count > 0)
{
for (int i = table.Rows.Count - 1; i >= 0; i--)
{
DateTime time = DateTime.Parse(table.Rows[i]["BeginDate"].ToString());
DateTime time2 = DateTime.Parse(table.Rows[i]["EndDate"].ToString());
后面还有 102 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
