예제 #1
0
        /// <summary>
        /// 初始化
        /// </summary>
        private void DataInit()
        {
            #region
            //合同类型
            int conType = Utils.GetInt(Utils.GetQueryStringValue("sel_conType"), -1);
            sel_conType = UtilsCommons.GetEnumDDL(EyouSoft.Common.EnumObj.GetList(typeof(EyouSoft.Model.EnumType.ConStructure.ContractType)), conType.ToString(), true);
            #endregion
            //开始号
            int ConStart = Utils.GetInt(Utils.GetQueryStringValue("txtConStart"), -1);
            //结束号
            int ConEnd = Utils.GetInt(Utils.GetQueryStringValue("txtConEnd"), -1);
            //领用人
            string SelerId   = Utils.GetQueryStringValue("ctl00_ContentPlaceHolder1_Seller1_hideSellID");
            string SelerName = Utils.GetQueryStringValue("ctl00_ContentPlaceHolder1_Seller1_txtSellName");
            if (SelerId != "" && SelerName != "")
            {
                this.Seller1.SellsID   = SelerId;
                this.Seller1.SellsName = SelerName;
            }

            //获取分页参数并强转
            pageIndex = Utils.GetInt(Utils.GetQueryStringValue("page"));
            EyouSoft.BLL.ConStructure.BContractNum   BLL         = new EyouSoft.BLL.ConStructure.BContractNum();
            EyouSoft.Model.ConStructure.MContractNum searchModel = null;
            if (conType >= 0 || ConStart > 0 || ConEnd > 0 || SelerId != "")
            {
                searchModel = new EyouSoft.Model.ConStructure.MContractNum();
                if (conType >= 0)
                {
                    searchModel.ContractType = (EyouSoft.Model.EnumType.ConStructure.ContractType)conType;
                }
                //if (ConStart > 0)
                //{
                //    searchModel.StartNum = ConStart;
                //}
                //if (ConEnd > 0)
                //{
                //    searchModel.EndNum = ConEnd;
                //}
                //if (SelerId != "")
                //{
                //    searchModel.UseOperatorId = SelerId;
                //}
            }
            //IList<EyouSoft.Model.ConStructure.MContractNum> list = BLL.GetContractNumList(this.SiteUserInfo.CompanyId, searchModel, this.pageSize, this.pageIndex, ref this.recordCount, ref this.pageCount);
            //if (null != list && list.Count > 0)
            //{
            //    this.RepList.DataSource = list;
            //    this.RepList.DataBind();
            //    BindPage();
            //}
            //else
            //{
            //    this.RepList.Controls.Add(new Label() { Text = "<tr><td colspan='8' align='center'>对不起,没有相关数据!</td></tr>" });
            //    this.ExporPageInfoSelect1.Visible = false;
            //    this.ExporPageInfoSelect2.Visible = false;
            //}
        }
예제 #2
0
 /// <summary>
 /// 初始化
 /// </summary>
 private void DataInit()
 {
     #region 获取查询条件
     //合同号状态
     int status = Utils.GetInt(Utils.GetQueryStringValue("sltStatus"), -1);
     this.litStatue.Text = UtilsCommons.GetEnumDDL(EyouSoft.Common.EnumObj.GetList(typeof(EyouSoft.Model.EnumType.ConStructure.ContractStatus)), status.ToString(), true);
     //获取分页参数并强转
     pageIndex = Utils.GetInt(Utils.GetQueryStringValue("page"));
     //领用人
     string sellerId   = Utils.GetQueryStringValue(this.HrSelect1.HrSelectIDClient);
     string sellerName = Utils.GetQueryStringValue(this.HrSelect1.HrSelectNameClient);
     this.HrSelect1.HrSelectID   = sellerId;
     this.HrSelect1.HrSelectName = sellerName;
     //合同号
     string conCode = Utils.GetQueryStringValue("txt_ConCode");
     //领用时间
     DateTime?sDate = Utils.GetDateTimeNullable(Utils.GetQueryStringValue("txt_SDate"));
     DateTime?eDate = Utils.GetDateTimeNullable(Utils.GetQueryStringValue("txt_EDate"));
     EyouSoft.Model.ConStructure.MContractNumSearch searchModel = null;
     if (!string.IsNullOrEmpty(conCode) || !string.IsNullOrEmpty(sellerId) || !string.IsNullOrEmpty(sellerName) || status > -1 || sDate != null || eDate != null)
     {
         searchModel = new EyouSoft.Model.ConStructure.MContractNumSearch();
         searchModel.ContractCode = conCode;
         searchModel.UseId        = sellerId;
         if (string.IsNullOrEmpty(sellerId) && !string.IsNullOrEmpty(sellerName))
         {
             searchModel.UseName = sellerName;
         }
         searchModel.TimeStart = sDate;
         searchModel.TimeEnd   = eDate;
         if (status > -1)
         {
             searchModel.ContractStatus = (EyouSoft.Model.EnumType.ConStructure.ContractStatus)status;
         }
     }
     #endregion
     //获取列表
     IList <EyouSoft.Model.ConStructure.MContractNumList> list = new EyouSoft.BLL.ConStructure.BContractNum().GetContractNumList(SiteUserInfo.CompanyId, (int)HeTongLeiXing, searchModel, this.pageSize, this.pageIndex, ref this.recordCount);
     if (list != null && list.Count > 0)
     {
         rptList.DataSource = list;
         rptList.DataBind();
     }
     else
     {
         this.rptList.Controls.Add(new Label()
         {
             Text = "<tr><td colspan='11' align='center'>对不起,没有相关数据!</td></tr>"
         });
     }
     //绑定分页
     BindPage();
     //释放
     list = null;
 }
예제 #3
0
        /// <summary>
        /// 初始化
        /// </summary>
        void DataInit()
        {
            #region 绑定状态
            int tourStatus = Utils.GetInt(Utils.GetQueryStringValue("sltTourStatus"), -1);
            this.litTourStatus.Text = UtilsCommons.GetEnumDDL(EyouSoft.Common.EnumObj.GetList(typeof(EyouSoft.Model.EnumType.TourStructure.TourStatus)), tourStatus.ToString(), true);
            #endregion
            pageIndex = Utils.GetInt(Utils.GetQueryStringValue("page"), 1);
            var searchInfo = GetSearchInfo(tourStatus);
            IList <EyouSoft.Model.TourStructure.MBZInfo> list = new EyouSoft.BLL.TourStructure.BTour().GetSaleBZList(this.SiteUserInfo.CompanyId, pageSize, pageIndex, ref recordCount, searchInfo, this.SiteUserInfo.DeptId);

            if (list != null && list.Count > 0)
            {
                this.rpt.DataSource = list;
                this.rpt.DataBind();
            }
            else
            {
                this.rpt.Controls.Add(new Label()
                {
                    Text = "<tr><td colspan='13' align='center'>对不起,没有相关数据!</td></tr>"
                });
            }
            BindPage();
        }
예제 #4
0
        /// <summary>
        /// 宾客列表HTML
        /// </summary>
        /// <param name="model"></param>
        /// <param name="bkint"></param>
        /// <returns></returns>
        private string BingKeHtml(MHangQiDingDanJiaGeInfo model, ref int num)
        {
            StringBuilder sb = new StringBuilder();

            for (int i = 0; i < model.RenShu1; i++)
            {
                sb.Append("<div class=\"lvke_box\"><div class=\"L_jiao\"></div><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
                sb.AppendFormat("<tbody><tr><td valign=\"middle\" align=\"center\" class=\"leftT\"><h3>旅客{0}</h3><span class=\"chenren\">{1}</span><input id=\"bktype\" name=\"bktype\" runat=\"server\" value=\"{2}\" type=\"hidden\" /></td>", num, JiChuXinXi(model.BinKeLeiXingId), model.BinKeLeiXingId);
                sb.Append("<td><div class=\"lvke_Rbox fixed\"><ul class=\"lvke_form\">");
                sb.Append("<li><label><font class=\"font_star\">*</font> 姓名:</label><span><input type=\"text\"  id=\"bkname\" name=\"bkname\" value=\"\" class=\"formsize370 inputbk\" valid=\"required\" errmsg=\"请填写游客姓名!\"></span><span class=\"error\" data-class='yktxsm'>填写说明</span></li>");
                sb.Append("<li><label><font class=\"font_star\">*</font> 证件类型:</label><div style='float:left'>");
                //sb.AppendFormat("<select name=\"sel_zjtype\" onchange=\"PageSet.changeValidByCardType(this);\" class=\"select_style_1\">{0}</select></div><div style='float:left; margin-left:5px;'><input type=\"text\" valid=\"isIdCard\" errmsg=\"请正确填写旅客身份证!\" name=\"bkzj\" id=\"bkzj\" value=\"\" class=\"formsize270 inputbk\"></div><div style='clear:both'></div></li>", UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(EyouSoft.Model.EnumType.TourStructure.CardType))));
                sb.AppendFormat("<select name=\"sel_zjtype\" class=\"select_style_1\">{0}</select></div><div style='float:left; margin-left:5px;' data-class='zjhm'><input type=\"text\" errmsg=\"请填写游客身份证!|请正确填写游客身份证!\" name=\"bkzj\" id=\"bkzj\" value=\"请输入证件号码\" class=\"formsize270 inputbk\" style='color:#999'></div><div style='float:left; margin-left:5px;' data-class='sr01'><input type=\"text\" name=\"sr01\" value=\"出生年份\" class=\" formsize100 inputbk\" style='color:#999;margin-right:5px;'><input type=\"text\" name=\"sr02\" value=\"出生月份\" class=\" formsize80 inputbk\" style='color:#999;margin-right:5px;'><input type=\"text\" name=\"sr03\" value=\"出生日期\" class=\" formsize80 inputbk\" style='color:#999;margin-right:5px;'></div><div style='clear:both'></div></li>", UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(EyouSoft.Model.EnumType.YlStructure.YKZJLeiXing))));
                //sb.Append("<li><label>证件有效期:</label><span><input type=\"text\" onfocus=\"WdatePicker()\" id=\"bkyxq\" name=\"bkyxq\" value=\"\" class=\" formsize100 inputbk\"></span></li>");
                sb.Append("<li data-class='zjyxq'><label>证件有效期:</label><span><input type=\"text\" name=\"yxq1\" value=\"年份yyyy\" class=\" formsize100 inputbk\"><input type=\"text\" name=\"yxq2\" value=\"月份mm\" class=\" formsize80 inputbk\"><input type=\"text\" name=\"yxq3\" value=\"日期dd\" class=\" formsize80 inputbk\"></span></li>");
                sb.AppendFormat("<li data-class='xb'><label>性别:</label><span><dl class=\"select_style\"><select class='select_style_1' name=\"select_Sex\">{0}</select></dl></span></li>", UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(EyouSoft.Model.EnumType.GovStructure.Gender))));
                //sb.Append("<li><label>出生日期:</label><span><input type=\"text\" onfocus=\"WdatePicker()\" name=\"bkbrithday\" id=\"bkbrithday\" value=\"\" class=\" formsize100 inputbk\"></span></li>");
                sb.Append("<li data-class='sr'><label>出生日期:</label><span><input type=\"text\" name=\"sr1\" value=\"出生年份\" class=\" formsize100 inputbk\"><input type=\"text\" name=\"sr2\" value=\"出生月份\" class=\" formsize80 inputbk\"><input type=\"text\" name=\"sr3\" value=\"出生日期\" class=\" formsize80 inputbk\"></span></li>");
                sb.Append("<li><label>手机号码:</label><span><input id=\"bkphone\" name=\"bkphone\" type=\"text\" value=\"\" class=\"formsize370 inputbk\"></span></li>");
                sb.Append("</ul>");
                sb.Append("<div class=\"lvke_caozuo\"><label><input type=\"checkbox\" id=\"\" class=\"savacontact\" value=\"1\"  name=\"ischeck\" checked='checked'> 保存到常用姓名</label> <input id=\"hd_Ischeck\" name=\"hd_Ischeck\" value=\"1\" type=\"hidden\"/> <a class=\"clearInput\" href=\"javascript:;\">清空</a></div>");
                sb.Append("</div></td></tr></tbody></table></div>");
                num++;
            }
            return(sb.ToString());
        }
예제 #5
0
        /// <summary>
        /// 初始化信息
        /// </summary>
        void InitInfo()
        {
            var info = new EyouSoft.BLL.TourStructure.BTour().GetTourInfo(TourId);

            if (info == null)
            {
                RCWE(UtilsCommons.AjaxReturnJson("0", "请求异常"));
            }

            ltrTourCode.Text  = info.TourCode;
            ltrRouteName.Text = info.RouteName;

            //var tourType = new EyouSoft.BLL.TourStructure.BTour().GetTourType(TourId);
            //var tourStatus = new EyouSoft.BLL.TourStructure.BTour().GetTourStatus(SiteUserInfo.CompanyId, TourId);

            var tourType   = info.TourType;
            var tourStatus = info.TourStatus;

            txtTourType.Value = ((int)tourType).ToString();

            string s = string.Empty;

            if (tourType == EyouSoft.Model.EnumType.TourStructure.TourType.单项服务)
            {
                switch (tourStatus)
                {
                case TourStatus.销售未派计划:
                    ltrYuanStatus.Text = "操作中";
                    break;

                case TourStatus.计调配置完毕:
                    ltrYuanStatus.Text = "已落实";
                    s = "<option value='0'>未落实</option>";
                    break;

                case TourStatus.待终审:
                    ltrYuanStatus.Text = "待终审";
                    s = "<option value='0'>操作中</option><option value='3'>已落实</option>";
                    break;

                case TourStatus.财务核算:
                    ltrYuanStatus.Text = "财务核算";
                    s = "<option value='0'>操作中</option><option value='3'>已落实</option><option value='9'>待终审</option>";
                    break;

                case TourStatus.封团:
                    ltrYuanStatus.Text = "核算结束";
                    s = "<option value='10'>财务核算</option>";
                    break;

                default: break;
                }
            }
            else
            {
                ltrYuanStatus.Text = tourStatus.ToString();

                switch (tourStatus)
                {
                case EyouSoft.Model.EnumType.TourStructure.TourStatus.销售未派计划: break;

                case EyouSoft.Model.EnumType.TourStructure.TourStatus.计调未接收: break;

                case TourStatus.计调配置:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.计调配置完毕:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.导游带团:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.导游报帐:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.销售未结算:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.销售待审:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "7", "8", "9", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.计调待审:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "8", "9", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.待终审:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "9", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.财务核算:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "10", "11", "12", "13", "14", "15" }));
                    break;

                case TourStatus.封团:
                    s = UtilsCommons.GetEnumDDL(EnumObj.GetList(typeof(TourStatus), new string[] { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "11", "12", "13", "14", "15" }));
                    break;

                default: break;
                }
            }

            ltrStatusOption.Text = s;
        }
예제 #6
0
        /// <summary>
        /// 初始化
        /// </summary>
        private void DataInit()
        {
            #region 获取查询条件

            //状态
            string status = Utils.GetQueryStringValue("sltStatus");

            string[] removeStatus = { ((int)QuoteState.垫付申请审核).ToString(), ((int)QuoteState.审核成功).ToString(), ((int)QuoteState.审核失败).ToString() };

            this.litStatue.Text = UtilsCommons.GetEnumDDL(EyouSoft.Common.EnumObj.GetList(typeof(EyouSoft.Model.EnumType.TourStructure.QuoteState), removeStatus), status.ToString());
            //获取分页参数并强转
            pageIndex = Utils.GetInt(Utils.GetQueryStringValue("page"));

            //线路区域ID
            int areaID = Utils.GetInt(Utils.GetQueryStringValue("ddlArea"));
            //线路ID、名称
            //string lineId = Utils.GetQueryStringValue("");
            string routeName = Utils.GetQueryStringValue("txtRouteName");
            //询价单位
            string comName = Utils.GetQueryStringValue(this.CustomerUnitSelect1.ClientNameKHMC);
            string comId   = Utils.GetQueryStringValue(this.CustomerUnitSelect1.ClientNameKHBH);
            this.CustomerUnitSelect1.CustomerUnitId   = comId;
            this.CustomerUnitSelect1.CustomerUnitName = comName;


            //销售员
            string sellerId   = Utils.GetQueryStringValue(this.SellsSelect1.ClientID + "_hideSellID");
            string sellerName = Utils.GetQueryStringValue(this.SellsSelect1.ClientID + "_txtSellName");
            this.SellsSelect1.SellsID   = sellerId;
            this.SellsSelect1.SellsName = sellerName;

            //报价员
            string operatorId   = Utils.GetQueryStringValue(this.SellsSelect2.ClientID + "_hideSellID");
            string operatorName = Utils.GetQueryStringValue(this.SellsSelect2.ClientID + "_txtSellName");
            this.SellsSelect2.SellsID   = operatorId;
            this.SellsSelect2.SellsName = operatorName;


            EyouSoft.Model.TourStructure.MTourQuoteSearch searchModel = new EyouSoft.Model.TourStructure.MTourQuoteSearch();
            searchModel.AreaId         = areaID;
            searchModel.BuyCompanyID   = comId;
            searchModel.BuyCompanyName = comName;
            searchModel.OperatorId     = operatorId;
            searchModel.Operator       = operatorName;
            if (status != "")
            {
                searchModel.QuoteState = (EyouSoft.Model.EnumType.TourStructure.QuoteState)Utils.GetInt(status);
            }
            searchModel.RouteName  = routeName;
            searchModel.SellerId   = sellerId;
            searchModel.SellerName = sellerName;
            #endregion

            EyouSoft.BLL.TourStructure.BQuote bll = new EyouSoft.BLL.TourStructure.BQuote();
            IList <EyouSoft.Model.TourStructure.MTourQuoteInfo> list = bll.GetTourQuoteList(SiteUserInfo.CompanyId, pageSize, pageIndex, ref recordCount, searchModel, (EyouSoft.Model.EnumType.TourStructure.ModuleType)(type - 1));



            if (list != null && list.Count > 0)
            {
                //绑定分页
                rptList.DataSource = list;
                rptList.DataBind();
                BindPage();
                litMsg.Visible = false;
            }
            else
            {
                this.ExporPageInfoSelect1.Visible = false;
                this.ExporPageInfoSelect2.Visible = false;
                litMsg.Visible = true;
            }
            //释放
            bll  = null;
            list = null;
        }
예제 #7
0
        /// <summary>
        /// 页面初始化
        /// </summary>
        /// <param name="id">操作ID</param>
        protected void PageInit(string id, string dotype)
        {
            string star = string.Empty;

            this.txtaddress.Text          = "";
            this.txtHotelDesc.Text        = "";
            this.txtRemarks.Text          = "";
            this.txtHotelName.Text        = "";
            this.UploadControl1.CompanyID = this.SiteUserInfo.CompanyId;
            this.UploadControl2.CompanyID = this.SiteUserInfo.CompanyId;
            this.txtLastHuman.Text        = this.SiteUserInfo.Name;
            if (String.Equals(dotype, "update", StringComparison.InvariantCultureIgnoreCase) && !string.IsNullOrEmpty(id))
            {
                EyouSoft.BLL.SourceStructure.BSource        BLL   = new EyouSoft.BLL.SourceStructure.BSource();
                EyouSoft.Model.SourceStructure.MSourceHotel model = BLL.GetOneHotelModel(id);
                if (model != null)
                {
                    if (model.SourceModel != null)
                    {
                        this.txtaddress.Text            = model.SourceModel.Address;
                        this.txtHotelDesc.Text          = model.SourceModel.Desc;
                        this.txtHotelName.Text          = model.SourceModel.Name;
                        this.txtRemarks.Text            = model.SourceModel.Remark;
                        this.txtContractDate_Start.Text = UtilsCommons.SetDateTimeFormart(model.SourceModel.ContractPeriodStart);
                        this.txtContractDate.Text       = UtilsCommons.SetDateTimeFormart(model.SourceModel.ContractPeriodEnd);
                        this.txtLastHuman.Text          = model.SourceModel.LastModifierId;
                        this.txtLastDate.Text           = UtilsCommons.GetDateString(model.SourceModel.LastModifyTime, ProviderToDate);
                        if (model.SourceModel.ContractAttach != null)
                        {
                            StringBuilder strFile = new StringBuilder();
                            if (model.SourceModel.ContractAttach.FilePath != "")
                            {
                                strFile.AppendFormat("<span class='upload_filename'><a href='/CommonPage/FileDownLoad.aspx?doType=downLoad&filePath={0}&name={1}' target='_blank'>{1}</a><a href=\"javascript:void(0)\" onclick=\"Controlwine.DelFile(this)\" title='删除附件'><img style='vertical-align:middle' src='/images/cha.gif'></a><input type=\"hidden\" name=\"hideFileInfo\" value='{1}|{0}'/></span>", model.SourceModel.ContractAttach.FilePath, model.SourceModel.ContractAttach.Name);
                            }
                            this.lbFiles.Text = strFile.ToString();
                        }
                        star = Convert.ToString((int)model.Star);
                        //签单
                        radno.Checked = true;
                        if (model.SourceModel.IsPermission)
                        {
                            radyes.Checked = true;
                            radno.Checked  = false;
                        }
                        //返佣
                        RadioButton2.Checked = true;
                        if (model.SourceModel.IsCommission)
                        {
                            RadioButton1.Checked = true;
                            RadioButton2.Checked = false;
                        }
                        //推荐
                        radRecommendno.Checked = true;
                        if (model.SourceModel.IsRecommend)
                        {
                            radRecommendyes.Checked = true;
                            radRecommendno.Checked  = false;
                        }
                        //合同
                        Radio_hd_no.Checked = true;
                        if (model.SourceModel.IsSignContract)
                        {
                            Radio_hd_yes.Checked        = true;
                            Radio_hd_no.Checked         = false;
                            this.txtContractNum.Visible = true;
                            this.txtContractNum.Text    = model.SourceModel.ContractCode;
                        }

                        Countryindex  = model.SourceModel.CountryId;
                        Provinceindex = model.SourceModel.ProvinceId;
                        Cityindex     = model.SourceModel.CityId;
                        Areaindex     = model.SourceModel.CountyId;
                    }
                    this.txtTel.Text = model.ReceptionTel;
                    if (model.LinkManList.Count > 0)
                    {
                        this.Contact1.SetTravelList = model.LinkManList;
                    }
                    if (model.HotelRoomList.Count > 0)
                    {
                        SetHotelList = model.HotelRoomList;
                    }
                    SetListCount = SetHotelList.Count;
                    IList <EyouSoft.Model.ComStructure.MComAttach> imglist = model.AttachList;
                    if (imglist != null && imglist.Count > 0)
                    {
                        listCount = imglist.Count;
                        this.rplimg.DataSource = imglist;
                        this.rplimg.DataBind();
                    }
                }
                else
                {
                    Utils.ResponseGoBack();
                }
            }

            this.txtLastDate.Enabled  = false;
            this.txtLastHuman.Enabled = false;
            this.litStar.Text         = UtilsCommons.GetEnumDDL(EyouSoft.Common.EnumObj.GetList(typeof(EyouSoft.Model.EnumType.SourceStructure.HotelStar)), star, false);
        }