What is ADO.NET Data Structures?

What is ADO.NET Data Structures?

ADO.NET has three different ways of accessing database information directly which are:
1.Commands :-have classes  SqlCommand and OleDbCommand , used directly to retrieve results from database queries.Command classes always support the IDbCommand interface.Commands classesare used to get a scalar result (the first column of the first row of a result set) or out parameters of a stored procedure.sort of data is retrieved using IDbCommand.ExecuteScalar() and IDbCommand.ExecuteNonQuery()

2.DataReaders has  SqlDataReader and OleDbDataReader.These classes are provide something similar to ADO's Recordset using a forward-only cursor.
3.DataSets classes Microsoft uses DataReaders within the managed providers' DataAdapters to fill DataSet

Date:2030-09-10 00:00:00

Post Your Answers

User Email:

User Name:

Related ADO.NET Subjective Links

ADO.NET Subjective interview questions and answers for experienced and fresher