REQUEST : PASSWORD PROTECTION


/ Published in: VB.NET
Save to your folder(s)

//Made by Brandonio21\\


Copy this code and paste it in your HTML
  1. Public Class Form1
  2.  
  3.  
  4.  
  5. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  6. If TextBox1.Text = "brandon" Then
  7. If TextBox2.Text = "brandon" Then
  8. Dim login As String
  9. login = "Login Successful!"
  10. MsgBox(login)
  11. Else
  12. MsgBox("Wrong Password!")
  13. End If
  14. Else
  15. MsgBox("Wrong username!")
  16. End If
  17. End Sub
  18. End Class

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.