首页 > 代码库 > Crystal Report 遇到需要登录的问题

Crystal Report 遇到需要登录的问题

解决方式:

The advices for crystal report database connection settings:

1, Using ApplyLogOnInfo method instead of SetDatabaseLogon method. The code example as below:

 

2, Using “Microsoft OLE DB Provider for SQL Server” instead of “SQL Native Client” as database connection type when creating report template since the first one is crystal report native support.