EasyShop/siteAdmin/ShopSet/SystemConfig.aspx.cs

(开头部分) 17KB

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

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OpSql;
using Ftion;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using conn;
using System.Linq;
using System.Text;
namespace Mall.siteAdmin
{
    public partial class SystemConfig : System.Web.UI.Page
    {
        DbConn conn = new DbConn();
        public string jsString = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LoadData();
            }
        }
        protected void LoadData()
        {
            SqlDataReader DataRead = OpSql.CompanyInfo.GetBaseSetInfo();
            if (DataRead.HasRows)
            {
                while (DataRead.Read())
                {
                    txt_ShopName.Value = Server.HtmlDecode(DataRead["ShopName"].ToString());
                    txt_CompanyName.Value = Server.HtmlDecode(DataRead["CompanyName"].ToString());
                    txt_ContactName.Value = Server.HtmlDecode(DataRead["ContactName"].ToString());
                    txt_FixPhone.Value = Server.HtmlDecode(DataRead["FixPhone"].ToString());
                    txt_MobilePhone.Value = Server.HtmlDecode(DataRead["MobilePhone"].ToString());
                    txt_Email.Value = Server.HtmlDecode(DataRead["Email"].ToString());
                    txt_ZipCode.Value = Server.HtmlDecode(DataRead["ZipCode"].ToString());
                    txt_Address.Value = Server.HtmlDecode(DataRead["ContactAddress"].ToString());
                    txt_ICP.Value = Server.HtmlDecode(DataRead["ICPNumber"].ToString());
                    txt_MsgUrl.Value = Server.HtmlDecode(DataRead["MsgUrl"].ToString());
                    txt_MsgUserName.Value = Server.HtmlDecode(DataRead["MsgUserName"].ToString());
                    txt_MsgPassword.Value = Server.HtmlDecode(DataRead["MsgPassWord"].ToString());
                    txt_MsgOrgID.Value = Server.HtmlDecode(DataRead["MsgOrgID"].ToString());
                    txt_EmailServer.Value = Server.HtmlDecode(DataRead["EmailServer"].ToString());
                    txt_EmailUserName.Value = Server.HtmlDecode(DataRead["EmailUserName"].ToString());
                    txt_EmailPassword.Value = Server.HtmlDecode(DataRead["EmailPassWord"].ToString());
                    string EmailBm=Server.HtmlDecode(DataRead["EmailEncode"].ToString());
                    if (EmailBm == "SSL")
                    {
                        rbl_EmailEncode.SelectedIndex = 0;
                    }
                    else
                    {
                        rbl_EmailEncode.SelectedIndex = 1;
                    }
                    ////////////////
                    string jifen = Server.HtmlDecode(DataRead["OpenJiFen"].ToString());
后面还有 209 行代码,购买后查看完整代码

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

AI 解读 AI

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

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