Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (ProfileUserID > 0)
            {
                _playerInfo = PlayerStrip.GetPlayerInfo(ProfileUserID);

                var list =
                    PlayerStrip.GetMyCards(ProfileUserID)
                    .FindAll(
                        delegate(Card un)
                {
                    return(un.IsActive && un.ArsenalPlayerGuid.HasValue && un.ActiveDate.HasValue);
                });

                list = SortUserNumberListByOrderClause(list, OrderClause);

                rptCard.DataSource = list;
                rptCard.DataBind();
            }
        }