EXPERT RESPONSE
You have to configure the connection so that it points to the proper server. One easy way to do so if you're using a SQLConnection component in the form, is to configure the connection string. Then select the (DynamicProperties) property in the Property Browser. Expand it and select the ConnectionString property. In the form that appears, mark the checkbox for making the value configurable. You can pick an easy-to-remember name for the key.
Now, when you close the dialog and save the form changes, you'll see a little green icon next to the ConnectionString property. If you open the App.config file, you'll find a new <appSettings> section, with a new key with the connection string value. From now on, you can modify the connection to the server just by changing this value in the file. You can reuse the same key from all forms.
|