Ejemplo n.º 1
0
        void BindSendMessage()
        {
            if (string.IsNullOrEmpty(this.Page.Request.QueryString["SendMessageId"]))
            {
                base.GotoResourceNotFound();
            }
            SendMessageInfo sendedMessage = CommentsHelper.GetSendedMessage(long.Parse(this.Page.Request.QueryString["SendMessageId"]));

            this.litAddresser.Text = HiContext.Current.User.Username;
            this.litTitle.Text     = sendedMessage.Title;
            this.litDate.Time      = sendedMessage.PublishDate;
            this.litContent.Text   = sendedMessage.PublishContent;
        }