Reputation: 46322
I have the following:
... Else row("Deg") = txtEditOtherDegree.Text
How do I do an Else block as I need to add more to the Else part
Upvotes: 0
Views: 116
Reputation: 29274
I think you need multiple clauses like this:
If ... Then
' Statements
ElseIf ... Then
' More Statements
ElseIf ... Then
' Other Statements
Else
' Final Statements
End If
Upvotes: 1
Reputation: 700870
You put it on a separate line, and use End If
:
If ... Then
...
Else
row("Deg") = txtEditOtherDegree.Text
...
End If
Upvotes: 4