I have a connection string for my SQL database connection called my.settings.GCRConnectionString which was created when I created my dataset for the application. I want to change the value of the connection string but it give me an error saying it is ready only. Is there a way to update my connection string during the run-time?
bluehangook629
0
Posting Whiz in Training
Recommended Answers
Jump to PostThe code above creates a structure, in the form of a class, then passes the string information into the class. It then builds the string and assigns the value to your settings with what ever string name you want it to be.
Then it saves.
To use this, …
All 4 Replies
Begginnerdev
256
Junior Poster
bluehangook629
0
Posting Whiz in Training
Begginnerdev
256
Junior Poster
bluehangook629
0
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.