Web/Admin/shop/CountMonthOrderData.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using OpenFlashChart;
// 获取统计数据返回统计图形 月份统计
// CopyRight (c) 2009-2010 HangJing Teconology. All Rights Reserved.
// zjf@iWMPT.com
// 2010-07-17
using WMPT.Common;
using WMPT.SQLServerDAL;
using WMPT.Model;
public partial class Admin_Sale_CountMonthOrderData :AdminPageBase
{
//WMPT.BLL.ETogoOrder bll = new WMPT.BLL.ETogoOrder();
protected void Page_Load(object sender, EventArgs e)
{
GetDayCount();
}
private void GetDayCount()
{
//IList<OrderCountInfo> list = new List<OrderCountInfo>();
//DateTime Now = DateTime.Now;
//list = bll.GetOrderCount(2, Now.Year.ToString(), Now.Month.ToString(), Now.Day.ToString());
//Graph graph = new Graph();
////定义图表的标题。。
//graph.Title = new Title("This Month Order", "{font-size:20px; color: #736AFF; margin: 5px; padding:5px; padding-left: 20px; padding-right: 20px;}");
////计算此次订单量的最大值
//int MaxCount = 0;
//for (int j = 0; j < list.Count; j++)
//{
// if (list[j].CountIntValue > MaxCount)
// {
// MaxCount = list[j].CountIntValue;
// }
//}
////Y轴起始终止坐标
//graph.MaxY = GetMaxY(MaxCount);//根据实际情况赋值最大值
//graph.MinY = 0;
//////定义柱状对象(链接透明度,bar条颜色,项目标题,项目标题字体大小)
后面还有 62 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
