Click here to Skip to main content
15,884,064 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I know how to create a localreport using designer at design time but it doesn't seems flexible and I think it is some kind of hard-code, in some case all the reports in a project have the same structure for example a centered header with a table below, if using hard code at design time I have to create n reports for n tables, while if I can create a report dynamically, it ís much cleaner and easier. What I want is how to render a table with various column on a localreport, and how to add a textbox with specified location to a localreport at runtime before calling RefreshReport method to show the report?

I've Googled first but it seems that nobody cares about this problem. Your help would be highly appreciated!

Thanks!
Posted
Updated 3-Jan-13 18:43pm
v2

1 solution

Rdlc files are basicly just XML files so you can generate them quite easily. You can check the schema specification here: http://msdn.microsoft.com/en-us/library/dd297486%28SQL.100%29.aspx[^]

Also maybe this will help: http://www.gotreportviewer.com/[^]
 
Share this answer
 
Comments
supernorb 5-Jan-13 6:06am    
Thank you, the links you gave me are really helpful, I thought there was an easier way to achieve what I want but it is not, maybe I will have to research more on that approach. Thanks again!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900