![]() ![]() Now, to make life a little interesting, I added three extra buttons: Orders by Customer, Orders by City, and Orders by Country, to the user interface. A basic understanding of how report designer works is helpful I assume the reader of this article is comfortable using Visual Studio 2005, C#, SQL Server 2000, and Windows Forms. In this article, I will demonstrate a way in which you can avoid this and reuse the report to produce a different output. What will you do if end-users want the same report using data grouped by CustomerID (image 1.1)? In most cases, you will end up writing a new report. If I ask you what kind of output you see in (image 1.0), you would probably say a simple report listing orders information. Let us discuss a practical scenario here. Is I can call it a reuse of report (like we commonly reuse code). The application of the technique is not something new we all have done similar things while dealing with reporting of data. This is a perfectly applicable technique, which I am going to share with you now. rdlc file, which I am using as a template to produce different outputs. My four birds are four distinct different outputs generated using source NorthWind->Orders (SQL Server 2000) and my stone is a single physical MS Reporting Services So, what are my four birds and one stone? We hear this all the time, “Two birds with one stone.” What if I say, “Four birds with one stone”? I am sure four sounds much better than two.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |