Hi there,
I am currently learning to use Telerik reporting, and am stuck on something that should be simple, but I just can't figure it out !!
I have added a table to the designer view of my report.
In the "MyReport_NeedDataSource" method I simply want to add data to this table.
I don't want to bind the table to an SQL data source, I simply want to add the values programatically, row by row.
The table is already five columns wide, so I would like something like:
table1.rows.add(new tablerow("value1", "value2", "value3", "value4", "value5");
or even something like:
table1.rows[0].cells[0] = "value1";
table1.rows[0].cells[1] = "value2";
table1.rows[0].cells[2] = "value3";
table1.rows[0].cells[3] = "value4";
table1.rows[0].cells[4] = "value5";
I'm sure there must be a way to do something like this. Please advise when able.
Kind regards, Ben.
I am currently learning to use Telerik reporting, and am stuck on something that should be simple, but I just can't figure it out !!
I have added a table to the designer view of my report.
In the "MyReport_NeedDataSource" method I simply want to add data to this table.
I don't want to bind the table to an SQL data source, I simply want to add the values programatically, row by row.
The table is already five columns wide, so I would like something like:
table1.rows.add(new tablerow("value1", "value2", "value3", "value4", "value5");
or even something like:
table1.rows[0].cells[0] = "value1";
table1.rows[0].cells[1] = "value2";
table1.rows[0].cells[2] = "value3";
table1.rows[0].cells[3] = "value4";
table1.rows[0].cells[4] = "value5";
I'm sure there must be a way to do something like this. Please advise when able.
Kind regards, Ben.