Hidistro.UI.Web/Admin/Fenxiao/DistributorStatistics.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Hidistro.UI.Web.Admin.Fenxiao
{
using ASPNET.WebControls;
using Hidistro.ControlPanel.Store;
using Hidistro.Core.Entities;
using Hidistro.UI.ControlPanel.Utility;
using Hidistro.UI.Web.Admin.Ascx;
using System;
using System.Collections.Specialized;
using System.Drawing;
using System.Globalization;
using System.Web.UI.WebControls;
public class DistributorStatistics : AdminPage
{
protected Button btnQueryLogs;
protected Button Button1;
protected Button Button4;
protected ucDateTimePicker calendarEndDate;
protected ucDateTimePicker calendarStartDate;
private string EndTime;
private int i;
public int lastDay;
protected Pager pager;
protected Repeater reDistributor;
private int rows;
private string StartTime;
protected DistributorStatistics() : base("m05", "fxp05")
{
this.StartTime = "";
this.EndTime = "";
}
private void BindData()
{
DbQueryResult result = VShopHelper.GetDistributorsRankings(this.StartTime, this.EndTime, this.pager.PageSize, this.pager.PageIndex);
this.reDistributor.DataSource = result.Data;
this.reDistributor.DataBind();
this.pager.TotalRecords = result.TotalRecords;
}
protected void btnQueryLogs_Click(object sender, EventArgs e)
{
if (this.calendarEndDate.SelectedDate.HasValue)
{
this.EndTime = this.calendarEndDate.SelectedDate.Value.ToString("yyyy-MM-dd");
}
if (this.calendarStartDate.SelectedDate.HasValue)
{
this.StartTime = this.calendarStartDate.SelectedDate.Value.ToString("yyyy-MM-dd");
}
this.lastDay = 0;
this.ReBind(true);
}
protected void Button1_Click1(object sender, EventArgs e)
{
DateTime now = DateTime.Now;
this.EndTime = now.ToString("yyyy-MM-dd");
后面还有 110 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
