Authentication Authorization ASP.Net Tutorial

<%@ Page Language="C#" %>

   protected void Page_Load(object sender, EventArgs e)
   {
      DropDownDataBind();
   }
   protected void Button1_Click(object sender, EventArgs e)
   {
      GridView1.DataSource = Roles.GetUsersInRole(DropDownList1.SelectedValue);
      GridView1.DataBind();
      DropDownDataBind();
   }
   protected void DropDownDataBind()
   {
      DropDownList1.DataSource = Roles.GetAllRoles();
      DropDownList1.DataBind();
   }



    Role Manager


    
        Roles:
        
        
                 OnClick="Button1_Click" />