获取gridview中选择行时,前一次选择的行的数据

        private void gridView1_BeforeLeaveRow(object sender, DevExpress.XtraGrid.Views.Base.RowAllowEventArgs e)
        {
            int intRowHandle = e.RowHandle;
            object oRevDate = gridView1.GetRowCellValue(intRowHandle, gridColumn8);
            txtJMC.Text = oRevDate.ToString();
        }

博主设置当前文章不允许评论。

没有更多推荐了,返回首页