GridView修改成功后直接退出编辑状态

GridView1.EditIndex = -1;
原文地址:https://www.cnblogs.com/dabaopku/p/1905999.html