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.
Unfortunately, activation email could not send to your email. Please try again.

No subject

Thread ID:

Created:

Updated:

Platform:

Replies:

1612 Nov 14,2002 11:39 AM Nov 14,2002 01:40 PM Windows Forms 1
loading
Tags: GridControl
jyotsna
Asked On November 14, 2002 11:39 AM

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 01:40 PM

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

CONFIRMATION

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.

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.

;