number of rows returned..rowcount

Database
Enthusiast

number of rows returned..rowcount

hi,
how do i get the rowcount or the number of rows affected by the last query?
somethign like rowcount in oracle.