WebUI/AdminM/User/ek_usersManage.aspx.cs

(开头部分) 4KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HModel;
using Bll;
using WebBase;

namespace WebUI.AdminM
{
    public partial class ek_usersManage : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["id"] != null)
                {
                    string id = Request.QueryString["id"].ToString();
                    ek_users c = Bll_ek_users.GetEntityById(id);

                    
                    txt_group_id.Value = c.group_id.ToString();
                    txt_user_name.Value = c.user_name.ToString();
                    txt_password.Value = c.password.ToString();
                    txt_email.Value = c.email.ToString();
                    txt_nick_name.Value = c.nick_name.ToString();
                    txt_avatar.Value = c.avatar.ToString();
                    txt_sex.Value = c.sex.ToString();
                    txt_birthday.Value = c.birthday!=null? c.birthday.ToString():"";
                    txt_telphone.Value = c.telphone.ToString();
                    txt_mobile.Value = c.mobile.ToString();
                    txt_qq.Value = c.qq.ToString();
                    txt_address.Value = c.address.ToString();
                    txt_safe_question.Value = c.safe_question.ToString();
                    txt_safe_answer.Value = c.safe_answer.ToString();
                    txt_amount.Value = c.amount.ToString();
                    txt_point.Value = c.point.ToString();
                    txt_exp.Value = c.exp.ToString();
                    txt_is_lock.Value = c.is_lock.ToString();
                    txt_reg_time.Value = c.reg_time.ToString();
                    txt_reg_ip.Value = c.reg_ip.ToString();
                }
                else
                {

                }
            }
        }

        protected void btnSave_Click(object sender, EventArgs e)
        {
            if (Request.QueryString["id"] != null)
            {
                string id = Request.QueryString["id"].ToString();
                ek_users k = Bll_ek_users.GetEntityById(id);
                k.Attach();
                 
后面还有 57 行代码,购买后查看完整代码

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

AI 解读 AI

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

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