Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Visual Basic ( VB ) (http://www.go4expert.com/forums/visual-basic/)
-   -   Else if in VB.NET (http://www.go4expert.com/forums/vbnet-t22616/)

Fatima Khan 2Jul2010 13:20

Else if in VB.NET
 
Can we use the if and else if both together in VB.net ? what is the syntax ?
Please reply me soon. please.
regards.

shabbir 2Jul2010 13:39

Re: Else if in VB.NET
 
As far as I remember it should be

Code:

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



All times are GMT +5.5. The time now is 20:40.