private void ShowInfo(int _id)
        {
            BLL.CategoryBll bll = new BLL.CategoryBll();
            Entity.Category model = bll.GetEntity(_id);

            //ddlParentId.SelectedValue = model.d.ToString();
            txtTitle1.Text = model.Title;
            txtSortId1.Text = model.SortID.ToString();
            //txtImgUrl.Text = model.ImageURL;// .img_url;
            //txtLinkUrl.Text = model.l;// .link_url;

            txtSortId1.Text = model.SortID.ToString();
            //txtClick.Text = model.ClickCount.ToString();

            //txtContent.Value = model.cccc;
        }
        private bool DoEdit(int _id)
        {
            try
            {
                BLL.CategoryBll bll = new BLL.CategoryBll();
                Entity.Category model = bll.GetEntity(_id);
                int parentId = int.Parse(ddlParentId1.SelectedValue);

                model.ChannelID = this.channel_id;
                model.Title = txtTitle1.Text.Trim();
                //如果选择的父ID不是自己,则更改
                //if (parentId != model.ID)
                //{
                //    model.parent_id = parentId;
                //}
                model.SortID = int.Parse(txtSortId1.Text.Trim());

                //model.link_url = txtLinkUrl.Text.Trim();
                //model.img_url = txtImgUrl.Text.Trim();
                //model.content = txtContent.Value;
                if (!bll.Update(model))
                {
                    return false;
                }
            }
            catch
            {
                return false;
            }
            return true;
        }