Hi,
Follow the snippest code here
try
{
// do something here
}
catch
{
// If any errors are there then the control will return from here without //executing next code after this catch block
}
to do some operation if any exception is thrown from the try block you need finally
{
// do other oprations
}





Reply With Quote