Learn your way! Get started

SSRS 2014, Part 07 of 10: Programming Report Access

with expert Don Kiely


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 1/19/2015
Level Advanced
Runtime 2h 19m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

There are five major APIs that you can use to program report server access, and this course will cover two of them. First, we’ll look at accessing reports using a custom URL, which is the same way Report Manager provides access, although you can use a shorthand version of the URLs for easier programming. You’ll learn the structure of the URL, and see various ways to build the URLs and some of the many options available as querystring parameters. Then you’ll learn about the ReportViewer control that is available in both Web and Windows Forms .NET applications. You’ll learn how to use the control with both server and local reports, which are reports you build directly in Visual Studio for that application.

Prerequisites

This course assumes that you have a basic familiarity with the concept of relational databases and a basic understanding of what SQL Server is and the high-level tools in it, as well as how to create and manage objects using Management Studio. You should also have a basic understanding of how SQL Server implements security, including its authentication and authorization schemes, and how to assign permissions on securable objects to principals. You should know the fundamentals of Transact-SQL to write queries to retrieve data and join data from multiple tables, and how to execute scripts using the query editor in Management Studio. It will be very helpful, but not absolutely necessary, to have experience with .NET development using Visual Studio 2012 or 2013 for the portions of the course that deal with SQL Server Data Tools. At the very least, we’ll assume that you are well familiar with the Visual Studio user interface.

Learning Paths

This course will help you prepare for the following certifications and exams:
MCSE: Business Intelligence
70-467: Designing Business Intelligence Solutions with Microsoft SQL Server
70-466: Implementing Data Models and Reports with Microsoft SQL Server

This course is part of the following LearnNowOnline SuccessPaths™:
SQL Server Reporting Services

Meet the expert

Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.

Course outline



APIs and Accessing using URL

Reporting Services API and URL (13:52)
  • Introduction (01:03)
  • The Reporting Services APIs (02:01)
  • Accessing Reports Using a URL (00:56)
  • URL Access (00:55)
  • Demo: URL Access (03:33)
  • Shortcut Form (01:45)
  • Demo: Shortcut Form (03:17)
  • Summary (00:18)
Custom Params and Output (13:44)
  • Introduction (00:33)
  • Executing a Report with Params (01:42)
  • Demo: Custom Parameters (03:31)
  • Rendering to an Output Format (02:21)
  • Demo: Output Rendering (04:53)
  • Summary (00:42)
Custom URLs Other Options (15:36)
  • Introduction (00:54)
  • Using Report Server Commands (01:14)
  • Demo: Report Server Commands (01:58)
  • Customizing the HTML Viewer (01:40)
  • Demo: Customize HTML Viewer (01:52)
  • Modifying Rendering Behavior (02:23)
  • Demo: Modify Render Behavior (04:47)
  • Summary (00:45)
Integrating Using URL Access (31:18)
  • Introduction (00:53)
  • Demo: Integrate Reporting Services (03:15)
  • Demo: Run Report (04:19)
  • Demo: Views (04:02)
  • Demo: Parameterized Report (02:47)
  • Demo: AWDWModel (04:37)
  • Demo: Options (05:46)
  • Demo: HomeController (04:44)
  • Summary (00:52)

Report Viewer Control

Using Report Viewer Control (14:27)
  • Introduction (00:42)
  • Server vs. Local Reports (03:02)
  • Demo: Server Report (03:21)
  • Demo: Design View (05:01)
  • Demo: How it works (01:52)
  • Summary (00:27)
Program Report Viewer Control (17:02)
  • Introduction (00:37)
  • Demo: SalesChart (05:00)
  • Demo: ReportViewer (03:52)
  • Demo: Code Behind (02:51)
  • Demo: Display Report (04:06)
  • Summary (00:34)
Server Reports (19:42)
  • Introduction (00:35)
  • Demo: Server Report (03:53)
  • Demo: Server Report Setup (03:55)
  • Demo: ReportViewer (01:52)
  • Demo: Load Event (04:47)
  • Demo: View Report Control (04:02)
  • Summary (00:34)
Local Reports (13:28)
  • Introduction (00:54)
  • Creating a Local Report (01:44)
  • Demo: Dataset (04:45)
  • Demo: Local Report (04:40)
  • Summary (01:23)