Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
UpdateUserRoles() clears Data
Message
From
24/09/2007 11:59:18
Jeff Corder
Ambit Technologies, LLC
Missouri, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
UpdateUserRoles() clears Data
Miscellaneous
Thread ID:
01256351
Message ID:
01256351
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform