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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGroupingControl GetRecordCount

Thread ID:





30646 Jun 21,2005 02:41 PM UTC Jun 21,2005 03:14 PM UTC WinForms 1
Tags: GridControl
Ross Prestmo
Asked On June 21, 2005 02:41 PM UTC

Hi, I''ve found that the grid.Table.GetRecordCount() method returns 0 when it is called soon after filling a grid (using a data Adapter), even when I know that records are returned. I''m probably checking it too quickly ... is there some call I can make to "synchronize" the internal state of the grid before calling for the count? Thanks. Ross.

Administrator [Syncfusion]
Replied On June 21, 2005 03:14 PM UTC

If you reference a table variable directly, it should trigger the initialization. int count = grid.Table.Records.Count;


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

or the page will be automatically redirected to 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