protected void EGV_RowCommand(object sender, GridViewCommandEventArgs e) { switch (e.CommandName) { case "del2": bll.Del(Convert.ToInt32(e.CommandArgument)); break; } MyBind(); }