I have 2 asp pages.

the first page is default.aspx.vb, and the second is userpage.aspx.vb

In the first one, I have a login system.
If the login is correct, it redirect the user to userpage.aspx.vb

If the login is incorrect, it shows a msgbox saying "go away" and stays in default.aspx.vb.

My code so far:
Code:
   
Protected Sub cmdLogin_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdLogin.Click

              Dim customers As Northwind.CustomersDataTable = customersAdapter.GetLogin(txtUsername.Text, txtPassword.Text)

              If customers.Count = 1 Then
---------- Go to userpage.aspx.vb -------------
              Else
 
                  MsgBox("Go away!", MsgBoxStyle.Critical, "You aren't registred!")
   
              End If
 End Sub