how to make input Button n inputPassword(HTML) can be use..
i write this code, but when try to run, it does not work. when i click button, the page not go to the page (Main.aspx).
can help me..
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim id As HtmlInputText = New HtmlInputText
Dim pass As HtmlInputPassword = New HtmlInputPassword
If id.Value = "zssb1515" And pass.Value = "password" Then
Response.Redirect("Main.aspx")
Else
Response.Write(" Mu Tok Leh masok")
End If
End Sub