Interviews12 answers
Define Execute Reader?
12 Answers
To get data from table
VIJAY KUMARPosted Dec 9, 2020, 7:54 AM EST
ExecuteReader is used for any result set with multiple rows/columns (e.g., SELECT col1, col2 from sometable).
Bharathi RajaPosted Jan 19, 2018, 8:24 PM EST
the execute reader get single data one by one from database
Keerthi VenkatesanPosted Apr 1, 2016, 2:12 AM EDT
Execute Reader is ADO.Net command and it works forward only and read only. this fetch the record one by one from database
the biggest drawbacks is it is not move backward direction so it is not updated a data.it is using for read a data from database
Santosh KumarPosted Nov 27, 2015, 2:15 AM EST
Fetches single record at a time from database.
Sreekanth ReddyPosted Nov 4, 2015, 1:41 AM EST
ExecuteReader is used for any result set with multiple rows/columns (e.g., SELECT col1, col2 from sometable).
bharat aggarwalPosted Oct 15, 2015, 10:58 PM EDT
ExecuteReader is a predefined member method of Command Class
which is used in ConnectionOriented Architecuter.
Return type of the ExecuteReader() is DataReader
used to execute the commands
Srinivas PabballaPosted Aug 28, 2015, 12:07 AM EDT
ExecuteReader is a command method used with connection oriented.
This command method needs open dadabase connection.
It works in forward only mode. If we want to retrieve more records then we will use datareader.
sridhar thotaPosted May 25, 2015, 7:21 AM EDT
The ExecuteReader() in C# SqlCommand Object sends the SQL statements to the Connection Object and populate a SqlDataReader Object based on the SQL statement.
Vithal WadjePosted Dec 31, 2014, 8:26 AM EST
Execute Reader is ADO.Net command and it works forward only and read only. this fetch the record one by one from database
Pramod LawatePosted Aug 26, 2013, 8:53 AM EDT
Execute Reader is an Connected ADO.NET object used to fetch single record at a time
nethaji naiduPosted Jul 10, 2013, 5:47 AM EDT
In ADO.net Execute Reader its for fetch record on by one , Reader always work forward, and for reader connection must require , cant work in disconnected mode.
Kunal VaishyaPosted Jul 8, 2013, 11:20 PM EDT









