ssrs By Rob Moulis November 16, !!" #his article describes a simple techni$ue to get you going creating standalone .rdlc reports with s$l server reporting services and the report viewer control. #otal page views % 6&'(! #otal downloads %
)rint ) o s t
a
c o m m e n t
*ntroduction #he information in this article was born out of a need to develop new standalone ++R+ reports ,to replace a stac- of .rystal reports/ where it was not possible for the report designer to see the data sources involved due to various account, security and other restrictions. #herefore * developed a process whereby * could set up dummy data sources ,even on my local pc/ to provide the 0elds for the report. 1nce the report was 0nished it could then be tested against the real data source. *n this article * demonstrate how to create a standalone .rdlc report and how to access it via .2 code only. * also demonstrate how to set up the report 0elds for the report designer using a very simple techni$ue based on stored procedures. 3dditionally * also demonstrate how to map a dataset consisting of two tables ,ds.#ables4!5 and ds.#ables415 6 a ( 7 8 column table respectively/ to the standalone report. * also cover the setting up of a simple #est 9arness .2 pro:ect in ;isual +tudio !!< to test your standalone .rdlc report.
#his article is deliberately written with the beginner in mind, hence it is rather lengthy as * try to e=plain in detail what to do, so * apologise if you 0nd it slow6going. *t is also for +ponsored by Become a +ponsor +imilar 3rticlesMost Read#op Rated>atest More... )rogramming .2% ?or-ing with 3rrays in .N@# Reading and ?riting AM> in .2 11)+ .oncepts and .N@# )art % *nheritance, 3bstraction, 7 )olymorphism Regular @=pressions Bsage in .2 Cenerating Random Number and +tring in