Beispiel #1
0
 protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "Del")
     {
         admin.admin_Del(e.CommandArgument.ToString());
         GridView1.DataSource = admin.adminSel();
         GridView1.DataBind();
     }
 }