The ExecuteReader method returns a ___________ object that can be used to read the result set.

  • DataAdapter
  • DataReader
  • DataSet
  • DataView
In .NET, the ExecuteReader method is used to execute a SQL query and retrieve data from a database. It returns a DataReader object, which provides a forward-only, read-only stream of data from the database. The DataReader is efficient for processing large result sets sequentially.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *