Can anyone give me a clue about how to dynamically create buttons that will call a function in asp.net.

The purpose is that I have this table of records and would like the user to be able to just click a button and have it do something. Whether it be email the user on the current record or delete the record.

I have tried to asp asp buttons and html buttons and they both don't seem to do anything. I had the "mailto:[email protected]" in the button but it did not do anything.

Any help would be appreciated.

Thanks.