Is there a way to change the connection information of the SQL server at runtime so a program can accomodate a different SQL server name but the tables are named the same?
I am beginning to write an app that needs to be able to connect to different server names but access the same database names on each server.
I currently have the connection string saved in the settings but that is read only and cannot be changed at runtime.
By the way, I am very new to C# and have Googled to find a solution but was not very successful.
Thanks for any help
Ed
I am beginning to write an app that needs to be able to connect to different server names but access the same database names on each server.
I currently have the connection string saved in the settings but that is read only and cannot be changed at runtime.
By the way, I am very new to C# and have Googled to find a solution but was not very successful.
Thanks for any help
Ed