YongHu_UI/contact.aspx.cs

(开头部分) 2KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Clothes.BLL;
using Clothes.IBLL;
using Clothes.Model;

namespace YongHu_UI
{
    public partial class contact : System.Web.UI.Page
    {
        public int idd;
        public int wei;
        public string xing;
        public string shou;
        public string tu;
        public string jian;
        public int shu;
        public int? jin;
        public string di;
        CLUserIBLL user = new CLUserBLL();
        protected void Page_Load(object sender, EventArgs e)
        {
            var list = Model.IdentityManager.ReadUser();
            if (list==null) {
                Response.Redirect("login.aspx");
            }
            int id =Convert.ToInt32(Request.QueryString["id"]);
            idd = Model.IdentityManager.ReadUser().Id;
            
            shoppingIBLL shop = new shoppingBLL();
            CLUser clu = user.Select(idd);
            shopping ping = shop.SelectId(id);

            xing = "";
            shou = "";
            di = "";

            if (clu != null)
            {
                xing = clu.NickName;
                di = clu.Address;
                shou = clu.MobileNumber;
            }

            
            tu = ping.Avatar;
            jian = ping.Summary;
            shu = ping.Number;
            jin = ping.Money;
            wei =Convert.ToInt32(ping.CLDressId);
            
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            if (xing == "" && di == "")
后面还有 30 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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