What is the purpose of Datareader in ADO.NET?Datareader
is used to read data from a database. Before reading the data, you should
create a connection and write your query to fetch data from the database
using command object. Once these two steps are done, you can use datareader to read the resultant rows of the query defined in the command object. Here is a simple example: class sampleClass
{
FREE
Subscription
Subscribe
to our mailing list and receive new articles Note
: We never rent, trade, or sell my email lists to Visit
.NET Programming Tutorial Homepage ______________________________________________________ |