WmptWap/myuserinfo.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WMPT.SQLServerDAL;
using WMPT.Model;
using WMPT.Common;
namespace Html5
{
public partial class myuserinfo : System.Web.UI.Page
{
ECustomer dal = new ECustomer();
protected void Page_Load(object sender, EventArgs e)
{
ECustomerInfo user = UserHelp.GetUser();
if (user == null)
{
Response.Redirect("~/login.aspx?returnurl=" + Server.UrlEncode(Request.Url.ToString()));
}
//保存信息
if (Request.HttpMethod.ToLower() == "post")
{
btSave_Click();
}
GetData();
}
private void GetData()
{
ECustomerInfo model = UserHelp.GetUser();
model = new ECustomer().GetModelByTellAPassword(model.Tell, model.Password);
UserHelp.SetLogin(model);
if (model.EMAIL != null)
{
Info = model;
}
}
private ECustomerInfo Info
{
get
{
ECustomerInfo model = UserHelp.GetUser();
//model.Tell = WebUtility.InputText(this.tbTel.Text);
model.Name = WebUtility.InputText(this.tbname.Value);
model.EMAIL = WebUtility.InputText(this.tbemail.Value);
model.QQ = WebUtility.InputText(this.tbQQ.Value);
model.TrueName = WebUtility.InputText(this.tbRealName.Value, 60);
//model.Picture = ImgUrl1.Value;
return model;
后面还有 65 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
