protected void BandInfo(int id)
        {
            ShowShop.BLL.SystemInfo.Navigation bll = new ShowShop.BLL.SystemInfo.Navigation();
            ShowShop.Model.SystemInfo.Navigation model = bll.GetModelID(id);
            bllarticle = new ShowShop.BLL.SystemInfo.ArticleChannel();
            if (model.Type == 1)
            {
                this.rdtype1.Checked = true;
                this.txtContentRegion1.Text = model.Contentregion;
                this.txtContentRegion2.Text = model.Contentregion;
                this.ddlContentRegion3.SelectedValue = bllarticle.GetArticleName(model.Contentregion);

            }
            else if (model.Type == 2)
            {
                this.rdtype2.Checked = true;
                this.txtContentRegion1.Text = model.Contentregion;
                this.txtContentRegion2.Text = model.Contentregion;
                this.ddlContentRegion3.SelectedValue = bllarticle.GetArticleName(model.Contentregion);

            }
            else if (model.Type == 3)
            {
                this.rdtype3.Checked = true;
                this.txtContentRegion1.Text = model.Contentregion;
                this.txtContentRegion2.Text = model.Contentregion;
                this.ddlContentRegion3.SelectedValue = bllarticle.GetArticleName(model.Contentregion);
            }
            this.txtField.Text = model.Filed;
            this.txtLink.Text = model.Link;
            this.txtSort.Text = model.Sort.ToString();
            if (model.Isshow == 1)
            {
                this.ddlIsShow.SelectedIndex = 0;
            }
            else
            {
                this.ddlIsShow.SelectedIndex = 1;
            }
            if (model.Isnewwindow == 1)
            {
                this.ddlIsNewWindow.SelectedIndex = 0;
            }
            else
            {
                this.ddlIsNewWindow.SelectedIndex = 1;
            }
            if (model.Part == 1)
            {
                this.ddlPart.SelectedIndex = 0;
            }
            else if (model.Part == 2)
            {
                this.ddlPart.SelectedIndex = 1;
            }
            else
            {
                this.ddlPart.SelectedIndex = 2;
            }
                ViewState["ID"] = model.Id;
        }
        /// <summary>
        /// 保存信息
        /// </summary>
        protected void Save()
        {
            ShowShop.BLL.SystemInfo.Navigation bll = new ShowShop.BLL.SystemInfo.Navigation();
            ShowShop.Model.SystemInfo.Navigation model = new ShowShop.Model.SystemInfo.Navigation();
            bllarticle = new ShowShop.BLL.SystemInfo.ArticleChannel();
            //model.Id = !string.IsNullOrEmpty(hfcid.Value.Trim()) ? hfcid.Value.Trim() : "0";
            model.Filed = this.txtField.Text.Trim();
            if (this.rdtype1.Checked && !string.IsNullOrEmpty(txtContentRegion1.Text))
            {
                model.Type = 1;
                model.Contentregion = txtContentRegion1.Text;
            }
            else if (this.rdtype2.Checked && !string.IsNullOrEmpty(txtContentRegion2.Text))
            {
                model.Type = 2;
                model.Contentregion = txtContentRegion2.Text;
            }
            else if (this.rdtype3.Checked && !string.IsNullOrEmpty(ddlContentRegion3.SelectedValue))
            {
                model.Type = 3;
                model.Contentregion = bllarticle.GetArticleName(ddlContentRegion3.SelectedValue);//把id转换成导航类型
            }

            model.Isshow = ChangeHope.Common.StringHelper.StringToInt(this.ddlIsShow.SelectedValue);
            model.Isnewwindow = ChangeHope.Common.StringHelper.StringToInt(this.ddlIsNewWindow.SelectedValue);
            model.Sort = ChangeHope.Common.StringHelper.StringToInt(txtSort.Text.Trim());
            model.Part = ChangeHope.Common.StringHelper.StringToInt(ddlPart.SelectedValue);
            model.Link = this.txtLink.Text;

            if (ViewState["ID"] != null)
            {
                model.Id = int.Parse(ViewState["ID"].ToString());
                bll.Update(model);
                //BandInfo(int.Parse(ViewState["ID"].ToString()));
                this.ltlMsg.Text = "操作成功,已保存该信息";
                this.pnlMsg.Visible = true;
                this.pnlMsg.CssClass = "actionOk";
            }
            else
            {
                bll.Add(model);
                this.ltlMsg.Text = "操作成功,已保存该信息";
                this.pnlMsg.Visible = true;
                this.pnlMsg.CssClass = "actionOk";
            }
        }