admin/helpkef.aspx.cs

(开头部分) 2KB

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

public partial class admin_helpkef : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            Shownetinfo();
        }
    }
    public DataSet Getfromxlm()
    {
        DataSet ds = new DataSet();
        try
        {
            ds.ReadXml(MapPath("~/helpkefu.xml"));
        }
        catch
        {
            Response.Write("<Script>alert('信息文件丢失!')</Script>");
        }
        return ds;
    }
    private void WriteXMLbyXmlWriter(System.Xml.XmlWriter writer, string Gsmc, string Zj1, string Zj2, string Zj3)
    {
        writer.WriteStartElement("Infor");
        writer.WriteAttributeString("Symbol", "首页信息");
        writer.WriteElementString("客服电话", Gsmc);
        writer.WriteElementString("客服邮箱", Zj1);
        writer.WriteElementString("客服传真", Zj2);
        writer.WriteElementString("客服首页", Zj3);
      


        writer.WriteEndElement();
    }

    private void Shownetinfo()
    {
        DataSet ds = new DataSet();
        ds = Getfromxlm();

        TextBox1.Text = ds.Tables[0].Rows[0][0].ToString();
        TextBox2.Text = ds.Tables[0].Rows[0][0].ToString();
        TextBox3.Text = ds.Tables[0].Rows[0][0].ToString();
        Free1.Text = ds.Tables[0].Rows[0][3].ToString();
    }


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

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

AI 解读 AI

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

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