We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





13973 May 14,2004 03:05 PM UTC May 14,2004 03:44 PM UTC WinForms 2
Tags: GridControl
Asked On May 14, 2004 03:05 PM UTC

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.

Administrator [Syncfusion]
Replied On May 14, 2004 03:12 PM UTC

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

Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon