protected void rpt_list_ItemCommand(object source, RepeaterCommandEventArgs e)
 {
     if (e.CommandName == "del")
     {
         bll.DeleteItem(Convert.ToInt32(e.CommandArgument));
     }
     PageInit();
 }
Beispiel #2
0
 protected void myGrid_ItemCommand(object source, DataGridCommandEventArgs e)
 {
     if (e.CommandName == "del")
     {
         bll.DeleteItem(Convert.ToInt32(e.CommandArgument));
     }
     PageInit();
 }