日期:2014-05-17  浏览次数:20498 次

rdlc查询结果的问题
  var dt = new DataTable("CaseReport");
            dt.Columns.AddRange(new[]{
                    new DataColumn("Customer"),
                    new DataColumn("UserName"),
                    new DataColumn("TotalMoney"),
                    new DataColumn("Money1"),
                    new DataColumn("Time1"),
                    new DataColumn("Money2"),
                    new DataColumn("Time2"),
                    new DataColumn("Moeny3"),
                    new DataColumn("Time3"),
                    new DataColumn("Money4"),
                    new DataColumn("Time4"),
                    new DataColumn("Money5"),
                    new DataColumn("Time5"),
                    new DataColumn("Money6"),
                    new DataColumn("Time6"),
                    new DataColumn("NextMoney"),
                    new DataColumn("NextTime"),
                    new DataColumn("Remark"),
            });

            foreach (var row in pro)
            {
                var r = dt.NewRow();
                r.SetField(0, row.Information);
                r.SetField(1, row.UserName);
                r.SetField(2, row.TotalMoney);
                r.Se