DevExpress XtraGrid 编辑数据时不能自动保存到网络

using DevExpress.XtraEditors;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraGrid;

using DevExpress.XtraGrid.Views.Base;

  

private void gridControl1_Leave(object sender, EventArgs e)

        {

        

            DevExpress.XtraGrid.Views.Base.ColumnView view = gridControl1.FocusedView as ColumnView;

            view.CloseEditor();

            view.UpdateCurrentRow(); 

        }

原文地址:https://www.cnblogs.com/aran/p/3035161.html