You can use COUNT(*) in sql to return record count to determine the existence of record. Better to trim the textbox input too. You should also use parameterized query to prevent sql injection. Refer:
SqlCommand.Parameters[
^]
Dim count As Int16 = 0
Dim commandText As String = _
"SELECT COUNT(*) from Assets where ASSETTAG = @para"
Using connection As New SqlConnection(connectionString)
Dim command As New SqlCommand(commandText, connection)
command.Parameters.AddWithValue("@para", Trim(TextBox1.Text) )
count = command.ExecuteScalar
End Using
If count = 0 Then
GoTo CheckALL_ASSETS
Else
GoTo FoundAssets
End If