No data in the table in VB.NET
You can use ExecuteScaler method of Command object and compare if result is null.
You can use ExecuteScaler method of Command object and compare if result is null. For example:
Private res As Object = cmmTest.ExecuteScalar()
If res Is Nothing Then
End If