In WebDBGrid make the RowCount property public so you can check how many rows are in the grid.

We applied this change. It will be in v2.3