Beispiel #1
0
 private void BindRole(string CampusID)
 {
     try
     {
         DataTable dtRole = new DataTable();
         dtRole = DataAccessManager.FillRoleCreateUser(CampusID);
         RddlRole.DataSource     = dtRole;
         RddlRole.DataTextField  = "Role";
         RddlRole.DataValueField = "Role_Id";
         RddlRole.DataBind();
         RddlRole.SelectedIndex = 0;
     }
     catch (Exception ex)
     {
     }
 }