Select from following answers:- SqlException
- DataException
- SecurityException
- All Above
Using SqlException catches all exceptions thrown on behalf of the data source, including authentication and authorization exceptions.
SecurityException indicates a code access security issue. The application is requesting a database provider-related permission that it has not been granted. This is different than an exception originating from the data source.
Show Correct Answer
Source: MeasureUp.com | |
Alert Moderator