Dev Express GridView rows count

13,971

Solution 1

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

Solution 2

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.

Solution 3

Dim rowCount As Integer = 0 '''declare rowCount as integer to hold the count value

GridView.RowCount = rowCount '''//Now assign the the count to rowCount

Share:
13,971
Vano Maisuradze
Author by

Vano Maisuradze

Updated on June 07, 2022

Comments

  • Vano Maisuradze
    Vano Maisuradze almost 2 years

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

  • dialex
    dialex over 9 years
    I came here looking for a Delphi answer. If your like me you should use yourGridNameView.ViewData.RowCount