Catch oracle exception
ActiveReports for .NET 3.0 Support
Catch oracle exception
03-09-2010, 5:40 AM
Hi,
which event should I use to catch oracle exception (e.g. incorect sql syntax)?
And how to implement?
Thanks for help.
Re: Catch oracle exception
03-09-2010, 9:53 AM
anwin,
You should use the same event to catch the oracle exception where you have provided the connection details. Typically it would be the ReportStart event. For implementing this you may make use of the Try-Catch block. A good example for somewhat similar scenario has been discussed in the “Error Handling” section at this
link
.
Regards,
Sankalp
Sankalp Sen
GrapeCity- DataDynamics