Hey
I saw, that the DataSet Wizzard can change the My.Settings, where the connections String is saved in.
How can I do this to? (Because the Connection String is an Application Setting and not a User Setting.
Is there a VB.NET Sample you can provide me?
THX
How to change the my.Settings?
In WinForms designer focus MySqlConnection component and select "ConnectionString..." action. "MySqlConnection Editor" dialog will popup, there is a "Edit application settings" button, it allows to add connection to application settings. Under hood it edits Settings.settings file (which affects Settings.Designer.vb autogenerated file) and app.config file. You can edit setting scope in the Settings.settings file.
Was this information helpful?
Was this information helpful?
MyDirect .NET does not provide such functionality because it is not related to data access. Refer to another resource to know how to change settings at runtime. Maybe this MSDN article will be useful for you.