How to catch specific exception without error number?
- by CJ7
I need to catch the following specific exception:
System.Data.OleDb.OleDbException was caught
ErrorCode=-2147467259
Message="The changes you requested to the table were not successful
because they would create duplicate values in the index, primary key,
or relationship. Change the data in the field or fields that contain
duplicate…