Click here to Skip to main content
15,890,399 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application built using VS2008. The connection string for the app is declared at runtime (hostname is taken and given to the connection string). I have used an xsd file to create and use DataSets in my reports.

The application is running fine on my local machine, but when I publish the code, and install on some other machine, only the reports are not working.

Is there any way I can declare the connection string for the dataset dynamically? Or, maybe use the connection string generated earlier here also?

I am confused.

Please help!
Posted
Updated 11-Dec-10 11:47am
v3
Comments
Henry Minute 11-Dec-10 16:34pm    
It might help you to get help, if you tell us what you are using for the reports, unless it's Crystal Reports, in which case keep it to yourself. :)

1 solution

As i understand your have problem with connexion string??
you can pass a DateSet in the constructor of the class to the Crystal Report and then Set the old DataSet to your Dataset passed in Constructor.
:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900