DEV中获取gridControl里当前选中行的数据

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

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

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