Esempio n. 1
0
        private void BindData()
        {
            FriendExtensionQuery entity = new FriendExtensionQuery {
                PageIndex = this.pager.PageIndex,
                PageSize  = this.pager.PageSize,
                SortOrder = SortAction.Desc,
                SortBy    = "ExtensionId"
            };

            Globals.EntityCoding(entity, true);
            DbQueryResult result = VshopBrowser.FriendExtensionList(entity);

            this.refriendscircle.DataSource = result.Data;
            this.refriendscircle.DataBind();
            this.pager.TotalRecords = result.TotalRecords;
        }