Hi,
I have configured a Crystal Report at design-time (C# windows Form), and succeeded to retrieve fields to the report from an SQL Server 2008 database using ADO.
When run the project and load the Form hosting the report viewer, I get a window where I have to enter the parameters for connection, in spite of giving the correct connection parameters, connection fails.
I would like to know how to connect a crystal report to sql server using ADO at runtime, or how to link programmatically the report to the project common datasource.
Thank you.
Crystal Report 13 for VS2010 failed to login sql server database
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Santhosh K S34 reputationPosted May 25, 2012, 2:06 AM EDT
try this http://broadwin.com/Manual/EngMan/23.3.3_Create_an_ODBC_DSN_to_SQL_Server.htm