R
RP
I saw a code in a class where IDataReader is used to retrieve result
from query, even if only one column is to be retrieved. It uses a
CommandObject with ExecuteReader but not using ExecuteScalar.
For what IDataReader is used and what are the benefits of it as
compared to sime DataReader.
from query, even if only one column is to be retrieved. It uses a
CommandObject with ExecuteReader but not using ExecuteScalar.
For what IDataReader is used and what are the benefits of it as
compared to sime DataReader.