or
<div id="divReports" runat="server" style="width:100%;"> |
<div style="height:500px;"> |
<telerik:ReportViewer ID="rptViewer" runat="server" |
Width="100%" |
Height="100%" |
BorderColor="Silver" BorderWidth="1px" BorderStyle="Solid"> |
</telerik:ReportViewer> |
</div> |
</div> |
Hello,
Report report = new Report();
DetailSection detail = new DetailSection();
report.Items.Add(detail);
for (int i = 0; i < 2; i++)
{
SubReport subReport = new SubReport();
Telerik.Reporting.
TextBox textBox = new Telerik.Reporting.TextBox();
textBox.Value = "=Berufnummer";
subReport.Report.DataSource =ds.Tables[i];
detail.Items.Add(subReport);
}
By subReport.Report.DataSource = ds.Tables[i];
getting error : Object reference not set to an instance of an object.
Any ideas.