In winform development, reports are essential for most management software and data analysis. The pursuit of simple, fast, and beautiful report development is a matter of great concern for everyone when doing such applications. As for the report controls in winform: well-known and good reports include reportviewer reports (by Microsoft) and Crystal Reports (a commercial product, which seems to be charged for some functions). This articleArticleWe will share with you the experience of using reportviewer reports in the catering system development.
-- There are eight or nine controls used to display data in the reportviewer report. Here we only talk about the "matrix" application. Other controls will be introduced in future articles!
Output result:
A brief description of the "matrix" control: displays the grid of data with variable rows and columns-is the row and column variable ?! Through which columns can be changed? You can use rows or column groups to control variable rows and columns. Since the rows and columns are grouped, the data in the same group (displayed) is different, for example: for the number of column groups by year, there are three columns: 2010, 2011, and.
Application scenarios of the "matrix" control: displays data by group (category or category), which is generally an irregular table, for example, displays sales by month, display the intake of a certain nutrient by week ....
This is a rough description. If it is not correct, I hope my friends will correct me!
Source code example download