Else if in VB.NET

Fatima Khan's Avatar
Go4Expert Member
Can we use the if and else if both together in VB.net ? what is the syntax ?
Please reply me soon. please.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
As far as I remember it should be

If <condition> Then
ElseIf <condition> Then
	<statements done if all conditions false>
End If