Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dev Express GridView rows count

In System.Windows.Forms.DataGridView it is DataGridView.Rows.Count. But how can I get Dev Express GridView's rows count?

like image 687
Vano Maisuradze Avatar asked Dec 16 '22 15:12

Vano Maisuradze


2 Answers

You will need to get the View inside of the GridView and then access the RowCount Property

like image 70
msarchet Avatar answered Dec 27 '22 11:12

msarchet


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.

like image 35
Megha Walia Avatar answered Dec 27 '22 11:12

Megha Walia