//初始化编辑页面
        public void InitialNotifyEdit(int gameCategoryId)
        {
            DalOperationAboutGameCategory dal = new DalOperationAboutGameCategory();
            DataTable dt = dal.Get(gameCategoryId).Tables[0];

            if (dt.Rows.Count > 0)
            {
                ltlTitle.Text = dt.Rows[0]["gameTitle"].ToString().Trim();

                this.ltlContent.Text = dt.Rows[0]["gameContent"].ToString().Trim();
                ltlDeadLineTime.Text = dt.Rows[0]["endTime"].ToString().Trim();

                if (dt.Rows[0]["attachmentIds"].ToString().Trim().Length > 0)
                {
                    DalOperationAttachments dalOperationAttachments = new DalOperationAttachments();
                    ltlAttachment.Text = dalOperationAttachments.GetAttachmentsList(dt.Rows[0]["attachmentIds"].ToString().Trim(), ref iframeCount, true, string.Empty);
                }
            }
        }
        //初始化编辑页面
        public void InitialNotifyEdit(int englishExamNotifyInfoId)
        {
            DalOperationAboutGameCategory dal = new DalOperationAboutGameCategory();
            DataTable dt = dal.Get(gameCategoryId).Tables[0];

            if (dt.Rows.Count > 0)
            {
                txtGameTitle.Text = dt.Rows[0]["gameTitle"].ToString().Trim();

                txttGameContent.Text = dt.Rows[0]["gameContent"].ToString().Trim();

                startTime.Value = Convert.ToDateTime(dt.Rows[0]["startTime"].ToString().Trim()).ToString("yyyy-MM-dd HH:mm:ss");
                endTime.Value = Convert.ToDateTime(dt.Rows[0]["endTime"].ToString().Trim()).ToString("yyyy-MM-dd HH:mm:ss");

                string _attachmentIds = dt.Rows[0]["attachmentIds"].ToString().Trim();

                hidAttachmentId.Value = _attachmentIds;
                if (_attachmentIds.Length > 0)
                {
                    DalOperationAttachments dalOperationAttachments = new DalOperationAttachments();
                    ltlAttachment.Text = dalOperationAttachments.GetAttachmentsList(_attachmentIds, ref iframeCount, true, string.Empty);
                }
            }
        }