D
dord
Try
DB_DataAdapter.Fill(dt)
Return dt
Catch ex As Exception
Console.WriteLine(ex.ToString)
Finally
DB_Command.Dispose()
DB_DataAdapter.Dispose()
End Try
The above code is within a function call, will it execute the Finally
section, even there is a Return in Try section?
Please help.
Thanks
DB_DataAdapter.Fill(dt)
Return dt
Catch ex As Exception
Console.WriteLine(ex.ToString)
Finally
DB_Command.Dispose()
DB_DataAdapter.Dispose()
End Try
The above code is within a function call, will it execute the Finally
section, even there is a Return in Try section?
Please help.
Thanks