Is there an easy way to convert an infragistics UltraGridRow
to a standard DataRow
object?
Convert Infragistics UltraGridRow to DataRow
7.9k Views Asked by Mike Baxter At
3
Is there an easy way to convert an infragistics UltraGridRow
to a standard DataRow
object?
If you have set the DataSource of your UltraGrid to a DataTable then you could extract the underlying DataRow of the current ActiveRow using
Of course you could subst the ActiveRow of this example with every UltraGridRow where the IsDataRow property is true (beware of the SummaryRows and the OutlookGroupByRow)
Notice that if you bind to the DataSource a
List<CustomClass>
then theListObject
is able to return the single instance of theCustomClass