代码之家  ›  专栏  ›  技术社区  ›  Rev

在GridView中获取所选行(dxexprince 10 aspx.net)?

  •  0
  • Rev  · 技术社区  · 14 年前

    我是十年前的新朋友。(别以为我是这方面的专家)
    我写了一个简单的网页。为了在网格视图中设置值,我使用list并将其绑定到 Aspxgridview.Datasouce . 那么,如何访问所选行呢?(请参阅示例代码帮助)
    我想得到这个值 my self defined method not in Selection-changed method! and access to all part of this record no one part of that

    应使用客户端事件

    2 回复  |  直到 11 年前
        1
  •  2
  •   stiduck    14 年前

    您尝试过FocusedRowIndex属性吗?

    文档: FocusedRowIndex

        2
  •  0
  •   Rahul Ratna    11 年前

    使用

    aspxgridview.getrow(aspxgridview.focusedrowindex)

    方法。