veramente era :

ds.tables(0).rows.count

cmq l'importante è che mi hai dato la dritta

thanks