|
-
Feb 1st, 2007, 12:10 PM
#1
Thread Starter
Fanatic Member
ReportViewer and Reporting question
I need to fill a report in code for display. I got everything figured out except one piece:
I create a report add a table, called MyTable, and load it into the LocalReport of my ReportViewer object:
ReportViewer1.LocalReport.ReportPath = "C:\myreport.rdlc"
This works and displays great with empty data - but one thing. In this code, I need to fill the table MyTable that is in that report (the myreport.rdlc) with some data. How do I access it? I need to do it somewhere in the code here - before or after the line above. I can use a datatable or dataset as the datasource.
Please help.
thanks.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|