Exemplo n.º 1
0
        //Bind data for role interest dropdowns
        protected void RolesRepeater_BindRepeater()
        {
            List <Role> roles = GrouperMethods.GetRoles();

            RolesRepeater.DataSource = roles;
            RolesRepeater.DataBind();
        }
Exemplo n.º 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         RolesClass rolesClass = new RolesClass();
         RolesRepeater.DataSource = rolesClass.getallroles();
         RolesRepeater.DataBind();
     }
 }