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

No subject

Thread ID:





1612 Nov 14,2002 04:39 PM UTC Nov 14,2002 06:40 PM UTC WinForms 1
Tags: GridControl
Asked On November 14, 2002 04:39 PM UTC

I have a GridDataBoundGrid that is populated with data from a dataset. If I have 2 rows of data then during display, I can actually see 3 rows displayed, with the 3rd row being empty. Now the problem is that if i do a GridDataBoundGrid1.Model.RowCount then it returns me 3. Whereas the ans I am looking for is 2. Is there another method to get back the actual no of rows dispalyed that have data. Thanks Jyotsna

Administrator [Syncfusion]
Replied On November 14, 2002 06:40 PM UTC

You can get the count from the CurrencyManager. Dim rows As Integer = Me.BindingContext(gridDataBoundGrid1.DataSource, gridDataBoundGrid1.DataMember).Count MessageBox.Show(rows.ToString())


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