How do you get the total number of records in a datagrid?

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

I can't seem to find a property in the datagrid class
that gives me the total number of records stored in it.
Is there another way to do it?
 
Interrogate the underlying datasource. For instance, if it's bound to a
datatable, DataTable.Rows.Count. If it's a DataView then DataView.Count etc
 
Back
Top