try { // Do something that can fail.. } catch (Exception ex) { // Log exception and do something to gently // tell your user that something went wrong } finally { // Close database connections etc. if required. }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)