I have this in my VB.NET code:
Dim myValue as String
myValue = ""
Dim myDblValue as Double
myDblValue CDbl(Val(myValue))
If myValue string is null [like in this example], I'd like to set the value to a predefined value for example 999. I know in SQL I can use ISNULL for that. Is there any equivalent in VB.NET? If not, how can it be done with available functions?