Web/Managers/basemanage/Y_add.aspx.cs

(开头部分) 13KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Bll;
using Model;
using Common;
using System.Data;

namespace Web.Managers.basemanage
{
    public partial class Y_add : Web.Managers.MasterPage
    {
        BYuanSuo ibp = new BYuanSuo();
        public int iCanlayer;

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!base.IsPostBack)
            {
                MTableSet mts = (new BTableSet()).GetModel("YuanSuo");
                iCanlayer = (new BTableSet()).GetModel("YuanSuoSort").SortLayer;
                AdvanceField(mts.FieldList, base.GetTopSiteSettingsModel());
                bindsort();
                ltname.Text = base.MenuName;
                tburl.Text = base.GetFileName();
                if (base.Request.QueryString["id"] != null && Funs.isInt2(base.Request.QueryString["id"].ToString()))
                {
                    ltaction.Text = base.Request.QueryString["id"].ToString();
                    MYuanSuo mpt = ibp.GetModel(int.Parse(base.Request.QueryString["id"].ToString()));
                    if (mpt == null)
                    {
                        base.ShowMsg(this, "不存在的项!");
                    }

                    base.SelectDropDownList(ref ddlparentid, mpt.P_SortId.ToString());
                    this.tbname.Text = mpt.P_Name;
                    this.tbname2.Text = mpt.P_Name2;
                    this.tbtitle.Text = mpt.P_Title;
                    this.tbkeywords.Text = mpt.P_Keywords;
                    this.tbdescription.Text = mpt.P_Description;
                    this.uploadSize0.Value = mpt.P_Size;
                    this.uploadUrl0.Value = mpt.P_Pic;
                    this.uploadSize1.Value = mpt.P_Size2;
                    this.uploadUrl1.Value = mpt.P_Pic2;
                    this.uploadSize2.Value = mpt.P_AttachSize;
                    this.uploadUrl2.Value = mpt.P_AttachName;
                    this.tbclick.Text = mpt.P_Click.ToString();
                    this.tbkey.Text = mpt.P_Key;
                    this.tbprice.Text = mpt.P_Price.ToString();
                    this.tbmodel.Text = mpt.P_Model.ToString();
                    this.tbchengfeng.Text = mpt.P_Chengfeng;
                    this.tbguige.Text = mpt.P_GuiGe;
                    this.tbcolor.Text = mpt.P_Color;
                    this.tbdate.Text = mpt.P_Date.ToString();
                    this.tburl.Text = mpt.P_Url;
                    //this.txtP_Css.Text = mpt.P_Css;
                    this.tbmemo.Text = mpt.P_Memo;
后面还有 356 行代码,解锁后查看完整代码

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

AI 解读

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

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