dbgrid中显示的数据集应该是从TTable或者是TQuery控件来的吧,那么只需利用recordcount属性就可显示记录数。
Label1.caption:=inttocount(Table1.recordcount);