Classic ASP ObjectRecordSet.MoveNext equivalent in Asp.Net

By Santhosh N

This explains the equivalent of ObjectRecordSet.MoveNext ofclassic ASP in Asp.Net

In ASP, to read through the records from the Database table in forward only manner, we use ObjectRecordSet.MoveNext.
Now in Asp.Net, to do this in same manner using recordset we use readers and these are available in different versions as follows:


1) OleDBDataReader.Read() in OleDB Connection
2) SQLDataReader.Read() in SQL Connection
3) OracleDataReader.Read() in Oracle connection

Related FAQs

This explains about the co-existence of ASP and ASP.Net websites in the same server
This explains the equivalent of global.asa of classic ASP in Asp.Net
Classic ASP ObjectRecordSet.MoveNext equivalent in Asp.Net  (957 Views)