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
802
DataRow
posted

Hello,

Is there way to obtain a UltraGridRow from a DataRow? Please advise.

Adrian

 

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Adrian,

        If you know the index of the row you can use the GetRowWithListIndex method on the Rows collection.

        Otherwise, you will need to loop through the rows in the grid and examine the ListObject property of the row and compare it to the object you are looking for. If you are using a DataSet, keep in mind that the ListObject will return a DataRowView, not a DataRow - so be sure to get the Row propety from the DataRowView before you try to compare.  

Reply Children