protected void gvTool_RowDeleting(object sender, GridViewDeleteEventArgs e) { int id = Convert.ToInt32(gvTool.DataKeys[e.RowIndex].Value); ToolInfo.ToolDel(id); gvDataBind(); }