Update selected checkboxlist data to database
Posted on 2005-03-25
Here is the situation:
I databind a checkboxlist with a user permission table in database to get a full list of available permissions, then I use datareader to get a specific user's permissions to populate the previous checkboxlist, then the admin can add and/or remove the user's permissions, then click "Update" button to update the user's permissions. My question is how I do the update part? How do I know which is added and which is removed?
Thank you very much,