I am trying to create a crystal report in c#, sql server. And i have noticed and checked that you can only put connection string of the current pc. what if i change the computer and try to run it on other pc having sql server installed on it. I made my library project and i kept and app.config file in it. so when the application is installed the app.config file is installed along the exe file. so i can change the app.config file according to the name of server of current pc.
I hope you guys now understand what i am trying to say.
I want crystal report to take connection string from app.config file. so,that it can run on other machines as well.
And i also wanna know how i can use sql commands in crystal reports. like i want
"Select EName,BasicPay from Employees Where EmployeeID="+EmployeeID+""
I searched much about it, But couldnt find solution. Please Help
Thanks in Advance
This post has been edited by Mohsin01: 17 January 2013 - 07:04 AM