There is no recordcount in ADO.Net but this will get you what you are after.
'This connection string connects to access. I am not sure what you are connecting to?
Dim strConn as string ="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & server.mappath("/experiments/data/biblio.mdb"

& ";"
'This is your Sql String count will give you a count of rows.
Dim strSQL as string ="select count(*) from publishers where state='NY'"
Dim Conn as New OLEDBConnection(strConn)
Dim Cmd as New OLEDBCommand(strSQL,Conn)
Conn.Open()
'ExecuteScalar returns just one record. The count
Dim countOfRecords as integer
countOfRecords =cmd.executescalar()
Conn.Close()
DotNetDoc
M.C.S.D.
---------------------------------------
Tell me and I forget. Show me and I remember. Involve me and I understand.
- Anonymous Chinese Proverb
-----------------------------------
If you can't explain it simply, you don't understand it well enough.
- A. Einstein