I inherited a VB.NET app that uses a ComponentOne C1TrueDbGrid, bound to a dataset filled by an SQL query.
How can I programmatically determine the number of rows in the data grid?
I can easily determine the number of rows in the bound dataset table, but that may not be accurate in the grid due to filtering applied in the Filter bar of the C1 datagrid.
And the VisibleRows property is not correct either; I need the total row count based on filtering, not just what is currently visible.
Many thanks.
How can I programmatically determine the number of rows in the data grid?
I can easily determine the number of rows in the bound dataset table, but that may not be accurate in the grid due to filtering applied in the Filter bar of the C1 datagrid.
And the VisibleRows property is not correct either; I need the total row count based on filtering, not just what is currently visible.
Many thanks.