Introduction:
Description:
In previous post I explained ExecuteScalar Example, ExecuteNonQuery Example and differences between ExecuteNonQuery, ExecuteReader and
ExecuteScalar in asp.net. Now I will explain ExecuteReader concept with one
example in asp.net using C#.net,
VB.NET.
ExecuteReader
Execute
Reader will be used to return the set of rows, on execution of SQL Query or
Stored procedure using command object. This one is forward only retrieval of
records and it is used to read the table values from first to last.