there is much you are not telling us. you will need to determine whether or not the person is an administrator. you will then need to store that concept somewhere (maybe a session variable). you will then need to test against that value, and only display the button if the user is indeed an admin.
something like:
Code:
If Session("blnIsAdmin") = True Then
Response.Write ("<input type='button' value='Delete' name='Action' />")
End If
*cLFlaVA
----------------------------
[tt]mr. pibb + red vines = crazy delicious![/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.