Hey
Is it possible to create a full .rdlc report completely from code? By full I mean dataset assignment, grouping etc. If not, is it possible just to change the dataset (providing that the new dataset has the new schema as the previous one). I'm asking this because I need to use multiple databases in my application, and I don't know how to do the switch because of the reports (if I make them using the wizard, I have to use predefined datasets that are created by TableAdapters, and then I have the problem of changing connection strings)? Do you have some suggestions on how to do it?
Thanks
Crating .rdlc reports programmaticaly
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

SenthilkumarRank #387 · 6.5K reputationPosted Apr 12, 2012, 1:15 AM EDT
There are some links about dynamic .rdlc creation.
This may help you bit.
http://csharpshooter.blogspot.com/2007/08/revised-dynamic-rdlc-generation.html
http://forums.asp.net/t/1556522.aspx/2/10
http://www.sourcecodester.com/visual-basic-net/creating-rdlc-report-programmatically.html
Neven Draskovic104 reputationPosted Apr 12, 2012, 1:20 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Apr 12, 2012, 11:03 AM EDT