Hl.WebMain/AdmPage/BizMarketManage/DianHuaTxManageBx.aspx.cs

(开头部分) 9KB

这里只显示每个文件的开头 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 Hl.Code;
using Hl.WebMain.Common;


namespace Hl.WebMain.AdmPage.BizMarketManage
{
    public partial class DianHuaTxManageBx : System.Web.UI.Page
    {
        #region "全局变量"

        #endregion
        bool bDisplay = false;
        #region "页面加载"

        protected void Page_Load(object sender, EventArgs e)
        {
            Hl.DataDbHelper.DbHelper DbHelper = Hl.DataDbHelper.DbUlitity.Instance();
            string conString = DbHelper.ConnectionStr("", true);
            DateTime dttoday = DateTime.Now;
            DateTime dtstart = new DateTime(dttoday.Year, dttoday.Month, dttoday.Day, 0, 0, 0);
            DateTime dtend = new DateTime(dttoday.Year, dttoday.Month, dttoday.Day, 23, 59, 59) + (new TimeSpan(30, 0, 0, 0));
            DateTime dtlasttrack = new DateTime(dttoday.Year, dttoday.Month, dttoday.Day, 0, 0, 0) - (new TimeSpan(180, 0, 0, 0));

            string strSql = "update BizVehicleInfo set InsuranceTrackFlag=4 where InsuranceTrackFlag<>4 and InsuranceTrackLastDate<'" + dtlasttrack.ToString("yyyy-MM-dd HH:mm:ss") + "' and InsuranceDateClose>='" + dtstart.ToString("yyyy-MM-dd HH:mm:ss") + "' and InsuranceDateClose<='" + dtend.ToString("yyyy-MM-dd HH:mm:ss") + "'";
            DbHelper.ExecuteNonQuery(conString, CommandType.Text, strSql, null);

                            
         
            if (!IsPostBack)
            {
                Test_Perm();
                Bind_Info();
                Bind_Data();
            }
        }

        #endregion

        #region "数据绑定"

        protected void Bind_Info()
        {
            WebDataHelper.BindSelectByShop(lookAdmShopId);
        }

        protected void Test_Perm()
        {
        }

        protected void Bind_Data()
        {
            string op = DataConvert.ToString(Request.QueryString["op"], "");
            if (op != "")
后面还有 132 行代码,购买后查看完整代码

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

AI 解读 AI

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

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