How do I get a row count of all rows in the grid?

I don''t want a count of selected rows I just want a count of all the rows in the GridDataBoundGrid. Scenario: For automated testing the test software needs to know the row count in the grid to match the record count in the data source for the grid.

2 Replies

AD Administrator Syncfusion Team May 14, 2004 03:12 PM UTC

Try the grid.Model.RowCount property to see if that gives you what you want.


CH Charles May 14, 2004 03:44 PM UTC

Thanks, a forgot about Modle View Controller (MVC) architecture. >Try the grid.Model.RowCount property to see if that gives you what you want.

Loader.
Up arrow icon