In Below link show to how to Imaplement role based security, Page access and show / Hide Menu items based on Role in asp.net
http://aspsnippets.com/Articles/Implement-Role-based-security-Page-access-and-ShowHide-Menu-items-based-on-Role-in-ASPNet.aspx
But My Questions is How to Register Admin and Client user?
You need to design the page which inserts these details. Create TextBox and On Button click inserts the User details.
If you insert 1 for Roll Id then it will be Admin and if your insert 2 then it will be User.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.