I successfully bound the datasource of the reportviewer, but the reportviewer itself isn't showing anything up. What am I missing?
I haven been trying to set the design of a Telerik ReportViewer, but not succeeded.
Is there a how-to somewhere, where I can see how to bind the design?
Thanks in advance,
Regards
-Martin
var thisDataSet = SqlHelper.ExecuteDataset (
"Data Source=localhost;Initial Catalog=QmanagerDEV;User ID=sa;Password=secret"
, CommandType.StoredProcedure,
"spQtask_SelectTaskBySimpleSearchToReport"
, SqlParameterList (
true
).ToArray () );
var objectDataSource =
new
Telerik.Reporting.ObjectDataSource();
objectDataSource.DataSource = thisDataSet;
Telerik.Reporting.Report report =
new
Report();
report.DataSource = objectDataSource;
Telerik.Reporting.InstanceReportSource reportSource =
new
InstanceReportSource();
reportSource.ReportDocument = report;
ReportViewer1.ReportSource = reportSource;
ReportViewer1.RefreshReport ();
I haven been trying to set the design of a Telerik ReportViewer, but not succeeded.
Is there a how-to somewhere, where I can see how to bind the design?
Thanks in advance,
Regards
-Martin