Sunday, December 23, 2012

Client Reports with ASP.net

Create ASP.net Web Forms application. Create Student and StudentFacade class like below. Build the project.
Add a folder called Reports. This folder will contain only the reports that the application will needed. Add new *.rdlc report to reports folder, using report wizard view. Set the data set properties like below.
In the next few pages customize the report design and finish the wizard.
Add new web form called Report.aspx and from the tool box add script manager and report viewer.
In the code behind file of the Report.aspx, in Page_Load method add the following code.
Now run the application and navigate to Report.aspx file. The report will be displayed.

No comments:

Post a Comment