Hello all,
Can the UltraGrid rows collection be cast to a DataRowCollection or some other list of DataRows or DataRowViews? Similarly, can the UltraGrid columns collection be cast to a DataColumnCollection or some other list of DataColumns? Thanks in advance for any ideas and/or suggestions!
This works for me:
UltraGrid1.Rows.OfType(Of Infragistics.Win.UltraWinGrid.UltraGridRow).Select(Of DataRow)(Function(row) DirectCast(row.ListObject, DataRow))
Hello,
To use linq, don't the objects have to implement IEnumerable and IEnumerable<T> as well as IQueryable and IQueryable<T>? Does the grid Rows collection implement the interfaces to allow it to be used with linq?
Yes, I am targeting 3.5.
VB.NET should have OfType. Do you use .NET Framework 3.5?
Do you have a VB.Net equivalent? I haven't been able to find the OfType equivalent.