WeiWeiXinNet/admin/Turntable.aspx.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WeiWeiXinNet.admin
{
    public partial class Turntable : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (IsPostBack)
                return;

            try
            {
                string PathDataBase1 = System.IO.Path.Combine(Server.MapPath("~"), "USER_DIR\\SYSUSER\\Turntable\\JiangPing.dll");//"USER_DIR\\SYSUSER\\SYSSET\\" +
                TextBox1.Text = System.IO.File.ReadAllText(PathDataBase1, System.Text.Encoding.UTF8);
                string PathDataBase2 = System.IO.Path.Combine(Server.MapPath("~"), "USER_DIR\\SYSUSER\\Turntable\\set.dll");//"USER_DIR\\SYSUSER\\SYSSET\\" +
                txt2.Text = System.IO.File.ReadAllText(PathDataBase2, System.Text.Encoding.UTF8);
            }
            catch
            { }
        }

        protected void Button1_Click(object sender, EventArgs e)
        {

            string PathDataBase1 = System.IO.Path.Combine(Server.MapPath("~"), "USER_DIR\\SYSUSER\\Turntable\\JiangPing.dll");//"USER_DIR\\SYSUSER\\SYSSET\\" +

            System.IO.File.WriteAllText(PathDataBase1, TextBox1.Text, System.Text.Encoding.UTF8);

            string PathDataBase2 = System.IO.Path.Combine(Server.MapPath("~"), "USER_DIR\\SYSUSER\\Turntable\\set.dll");//"USER_DIR\\SYSUSER\\SYSSET\\" +

            System.IO.File.WriteAllText(PathDataBase2, txt2.Text, System.Text.Encoding.UTF8);

            Label1.Text = DateTime.Now.ToShortTimeString() + " 保存成功!";
        }

        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            GridView1.DataBind();
            Panel2.Visible = false;
            Panel1.Visible = true ;

        }

        protected void Button3_Click(object sender, EventArgs e)
        {
            Panel1.Visible = false;
            Panel2.Visible = true;
        }
后面还有 2 行代码,购买后查看完整代码

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

AI 解读 AI

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

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