I've caught an exception!! Now what?
- by Jonesy
Hi folks,
I've started using try catch blocks (bit late i know!) but now im not sure what to do with the exception once i've caught it. What do people usually do here?
-- Jonesy
     Try
        connection.Open()
        Dim sqlCmd As New SqlCommand("do some SQL", connection)
        Dim sqlDa As New SqlDataAdapter(sqlCmd)
        sqlDa.Fill(dt)
    Catch ex As SQLException
              ' ahhhh what to do now!!!?
    Finally
        connection.Close()
    End Try