A datagrid, repeater or datalist may be a good choice. If you do not
use that, then you can set the button's CommandName and CommandArgument
properties. Instead of handling their click event, you should then
handle the Command event. All controls' Command event can have the same
event handler. Inside that event handler you can then extract the
information from the CommandName/CommandArgument properties to do your
thing.
In case you have problems related to dynamically loaded controls, you
may also want to take a look at
http://wilcoding.xs4all.nl/Wilco/View.aspx?NewsID=147.
----
- Wilco Bauwer
Blog & Custom Controls @
http://wilcoding.xs4all.nl