protected void BindData(CY.UME.Core.Business.Group group)
        {
            if (group == null)
            {
                return;
            }
            #region 获取搜索条件

            CY.UME.Core.PagingInfo pageInfo = new CY.UME.Core.PagingInfo();

            pageInfo.CurrentPage = 1;
            pageInfo.PageSize = 8;

            int groupId = group.Id;
            string isDisply = "0";
            string strAuthorName = String.Empty;
            string strPicName = String.Empty;
            DateTime d_minDate = CY.UME.Core.Global.MinDateTime;
            DateTime d_maxDate = DateTime.MaxValue;

            isDisply = IsDisply.Value.Trim();
            strAuthorName = authorName.Value.Trim();
            strPicName = picName.Value.Trim();

            if (minPubDate.Value.Trim().Length > 0)
            {
                DateTime.TryParse(minPubDate.Value.Trim(), out d_minDate);
            }
            if (maxPubDate.Value.Trim().Length > 0)
            {
                DateTime.TryParse(maxPubDate.Value.Trim(), out d_maxDate);
            }

            #endregion

            if (isDisply == "0")
            {
                selOperation.Items.Clear();

                selOperation.Items.Add(new ListItem("删除", "0"));
                selOperation.Items.Add(new ListItem("设为首页显示", "1"));
            }
            else
            {
                selOperation.Items.Clear();

                selOperation.Items.Add(new ListItem("删除", "0"));
                selOperation.Items.Add(new ListItem("取消首页显示", "2"));
            }

            picList = group.SearchGroupPicture(strAuthorName, isDisply, strPicName, d_minDate, d_maxDate, pageInfo);

            int count = group.SearchGroupPictureCount(strAuthorName, isDisply, strPicName, d_minDate, d_maxDate);

            if (count > pageInfo.PageSize)
            {
                IsDisPaged = true;
            }

            mgp_HiddenPageSize.Value = "8";
            mgp_HiddenRecordCount.Value = count.ToString();
            mgp_HiddenSiteUrl.Value = SiteUrl;
            mgp_HiddenGroupId.Value = groupId.ToString();
        }