I tried to follow sample code to perform db update from this thread but none of them work in my case.

That is 1 sample.
1 Code:
  1. Using thiscon As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("direct_deliveryConnectionString").ConnectionString)
  2.             thiscon.Open()
  3.             Dim adapter As New SqlDataAdapter("SELECT pk_ddlvryMasterID,invno FROM tblDDlvryMaster WHERE pk_ddlvryMasterID=" & Me.rowID, thiscon)
  4.             Dim ds As New DataSet
  5.             adapter.Fill(ds, "tblDDlvryMaster")
  6.             With ds.Tables(0).Rows(0)
  7.                 .Item("invno") = invoiceTextBox.Text.ToString
  8.             End With
  9.             Dim cb As New SqlCommandBuilder(adapter)
  10.             adapter.Update(ds, "tblDDlvryMaster")
  11.         End Using

2.
2 Code:
  1. Using thiscon As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("direct_deliveryConnectionString").ConnectionString)
  2.             Using update As SqlCommand = New SqlCommand("update tblDDlvryMaster set invno=@invno where pk_ddlvryMasterID=@ID", thiscon)
  3.                 With update.Parameters
  4.                     .Add("@invno", SqlDbType.VarChar, 30, "invno").Value = invoiceTextBox.Text.ToString
  5.                     .Add("@id", SqlDbType.Int, 10, "pk_ddlvryMasterID").Value = Me.rowID
  6.                 End With
  7.  
  8.                 thiscon.Open()
  9.                 update.ExecuteNonQuery()
  10.  
  11.             End Using
  12.         End Using

Both sample do not return error or anything and the web form just refresh when I hit update button.

One thing strange more the code dont pause in breakpoints. I added around 3-4 breakpoints but none of them get hit.