Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

NAVDEEP KAUR 111076208322

E.Working with controls and events.

Dim firstname As String = TextBox1.Text.Trim.ToLower()


If firstname = "navdeep" Then
MsgBox("firstname is" + firstname)
ElseIf firstname = "kaur" Then
MsgBox("firstname is" + firstname)

Else
MsgBox("You have entered wrong name")
End If
End Sub

End Class

You might also like