Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Change Connection String at runtime

$
0
0
I am developing a Windows Forms VB Project that will allow users to connect to a remote SQL Server database to enter and edit data. During development I have been using the integrated connection string to connect to the SQL Server instance. 


At this time, I need to add a login box that would modify the connection string and adjust their data access accordingly. I have the form set up to get the username and password and confirm their login credentials against the Server, but I am having problems modifying the global connection string for my project. I am using Visual Studio 1017. I would appreciate any assistance or suggestions.


Thanks!

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>