I'm using Roles in my web site.
How do I create and If statment to say:
IF (User Role = Administrator) then
<asp:CommandField ShowEditButton="True" />
<asp:CommandField ShowEditButton="False" />
Then were do I put this code (in the code behide? or on the page it's self)?