Reputation: 5899
In System.Windows.Forms.DataGridView
it is DataGridView.Rows.Count
. But how can I get Dev Express GridView's rows count?
Upvotes: 4
Views: 16108
Reputation: 59
Dim rowCount As Integer = 0 '''declare rowCount as integer to hold the count value
GridView.RowCount = rowCount '''//Now assign the the count to rowCount
Upvotes: 2
Reputation: 119
You can count rows using a CSS class which has applied on grid view rows for e.g.
var number = $('tr.dxgvDataRow').length;
Upvotes: 0
Reputation: 31
In Dev Express There is a Grid Control and Inside this grid control view is there, so you can use gridview.rowcount property to get the number of rows in a gridview.
Upvotes: 2
Reputation: 15232
You will need to get the View
inside of the GridView
and then access the RowCount
Property
Upvotes: 8