Using graphic buttons with ASP ....

The standard method of submitting data to a server is using the html submit or button tag :

<INPUT TYPE="submit" value="submit" Name="Test">

<INPUT TYPE="button" value="button" Name="Test">

The first looks like :



The second looks like :



However, these do not look particularly good up against other images. Graphics can be easily added to make the display more pleasant.

If you just have one button which submits a form, then you can use:

<INPUT TYPE="IMAGE" src="go.gif" border="0">

Which would look like :



If you have several buttons and you want to identify which of the buttons has been pressed then use:

<INPUT TYPE="IMAGE" src="go.gif" name="makevote" width="28" height="16" border="0">

The ASP code needed to identify which button has been pressed is:

if Request.Form(makevote.x) <> "" then
      ....do something here....
end if