Crystal Reports .NET SDK Applications

All Sample Applications

Report Application Server .NET Sample Code Code Sample(ZIP 177 KB)

Contains Visual Studio 2005 Web sample code pages that highlight features of the RAS SDK, including report parameter and formula modification, database logon, and exporting.10 Oct 2008

NET-CS2005_CRNET_CR115_Set_Viewer-Locale-by-Page Code Sample(ZIP 51 KB)

This sample shows you how to change the multilingual settings for the .NET web form viewer control (CrystalReportViewer) to any locale of your choice. The locale is set via a QueryString variable. The settings are changed on the webform page level instead of using the web.config. Changing the Regional Settings or IE Language Settings will not impact this sample. Note: This has only been tested on Crystal Reports XI R2 with Visual Studio .NET 2005.14 Jul 2008

NET-CS2003_RAS-Unmanaged_CR115_Modify_Command-Table-SQL Code Sample(ZIP 31 KB)

"This sample application shows how to retrieve and change the text of a SQL command table from a Crystal Report using the CR .NET SDK and in-process Report Application Server (RAS) Report Creation API (RCAPI). Note that you must have SP2 for Crystal Reports XI R2 for this sample to work. Previously you could access the RAS .NET SDK from the ReportDocument object only if you had a dedicated RAS server. Now you can use RAS in-process to accomplish this. "05 Mar 2008

NET-CPP-Win2005_CRNET_CR115_Change_Record-Selection-Formula Code Sample(ZIP 3 MB)

A .NET C++ Windows application that demonstrates how to change a record selection formula at runtime.03 Mar 2008

Crystal Reports 2008 .NET SDK Tutorial Samples Code Sample(ZIP 2 MB)

This sample contains Visual Studio 2005 Web sample code projects that highlight features of the Crystal Reports .NET SDK, including viewing and exporting reports, filtering data and setting parameters, and connecting to different data sources.19 Feb 2008

NET-CS2005_CRNET_CR115_Modify_Image-Location Code Sample(ZIP 90 KB)

This sample application shows how to change an image in a Crystal Report at runtime using the graphic location formula in the CR .NET SDK (C#).16 Feb 2008

NET2003-CS-Web_CRNET_CR115_change_graphic-location Code Sample(ZIP 103 KB)

This sample application shows how to change an image in a Crystal Report at runtime using the graphic location formula in the CR .NET SDK (C#).31 Jan 2008

Crystal Reports .NET SDK – Sample Applications from Tutorials Code Sample(ZIP 1 MB)

This file contains C# and VB .NET Windows and web sample applications. These samples were built using the tutorials provided in the ‘Crystal Reports .NET SDK – Additional Documentation and Tutorials’ (cr_net_sdk_additional_en.zip). These sample applications apply to Crystal Reports 9 and 10, and Crystal Reports for Visual Studio .NET 2002 and 2003.10 May 2006