Admin/AdmVAround.aspx.cs

(完整代码) 1KB

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

namespace BasketBallShop.Admin
{
    public partial class AdmVAround : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                int zid = int.Parse(Request.Params["zid"]);
                aroundBLL bll = new aroundBLL();
                Around b = bll.GetAround(zid);
                txtZid.Text = b.zid;
                txtZname.Text = b.zname;
                txtTypeid.Text = b.typeid.ToString();
                txtdate.Text = b.zdate.ToString();
                txtmj.Text = b.zmj;
                txtyj.Text = b.zyj.ToString();
                txtinprice.Text = b.zinprice.ToString();
                zsale.Text = b.zsale.ToString();
                txttotal.Text = b.ztotal.ToString();
                if (b.zdate == null)
                { txtdate.Text = ""; }
                else { txtdate.Text = b.zdate.ToString(); }
                txtys.Text = b.zys.ToString();
                imgCover.ImageUrl = b.cover;


            }
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            Response.Redirect("AdmAround2.aspx");
        }

        protected void Button3_Click(object sender, EventArgs e)
        {

        }
    }
}

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

AI 解读 AI

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

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