Software outsourcing Ukraine : SoftPilot200 : ASP.NET page with SSRS report bundled tutorial
Get Adobe Flash player

Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1. 

Posted by Igor Wednesday, July 28, 2010 7:15:00 AM
Rate this Content 16 Votes

My good friend asked me to write a simple tutorial which may describe the using of SSRS report with the ASP.NET web form together in turn to get the input report parameters from the web form user input, implement the any complex business logic inside the business logic class separated and provide the report output to the ASP.NET web form back as the PDF output.

From the architectural point of view we should implement 3-tier solution with the User Interface, Business Logic and Data Access Layers.

Tutorial Part 1. The MS SQL Database and project structure initialization.

1. Create the MS SQL 2008 databese for the tutorial.
1.1. Create the new empty database named 'ssrstutorial' in the Microsoft SQL Server Management Studio.
1.2. Run the simple SQL script from here which create the simple table 'User' and stored procedure 'GetUsersByName' in the database created at step 1. Also the new user with login 'user' and password '1234573' and role 'dbowner' will be created.
 
2. Create new empty ASP.NET Web Application project.
2.1. Create new folder named 'report' at the application
2.2. Add 'New Item->Visual C#->Reporting->Report' named report1.rdlc to the new folder 'report' created at step 2.1.
2.3. Add 'New Item->Visual C#->Data->LINQ to SQL Classes' named ssrstutorial.dbml to the root project folder. Thanks to this database model added to our project we will have the possibility to use the LINQ features in our business logic classes if it will be required.
2.3.1. At the LINQ database model add the new database connection to your SQL server and database 'ssrstutorial' been created at the step 1.
2.3.2. Drag and drop the table 'User' from the Server Explorer window into the middle panel of Data Model and Drag and drop the stored procedure 'GetUsersByName' from the Server Explorer to the right column of Data Model.
2.3.3. Finally, you will have the Table and Stored Procedure stubs in your local LINQ Data Model as it reflected at the image below.

Tutorial: ASP.NET and SSRS report bundled togeter



 

 

 

 

 

 

 

 

 

 

 

End of part 1.

To be continued. 
 

(c) SoftPilot2000 Software Outsourcing Ukraine. All rights reserved.

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Wednesday, February 08, 2012 3:17:05 AM flash video recorder

Many thanks for the impressive resources enclosed in your blog, it is a small test for the weblog visitors. Who cited the following quote? . . . .Speak softly and carry a big stick; you may go far.

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Tuesday, February 21, 2012 1:28:38 AM novo 7

nice post,thanks for sharing! BTW,check out my new android 4.0 tablet

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Thursday, March 01, 2012 1:34:15 AM TFT LCD Armrest Monitor With Built

 

When I translate to Japanese, Did you forget the ending . ? is appeared,but in Japanese, end punc

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Friday, March 02, 2012 4:00:23 AM otterbox iphone 4 defender case

The Defender offers multiple layers of protection for your iPhone 4.It has a soft lined, hard plastic inner case surrounded by a soft and flexible outer silicone case. Thankfully, the Defender comes with installation instructions.

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Friday, March 02, 2012 1:00:41 PM Igor

Hi All, thanks a lot for your feedback. I have no time for the moment for some new articles, but I am sure, I'll continue. )

Best regards, Igor Maximov

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Tuesday, March 27, 2012 12:44:25 AM essay help

i like your awesome information for a long time it is very good for me

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Monday, April 09, 2012 2:20:49 AM SYSBAY S-MP95

SYSBAY S-MP95 Tablet PC 7 Inch Android 4.0 8GB 2160P HDMI Camera White

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Wednesday, April 18, 2012 6:25:42 AM hosting raja reviews

Good application. Really you have done a good job by posting this article. Keep it up...

re: Tutorial: 3-tier ASP.NET / SSRS solution with PDF output, part 1.

Friday, May 04, 2012 2:16:58 AM hyundai a7hd reviews

The ViewPad manages on together Android in addition to Windows OS so the user offers Microsoft Offices to the tablet enabling Microsoft Phrase documents, Stand out, Power Details, and more that they are created, edited, and viewed to the ViewPad. When you're ready to take a break you can switch over to Android in addition to play a casino game, watch any movie, or surf online.