or
if
(!IsPostBack)
{
ReportCollection.Event.
EventReport report1 = new ReportCollection.Event.EventReport();
ReportViewer1.Report = report1;
}
I didnt work too......I read all the threads over here on this issue, and did try all the suggested solutions....but nothing is happening.
Please let me know about it.....I am getting late to deliver website to my client.
I am using Windows 7 under Administrator privileges.
| ReportProcessor reportProcessor = new ReportProcessor(); |
| RenderingResult report = reportProcessor.RenderReport(strFileType, reportBook, null); |
| using (fs = new FileStream(fileLocation, FileMode.Create)) |
| { |
| fs.Write(report.DocumentBytes, 0, report.DocumentBytes.Length); |
| } |
I am creating a report
I have dragged a Table to the design page of report
I am binding a list (of Product)
If I have a Property called ProductName, then how can I bind this to the table?