AllPower.WEB/SysAdmin/SysManage/ModuleCount.aspx.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using KingTop.Web.Admin;
#region 版权注释
/*================================================================
    Copyright (C) 2010 华强北在线

    作者:      胡志瑶
    创建时间: 2010年10月15日   
 
// 更新日期        更新人      更新原因/内容
// 
--===============================================================*/
#endregion
namespace KingTop.WEB.SysAdmin.SysManage
{
    public partial class ModuleCount : AdminPage
    {
        private int SearType
        {
            get
            {
                return Request["type"] != null ? int.Parse(Request["type"]) : 0;
            }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
               
                PageInit();
                btnQuery.Attributes.Add("onclick", "return checkSearch();");
            }
        }
        private void PageInit()
        {
            string startTime = txtDate1.Text;
            string endTime = txtDate2.Text;
            string now = DateTime.Now.ToShortDateString();

            KingTop.Model.SelectParams parms=new KingTop.Model.SelectParams();
            parms.I1 = SiteID;            
            parms.S1 = txtDate1.Text;
            parms.S2 = txtDate2.Text;
            parms.I2 = SearType;

            KingTop.BLL.SysManage.BrowseCount count=new KingTop.BLL.SysManage.BrowseCount();
            DataTable dt = count.GetColumnCount( parms);
          
            reptCount.DataSource = dt;
            reptCount.DataBind();
            
        }

        protected void btnQuery_Click(object sender, EventArgs e)
后面还有 5 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。