Try { // code here } catch (SqlException odbcEx) { // Handle SQL related excetion here, you can catch more specific exception inside this. } catch (OracleException e) // Handle Oracle related exceptions { catch (Exception ex) { // Handle generic exceptions here }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)