try
{
// do your work here
// this is the code after the On Error Goto XXX statement
}
catch (Exception ex)
{
// execution flow comes here if an error has occured
// this is the same as the code after the label referred to
// by the On Error Goto XXX bit.
}
"tiger79" <po**@freemail.nl> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Hello,
I'd like to know what the C# counterpart is for the VB On Error statement
? My VB code looks like this :
On Error GoTo ErrGetItem
plain simple ud say, but I need to "translate" it into C#...
Any ideas ???