A SqlDataReader provides a forward-only, ___________ way to read data from a database.
- Bidirectional
- Random Access
- Sequential
- One-way
The correct option is Option 3: Sequential. A SqlDataReader provides a forward-only, sequential way to read data from a database. It can only move in one direction, typically from the first row to the last, and cannot jump to specific rows or move backward.
Loading...
Related Quiz
- ADO.NET Datasets allow you to work with data in a ___________ manner.
- You need to retrieve data from multiple related tables in a database using a single SQL query. Which SQL clause will be crucial in this situation?
- The Code-First approach in Entity Framework focuses on creating the database ___________ based on entity classes.
- What is the primary purpose of the DbContext class in Entity Framework?
- In LINQ to DataSet, what is the primary purpose of the from clause?