Dev获取选中行的某列的值(通过注册FocusedRowChanged)

编程

 private void gdvWIPMain_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)

{

if (e.FocusedRowHandle >= 0)

{

GlobalVariable.gsCurrentLotID = this.gdvWIPMain.GetFocusedRowCellValue("LOT_ID").ToString();

}

else

{

GlobalVariable.gsCurrentLotID = "";

}

}

 

以上是 Dev获取选中行的某列的值(通过注册FocusedRowChanged) 的全部内容, 来源链接: utcz.com/z/511301.html

回到顶部