Hi
I have this table which I create on runtime with some rows from my
database.
What I want to do is when I create the table I want to create a button/
linkbutton/link or something beside each entry from the database and
when the user clicks on this button i want to remove the database
entry from the table.
So I guess my question is, how do I create a button with an onClick
event on runtime that knows what row it belong to.. So i can put in my
code that when this specific button gets clicked that I want to delete
this specific row which this button belongs to?
I am using asp.net and C#.
If you understand any of this mumbling, please help..
Eliyahu Goldin - 19 Sep 2007 16:31 GMT
Why don't you use a GridView control? It will build the table for you and
you can have a CommandField with a delete button in it.

Signature
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
> Hi
> I have this table which I create on runtime with some rows from my
[quoted text clipped - 11 lines]
>
> If you understand any of this mumbling, please help..