VB.net is an object oriented computer language that can be viewed as the evolution of classic visual basic(VB) which is implemented on the .NET Framework.
The program for finding the odd and even number is:
Private Sub command1_click()
Dim a
a=Val(Text1.Text)
if Text1.Text=""Then
Label2.Caption="ENTER ANY INTEGER"
Elself a Mod2=0 Then
Label2.Caption="Even Number"
Else
Label2.Caption="Odd Number"
End if
End Sub
Private Sub Command2_Click()
Text1.Text=""""
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
End Sub
The program for finding the odd and even number is:
Private Sub command1_click()
Dim a
a=Val(Text1.Text)
if Text1.Text=""Then
Label2.Caption="ENTER ANY INTEGER"
Elself a Mod2=0 Then
Label2.Caption="Even Number"
Else
Label2.Caption="Odd Number"
End if
End Sub
Private Sub Command2_Click()
Text1.Text=""""
End Sub
Private Sub Command3_Click()
End
End Sub
Private Sub Form_Load()
End Sub
Earn upto Rs. 9,000 pm checking Emails. Join now!
Join to earn, learn and to make friends. Know the information you need and ask experts any question and write your reviews.
Custom Search
No comments:
Post a Comment