Teo Lachev has published a partial chapter of his new book "Microsoft Reporting Services in Action" to the Microsoft Developer Network (MSDN) online. The excerpt comes complete with sample code available as a download. Special thanks to Teo and to Manning Publication for allowing this content to be made available to Reporting Services customers.

Read the article here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/ERSCstCode.asp?frame=true