Posted on: 9/24/2012 1:40:32 AM | Views : 200

hi any help.. i want to remove my data but i dont know how can i remove it using a programatically created button.. can u help me.. thanks heres my code

TableCell tc5 = new TableCell();

ImageButton i_remove = new ImageButton();
i_remove.ImageUrl = "~/images/(delete).gif";
i_remove.ToolTip = "Remove";
i_remove.ID = i_questcnt.ToString();
i_remove.Click +=  ????????????
//i_remove.OnClientClick = return confirm("Are you sure you want to remove this file?");
tc5.Controls.Add(i_remove);
tr.Cells.Add(tc5);


then how can i call the event handler?? using asp. net c#.. thanks
...

Go to the complete details ...