Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
How to access GridRecord by Key
posted

Hi,

I was trying to figure out how to get GridRecord by specified key.

For instance,

Dim m_value as String = "134"

Dim record as Infragistics.Web.UI.GridControls.GridRecord = webdatagrid1.Rows.findbykey(m_value)

THanks,

CHi Ming

  • 435
    Verified Answer
    posted

    Never mind.

    I was able to get a record by using FromKey() method

    Dim m_processID(0) As Object
    m_processID(0) = "11223"
    Dim dgRecord As Infragistics.Web.UI.GridControls.GridRecord = webdatagrid1.Rows.FromKey(m_processID)

    Thank you very much,

    Chi Ming