Skip to Content
0
Feb 01, 2019 at 12:23 PM

System DSN

171 Views

So I have created all my reports using a system DSN in the control panel of windows. I would like to run these same reports out of the crystal reports viewer inside a c# winforms application. I do not want to have to setup the hard coded ODBC connection. The select statement and adapter binding is already in the crystal report. Is there a way to just point the report to c# created data source without performing all the table iterations and the select statements and data set adapter filling etc? I just want the same connection I have through the DSN just through code. Is this possible?