Manage/Accounts.aspx.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.Data;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using EKETEAM.FrameWork;
using EKETEAM.Data;
using EKETEAM.UserControl;
using LitJson;

namespace eFrameWork.Manage
{
    public partial class Accounts : System.Web.UI.Page
    {
        public string act = eParameters.Request("act");
        public eForm edt;
        public eUser user;
        public string JsonTemplates = "";
        public string body = "{}";
        public string data = "{}";
        public eFormControl type;
        protected void Page_Load(object sender, EventArgs e)
        {
            user = new eUser("Manage");
            edt = new eForm("a_eke_sysAccounts", user);
            JsonTemplates = eBase.getAccountTemplate();

            if (act.Length == 0)
            {
                List();
                return;
            }

            #region 信息添加、编辑
            edt.AddControl(f1);
            edt.AddControl(f2);
            eFormControl _body = new eFormControl("body");
            _body.Field = "body";
            edt.AddControl(_body);

            type = new eFormControl("type");
            type.Field = "type";
            edt.AddControl(type);

            edt.AddControl(f3);
            edt.AddControl(f4);
            edt.AddControl(f5);
            edt.AddControl(f6);
            edt.AddControl(f7);
            edt.onChange += new eFormTableEventHandler(edt_onChange);
            edt.Handle();
            if (_body.Value.ToString().StartsWith("{"))
            {
                data = _body.Value.ToString(); 
                body = _body.Value.ToString().HtmlEncode(); 
            }
            if (type.Value.ToString().Length > 0)
            {
后面还有 32 行代码,解锁后查看完整代码

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

AI 解读

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

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