M
Mr. X.
How can I get the last error message string (& id) ?
Thanks
Thanks
How can I get the last error message string (& id) ?
Try {
...
}
Catch {
MyMethod();
}
...
and in other code :
MyMethod()
{
MessageBox.show(Convert.ToString(err.number)); // err.number is the
error-number on catch (like VB.NET). what should I write instead?
MessageBox.show(err.Message); // err.message is the error message on
catch. What should I write instead?
}