static Report GetTableReport() { Report report = new Report(); ReportPage page = new ReportPage(); page.Name = "Page1"; report.Pages.Add(page); DataBand dataBand = new DataBand(); dataBand.Name = "DataBand"; page.Bands.Add(dataBand); TableObject table = new TableObject(); table.Name = "Table1"; table.RowCount = 10; table.ColumnCount = 10; for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; j++) { table[j, i].Text = (10 * i + j + 1).ToString(); table[j, i].Border.Lines = BorderLines.All; } } dataBand.Objects.Add(table); table.CreateUniqueNames(); return(report); }