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(); 

 

        }

posted @ 2013-04-22 11:24  chenaran  阅读(293)  评论(0编辑  收藏  举报