The easiest way to generate a simple RDLC from a dataset is transform the schema xml into the RDLC.
The basic idea is to build rather generic RLDC file off a DataSet. You can then bind both the DataSet and the RDLC to a ReportViewer control and get your report. I generate the RDLC by transforming the DataSet XML schema into a RDLC file via and XSLT transform.
Here is a website showing the C# code and the XSLT......
User Profile
Collapse
-
At the end of all that, I have generated the SQL string and I have to dynamically generate the RDLC code for this new UDR report."
Here is an alternate method for generating an RDLC....
http://csharpshooter.b logspot.com/2007/08/generate-rdlc-dynamically-for-vs-2005.htmlLeave a comment:
No activity results to display
Show More
Leave a comment: