+ -
当前位置:首页 → 问答吧 → 如何获取lookupEdit的当前所选行

如何获取lookupEdit的当前所选行

时间:2011-12-21

来源:互联网

是要当前所选行,用户选择了那一行就是那一行,而不是根据条件查出来的,因为条件有多个事先不满足
求教了!

作者: dongzhuo   发布时间: 2011-12-21

gridview中?
DataGridView.CurrentRow.Cells[列].Value

作者: anboat   发布时间: 2011-12-21

是嵌在表格中的LookupEdit,LookupEdit,LookupEdit,LookupEdit.

作者: dongzhuo   发布时间: 2011-12-21

是嵌在表格中的LookupEdit,LookupEdit,LookupEdit,LookupEdit.

作者: dongzhuo   发布时间: 2011-12-21

作者: qiujialongjjj   发布时间: 2011-12-21

这种呢?
for(int r =0;r<table.rows.count;r++)
{
  for(int c =0;c<table.rows[r].cells.count;c++)
  {
  if(table.rows[r].cells[c].selected)
  {
  ............
  }
  }
}

作者: anboat   发布时间: 2011-12-23