Ejemplo n.º 1
0
        private void BindReplyReceivedMessages()
        {
            ReceiveMessageInfo receiveMessage = NoticeHelper.GetReceiveMessage(receiveMessageId);

            if (receiveMessage == null)
            {
                base.GotoResourceNotFound();
            }
            else
            {
                litAddresser.Text = receiveMessage.Addresser;
                litTitle.Text     = receiveMessage.Title;
                litContent.Text   = receiveMessage.PublishContent;
                litDate.Time      = receiveMessage.PublishDate;
                NoticeHelper.PostMessageIsRead(receiveMessageId);
                DbQueryResult sendedMessagesForReceivedMessage = NoticeHelper.GetSendedMessagesForReceivedMessage(receiveMessageId);
                dtlistMessageReply.DataSource = sendedMessagesForReceivedMessage.Data;
                dtlistMessageReply.DataBind();
            }
        }