Click here to Skip to main content
15,905,877 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have an Role type page in which i can create roles and a gridview which contains 6 columns such as ID,Pages,Add,View,Edit,Delete column.Pages contains different aspx page names that i have in my application. Add, View,Edit,Delete columns contains the checkboxes. I have a database for permission which also contains 6 columns that are present in the gridview. When i am checked the checkboxes Y is stored in the databases and those are unchecked N is stored. My question is i am not able to associate or map the different roles i have created with this permissions. the roles i have created also stored in a database role with three columns, such as ID, Role_Name and Description. I am new in.net. please help me to do this .
Posted
Comments
Sergey Alexandrovich Kryukov 26-Mar-14 3:23am    
"I'm unable" is not informative. You have been able to do so many things already, why not associating roles and permissions? Hard to guess what could you miss; we don't know your background and deficiencies.
—SA
Member 10578683 26-Mar-14 4:00am    
can you give some example so that i can understand these concepts clearly. i search through internet but unable to get these things clearly
Sergey Alexandrovich Kryukov 26-Mar-14 4:05am    
Example of what? Of your own code? :-)
—SA
Member 10578683 26-Mar-14 4:10am    
example of creating roles and how to assign different permission to different role and how to map with different aspx pages .can you give some clear idea
Member 10578683 26-Mar-14 7:12am    
if u don't want to help then its ok but don't make joke of me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900