Please I'm in very bad state because I have a very limited time to finish my application and tomorrow I have to take it to its owners.
It's well completed I just a have a problem in the connection string of the crystalreports because I made them by assistant I wrote the path of the file access and when I change the computer I'm sure I'll face problems ["Failed to load repport"] So please how shall I proceed ? How to set the connection path which is the path f the file Access or a way to get out of that problem who has occupied my mind during a week of research.
Please I'll keep waiting in front of the coputer untill I get the solution If you help me! And thank you very much in advance.
Standard practice is to put connection strings into your configuration file. The string can then be changed when it is deployed. If you followed that practice then you can simply edit your configuration file. If, instead, you hard coded the connection string (rather than the name of the connection string in the config file) throughout your application then you cannot change it without recompilation. If you have time then you can fix all this up to load the connection string from the config using ConfigurationManager.ConnectionStrings["name"] where "name" is the name of the connection that is stored in the config file.
No comments:
Post a Comment