Rebuild the IDC billing system report using the simplest display connection

Source: Internet
Author: User

This blog first writes some of the simplest reports and displays them.

1. Create a Windows form


 

2. Draw a widget in the form


 

In fact, we have not used real reports here. The reportviewer control in is just a container for report presentation.

Next we need to create a report:


 

The following figure shows how to create a reporting table.


Here, the report name I created is report2.rdlc.

3. Open report2.dlc. Add the database we want to connect to in view-Data Report-dataset-add Dataset
Then proceed as follows:

Next, follow the steps to complete the silly route.


 

 


 


4. Return to our report report2.rdlr and perform the following operations:



So far, the report has been connected to the database, and the forms and report controls displayed in our reports have been added. But how can we display our DLC files in the creation? See:

 

5


 

Run the program to display the target data.


Why is it boring to write such a report in such a simple operation. But what I want to say is that when I made this report, many details were discovered later, so that it was slow. Through this blog, I want to tell myself that I should be careful, be able to observe, and be able to observe. I will write details in a later blog.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.