Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UpdateUserRoles() clears Data
Message
De
24/09/2007 11:59:18
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
UpdateUserRoles() clears Data
Divers
Thread ID:
01256351
Message ID:
01256351
Vues:
61
I have added security to my Employees form to make it easier for my users to handle security (I'm keeping the MM user form for my use). I'm using a MoverControl to let the users select roles. All goes well until they save. When they save, I call UpdateUserRoles() and the data is updated. Unfortunately, this also clears all the tables the mmMoverControl was using. If the user makes another change and hits save again, it crashes because the data tables are gone.

I'm adding a call to refresh the data after I save the data, but I'm suspecting saving data probably shouldn't corrupt the existing data.

Jeff
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform