I try to create report with a table and bind it to a list of string (about 10000 items).
I tried to create row in runtime, but it is very slow:
String[] ids = GetIds();
DetailTable.BeginInit();
foreach (String id in ids)
{
XRTableRow newRow = new XRTableRow();
XRTableCell newCell = new XRTableCell();
newCell.Text = id;
newRow.Cells.Add(newCell);
DetailTable.Rows.Add(newRow);
}
DetailTable.EndInit();
Also I tried to bind cell, but in report I can see only first row:
var ids = GetIds().Select(id => new {Id = id});
this.DataSource = ids;
IdCell.DataBindings.Add(new XRBinding("Text", DataSource, "Id"));
How I can fill my table?
I'd like to see your design view of the report too. I am doing this as follows (on the Design view):