private void SetView() { GridView gridView = (GridView)this.DefaultView; if (gridView != null) { gridView.StartSorting += new EventHandler(gridView_StartSorting); gridView.TopRowChanged += new EventHandler(gridView_TopRowChanged); gridView.RowCountChanged += new EventHandler(gridView_RowCountChanged); isViewSetted = true; } }
取得当前选中的行数据
private DataRow GetCurHisRow()
DevExpress.XtraGrid.Views.Grid.GridView
原文:https://www.cnblogs.com/cnki/p/11787732.html