List<object> list = new List<object>();
            for (int i = 5; i > 0; i--)
            {
                list.Add(
                   new
                   {
                       //InviteCode = inviteCode,
                       date = "3月" + i.ToString() + "",
                       count = 10,
                       waitPass = 3,
                       pass = 2,
                       notPass = 3,
                       cancel = 2

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

 

相关文章: