Abstract
SSRS 2008 offers software developers a variety of options when it comes to customizing reports through code. These options give software developers the ability to write custom functions using .NET code that can interact with report fields, parameters, and filters in much the same way as any of the built-in functions. To give just two examples, you can create a custom function that does the following: Implements a business rule and returns true or false based on the logic: You can use such a function as part of an expression to change the value or style of a field based on the fields or parameters passed to the function. Reads data from sources not otherwise available to SSRS 2008 directly: You can do this by having your custom code read data directly from the source. In this chapter, you will examine how to read data from an XML file. The sample code for this chapter also includes an example of reading data from a Web service. Although we won’t cover it in this chapter, with SSRS 2008 you can also create custom extensions that will allow you to view data in the Report Designer as a data source.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2008 Rodney Landrum, Shawn McGehee, and Walter J. Voytek III
About this chapter
Cite this chapter
(2008). Using Custom .NET Code with Reports. In: Pro SQL Server 2008 Reporting Services. Apress. https://doi.org/10.1007/978-1-4302-0651-4_5
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0651-4_5
Publisher Name: Apress
Print ISBN: 978-1-59059-992-1
Online ISBN: 978-1-4302-0651-4
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books