Example #1
0
 public void BindData()
 {
     this.DataGrid1.AllowCustomPaging = false;
     this.DataGrid1.TableHeaderName   = "公共消息列表";
     this.DataGrid1.DataKeyField      = "ID";
     this.DataGrid1.BindData <ShortMessage>(ShortMessage.GetAnnouncePrivateMessageList(0, 0));
 }
Example #2
0
        protected override void ShowPage()
        {
            pagetitle = "公共消息";
            if (!base.IsLogin())
            {
                return;
            }

            base.BindItems(announcepmcount);
            announcepmlist = ShortMessage.GetAnnouncePrivateMessageList(16, pageid);
            newnoticecount = Notice.GetNewNoticeCountByUid(userid);
        }