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.
Hi
I have used Telerik ReportViewer WebForms, but it give me below error.
Failed to map the path '/'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
|