The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team 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())