Saturday, 27 April 2013

Can you update the database using DataReader object? | ASP.Net interview questions

No, You cannot update the database using DataReader object. DataReader is read-only, foward only. It reads one record at atime. After DataReader finishes reading the current record, it moves to the next record. There is no way you can go back to the previous record.

No comments: