i mean, can we global change default message error on system.exception
some how if we catch exception on try
ussually i put messagebox.show(ex.message)
and it show primary key error,
and i want to change this primary key error to my own message like "data already in database"
but i dont want to put or change all my source code, since it will need a lot of times since there is many catch.
thanks,
some how if we catch exception on try
ussually i put messagebox.show(ex.message)
and it show primary key error,
and i want to change this primary key error to my own message like "data already in database"
but i dont want to put or change all my source code, since it will need a lot of times since there is many catch.
thanks,