Is each button placed in a different form with a different ASP action page? Or is each button posting to the same page?
Either way, the code I showed you enables you to determine what buttons is clicked.
If you want to have one form (e.g. one set of <form> tags) with different actions, you need to use JavaScript to change the action attribute when the button is clicked....
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
I Think I Smell A Rat by
The White Stripes (Track 11 from the album:
White Blood Cells)
What's This?