Web/Admin/manage/AdDetail.aspx.cs

(开头部分) 3KB

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

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using WMPT.SQLServerDAL;
using WMPT.Common;
using WMPT.Model;
using WMPT.Cache;

public partial class Admin_AdDetail : AdminPageBase
{
    AdTable bll = new AdTable();

    AdTableInfo info
    {
        set
        {
            this.tbname.Text = value.AdName;
            tbAdPage.Text = value.AdPage;
            this.tbAddress.Text = value.AdAdrees;
            this.tbAdAddDate.Text = value.AdAddDate.ToString();
            this.tbAdStartDate.Text = value.AdStartDate.ToString();
            this.tb_Width.Text = value.AdWidth.ToString();
            this.tb_Length.Text = value.AdHeight.ToString();
            this.ImgUrl1.Value = value.AdImageAdrees;
            this.ImgUrl.Src = WebUtility.ShowPic(value.AdImageAdrees);

            if (value.AdWidth > 600)
            {
                ImgUrl.Height = value.AdHeight / 2;
                ImgUrl.Width = value.AdWidth / 2;
            }
            else
            {
                ImgUrl.Height = value.AdHeight;
                ImgUrl.Width = value.AdWidth;
            }
        }
        get
        {
            AdTableInfo model = new AdTableInfo();

            model.TID = Convert.ToInt32(HjNetHelper.GetQueryString("id"));
            model.AdName = this.tbname.Text.ToString();
            model.AdType = "";
            model.AdPage = tbAdPage.Text;
            model.UserID = 0;
            model.DayMoney = 0;
            model.AdAdrees = this.tbAddress.Text;
            model.MID = 0;
            model.DayMode = 0;
后面还有 57 行代码,购买后查看完整代码

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

AI 解读 AI

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

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