Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Row count in C1TrueDbGrid

Status
Not open for further replies.

JasReich

Programmer
Apr 21, 2005
3
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top