main.aspx.cs

(开头部分) 4KB

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

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.OleDb;
using qiupeng.Public;
using System.IO;
namespace qphr
{
    public partial class main : System.Web.UI.Page
    {
        public static string showpost, showrealname, txtime, iftx, Sound, showtime;
        Db List = new Db();
        protected void Page_Load(object sender, EventArgs e)
        {
            //Session["username"] = "admin";
            //Session["realname"] = "管理员";

            if (this.Session["username"] == null)
            {
                this.Response.Write("<script language=javascript>alert('登陆超时!');window.location.href='Default.aspx'</script>");
                return;

            }

            this.ImageButton1.Attributes.Add("onclick", "javascript:return zx();");

            string SQL_GetList_key = "select * from qp_hr_FjKey ";
            OleDbDataReader NewReader_key = List.GetList(SQL_GetList_key);
            if (NewReader_key.Read())
            {
                this.Session["FjKey"] = NewReader_key["content"];

            }
            NewReader_key.Close();//附件类型




            string SQL_GetListus = "select * from qp_hr_username where username='" + Session["username"] + "'";
            OleDbDataReader NewReaderUs = List.GetList(SQL_GetListus);
            if (NewReaderUs.Read())
            {
                this.Session["perstr"] = NewReaderUs["ResponQx"];
                this.Session["GzdwId"] = NewReaderUs["BuMenId"];
                this.Session["GzdwName"] = NewReaderUs["BuMen"];

                this.Session["Respon"] = NewReaderUs["Respon"];
                this.Session["ResponId"] = NewReaderUs["ResponId"];


            }
            NewReaderUs.Close();//用户参数

后面还有 60 行代码,购买后查看完整代码

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

AI 解读 AI

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

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