Chapter 25. Implementing Custom Embedded Functions

The simplest form of custom code available in SSRS is expressions, which were discussed in Chapter 10, “Expressions.” The next level of coding complexity is custom embedded code in a report.

Adding Embedded Code

To get a better understanding of how embedded custom code is used in a report, report developers can assume all the code placed in the code window gets compiled into a make-believe class called Code. You can add properties and methods to the make-believe Code class, and call class members from expressions in the report, which has the class defined.

Embedded code is compiled into a report’s intermediate format and gets ...

Get Microsoft® SQL Server™ 2008 Reporting Services Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.