As I recall, DataGridName.Items.Count should return this - but be sure to do
it after it's been bound to its datasource, or you'll be counting an empty
grid.
The data source for the DataGrid is always going to implement IList.
Get the data source, cast it to IList, and then use the Count property to
determine how many items are in the grid.