hi, i am using detialsview control.here i have edit and delete button. i am using autogenerateitbutton="true" autogeneratedeletebuton="true"
now i have user role as **admin ** and normal user
in DB i table as user column roleID, here "1" is admin " 2" is normal user"
if the role type is admin(1) then show both edit and delete button if the role type is mormal(2) user then dnt show these two button for noprmal user how can i achive this functionlity done here in detialsview control
how can i get these controlID(i.e edit and delete button) in .cs file based on that i need to show the edit and delete button
any help would be great thank you