|
-
Feb 26th, 2007, 09:36 PM
#1
Thread Starter
Junior Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|