protected int GetUserCount(object dataItem) { Affiliate a = (Affiliate)dataItem; return(UserDataSource.CountForAffiliate(a.Id)); }