AllPower.WEB/SysAdmin/副本 Model/AdvertisementConfigEdit.aspx.cs

(开头部分) 4KB

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

using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using KingTop.Common;
using KingTop.Model;
using System.Text;
#region 版权注释
/*================================================================
    Copyright (C) 2010 华强北在线

    作者:      周武
    创建时间: 2010年4月28日

    功能描述: 广告配置
 
// 更新日期        更新人      更新原因/内容
//
--===============================================================*/
#endregion
namespace KingTop.Web.Admin
{
    public partial class AdvertisementConfigEdit : AdminPage
    {
        #region 业务/操作类

        KingTop.Model.Content.AdvertisementConfig modelAdvertisementConfig;
        BLL.Content.AdvertisementConfig bllAdvertisementConfig = new KingTop.BLL.Content.AdvertisementConfig();
        #endregion

        #region 数据/页面初始化

        /// <summary>
        /// 初始化数据绑定
        /// </summary>
        /// <param Name="sender"></param>
        /// <param Name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                PageInit();
            }
        }
        private void PageInit()
        {
            BLL.Content.ReviewFlow bllReviewFlow = new KingTop.BLL.Content.ReviewFlow();
            ControlUtils.DropDownDataBind(ddlReviewFlow, bllReviewFlow.GetList("ALL", Utils.getOneParams("")), "Name", "ID");
            //如果用户操作为修改,则初始化绑定
            if (Action == "EDIT")
            {
                DataTable dt = bllAdvertisementConfig.GetList("ONE", Utils.getOneParams("1"));
                if (dt != null && dt.Rows.Count > 0)
                {
                    cbIsReview.Checked = Utils.ParseBool(dt.Rows[0]["IsCheck"].ToString());
                    ddlReviewFlow.SelectedValue = dt.Rows[0]["ReviewFlowId"].ToString();
                }
后面还有 71 行代码,购买后查看完整代码

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

AI 解读

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

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