How to change settings for a Binding Source?

Asked

Viewed 218 times

0

How do I run an application that is linking (Binding) to a local database to use Binding on any machine.

  • Could you give more details of the problem? What have you done? Specifically where are you having trouble?

1 answer

1


C# projects typically store connection strings within a file .config present at the root of the application. Usually, it is only a matter of placing a connection string that references an external machine, rather than the local machine.

If it is a web project, the file is web.config if desktop is the app.config.

The question was not very clear to me... but if it is not that tell me through the comments.

  • Yes, I was checking and I found this configuration but I did the local application it worked and tested on another machine and it gave incompatibility saying that there was no corresponding bank with the delimited bank in the application. Strange is that the settings are the same. Does it happen that somewhere in Bindingsource it takes the name of the machine (the local bank address) or it only takes the local IP(127.0.0.1)...

  • @Fernando If the connection used is local, possibly in the connection string you will have something written localhost, at some point.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.