hi there,
i've one requirement
i am using a button in three different rows
for example
( <tr id="tr1"> <td/>
<tr id ="tr2"> <td/>
<tr id="tr3> <td/>)
here i am using one button control (instead of 3 buttons) in 3 different rows
now in button onclick event, how can i distinguish the button depend upon the table row or table data id property
for example
public void btn_onclick(object sender,event args e)......
{
if(tr.id == "tr1")
do this
else if( tr.id == "tr2")
do this
..........
}