示例#1
0
        /// <summary>
        /// 获得分页查询
        /// </summary>
        private void GetSlideShowList()
        {
            BLL.WorkSys.SlideShowBLL bll = new BLL.WorkSys.SlideShowBLL();
            StringBuilder            s   = new StringBuilder();

            s.Append("");
            int     CurrentPage = ReInt("CurrentPage");
            DataSet ds          = bll.GetSlideShowList(s.ToString(), CurrentPage);

            RePage(ds);
        }
示例#2
0
        /// <summary>
        /// 保存一组幻灯片
        /// </summary>
        private void SaveSlideShowInfo()
        {
            Model.SlideShowModel model = new Model.SlideShowModel();
            model.SlideshowId    = ReDecimal("SlideshowId");
            model.SlideshowTitle = ReStr("SlideshowTitle");
            model.SlideshowMemo  = ReStr("SlideshowMemo");
            model.CreateTime     = ReTime("CreateTime");
            model.CreateUser     = ReStr("CreateUser");
            model.OrderNo        = ReInt("OrderNo");
            model.lv             = ReInt("lv");
            model.SlideshowType  = ReStr("SlideshowType");
            model.SlideshowImgId = ReStr("SlideshowImgId");
            model.Url            = ReStr("Url");
            model.Event          = ReStr("Event");
            BLL.WorkSys.SlideShowBLL bll = new BLL.WorkSys.SlideShowBLL();

            bll.SaveSlideShowInfo(model);
            ReTrue();
        }