Z
z f
Hi,
SqlDataReader must be connected to the database in order to bring data.
this is like server side cursor read only in ado.
the point is that in the SQL Profiler, when my code is running over the
records in ado recordset with server side cursor, i see SQL activity for
each move in the record.
in SqlDataReader i don't see the same activity in the profiler for each
record.
can someone explane why is the difference and is the DataReader really a
server side cursor?
TIA, z.
SqlDataReader must be connected to the database in order to bring data.
this is like server side cursor read only in ado.
the point is that in the SQL Profiler, when my code is running over the
records in ado recordset with server side cursor, i see SQL activity for
each move in the record.
in SqlDataReader i don't see the same activity in the profiler for each
record.
can someone explane why is the difference and is the DataReader really a
server side cursor?
TIA, z.