Hi ! :)
What is wrong from the second 'case' to the end? (I know that is wrong, but I want to know how can I do it)
For example; the second 'Case' should be: If the case is different to “0” and ‘election1.SelectedItem.Value = 1’ ...
ThanksCode:Call whatPage (userClass)
End Sub
Sub whatPage (userClass As integer)
Select Case userClass
Case “0”
Response.Redirect("new_user2A.aspx")
Case "<>0", election1.SelectedItem.Value = 1
Response.Redirect("new_user2B.aspx")
Case "<>0", election1.SelectedItem.Value = 2
Response.Redirect("new_user2C.aspx")
Case "<>0", election1.SelectedItem.Value = 3
Response.Redirect("new_user2D.aspx")
Case "<>0", election1.SelectedItem.Value = 4
Response.Redirect("new_user2E.aspx")
........
