Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- OleDbConnection connection = new OleDbConnection();
- connection.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=âĒC:UsersBahoDocumentsuav.accdb;
- Persist Security Info=False;";
- connection.Open();
- checkConnection.Text = "Connection Successful";
- connection.Close();
- }
- catch (Exception ex)
- {
- MessageBox.Show("Error " + ex);
- }
Add Comment
Please, Sign In to add comment