Hi all,

I create small application with create user wizard
with ability user to select a role (administrator or
users)  to login to administrator pages, its work fine
if that file is s locate in root folder. But if i
place that file  in "admin" folder, i cannot login to
admin pages. Please help me...

here's the code "createuser.aspx

Sub ActivateStep(ByVal sender As Object, ByVal e As
System.EventArgs)
        LB1.DataSource = Roles.GetAllRoles()
        LB1.DataBind()
    End Sub

    Sub DeactivateStep(ByVal sender As Object, ByVal e
As System.EventArgs)
        Roles.AddUserToRole(User.Identity.Name,
LB1.SelectedValue)
    End Sub




       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

Reply via email to