|
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
|
We have a method within our medical software that accesses a single record from the database while the splash screen is up to test the connection. Other than attempting to access a table from the connection, I'm not sure of another way to test whether a connection string is valid. So, wrap the access method in a try/catch and get a new connection string is an SqlException is thrown.
|