I\'m writing an application where a user provides a connection string manually and I\'m wondering if there is any way that I could validate the connection string - I mean ch
Try this.
try { using(var connection = new OleDbConnection(connectionString)) { connection.Open(); return true; } } catch { return false; }