tab.aspx.cs

(开头部分) 39KB

这里只显示每个文件的开头 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 System.IO;
using System.Globalization;


public partial class tab : System.Web.UI.Page
{
    Class_Object_System mycon = new Class_Object_System();
    Class_Function_Data datadeal = new Class_Function_Data();
    private string bid = "";
    DataTable dt3;
    GridView temgdv;

    protected void Page_Load(object sender, EventArgs e)
    {
        temgdv = new GridView();
        bid = this.Request.QueryString["bid"] + "";
        Session["bid"] = bid;
        if (!this.IsPostBack)
        {
            Session["firstbid"] = "";
            try
            {
                int.Parse(bid);
            }
            catch
            {
                //选出第一个表id/*****************************************************************
                string sqlfirstbid = "select * from tjbbysjb where ztid in (" + Session["qx"].ToString() + ") ";
                DataTable dtfirstbid = datadeal.DBP(2, 2, mycon.SysDataBaseAddress, "", "", "", "", sqlfirstbid);
                bid = dtfirstbid.Rows[0][0].ToString();
                Session["bid"] = bid;

                this.Response.Redirect("TAB.aspx?bid=" + bid);
                return;
               
            }
            this.labCtrol.Text = SetHtmlStr();
            SetDgvData( bid);http://ptlogin2.qq.com/jump?uin=413969949&skey=@ogYZxPQtF&u1=http%3A%2F%2Fuser.qzone.qq.com%2F413969949%2Finfocenter%3Fqz_referrer%3Dqqtips%26tab%3Dnotification
            string sql = "select tjbbysjb.ms from tjbbysjb where bid = " + bid;
            DataTable dt = datadeal.DBP(2, 2, mycon.SysDataBaseAddress, "", "", "", "", sql);
            if (dt.Rows.Count > 0)
            {
                Session["CurrentTable"] = dt.Rows[0][0];
            }
            else
            {
                Session["CurrentTable"] = "请选择表:";
            }

            }
        
    }
后面还有 796 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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