Hi,

I have the following code,
code Code:
  1. Try
  2.                 SqlDataSource1.Insert() ' SAVE TO DATABASE
  3.                 client2.Send(msg2) ' ----EMAIL TO CLIENT
  4.                 client.Send(msg) ' -----EMAIL TO OFFICE
  5.                 service.Insert(postUri, entry)
  6.  
  7.             Catch ex As Exception
  8.                 Label10.Text = ex.Message
  9.                 Label10.ForeColor = Drawing.Color.Red
  10.  
  11.             End Try

I would like to run all the 4 lines of code, or none of them. Is it possible?

thx