NET-CS2005 CRNET Modify Database-Connection Info
This sample demonstrates how to modify database server and logon information using the Crystal Reports .NET SDK. The code modifies the ConnectionInfo object and uses the ApplyLogonInfo method to apply the changes to the main and subreports. This sample uses a Crystal Report designed to pull data from the Northwinds SQL Server sample database. It can be modified to use other reports and other databases like: Oracle, MySQL, MS Access, etc. This sample was created using Visual Studio .NET 2005 and Crystal Reports 2008 SP1.