feature of ADO.Net

Answer Posted / tejas mer

ADO.Net provides the base classes to access the or deal with DataBase.

The classes or namespaces depends on the type of provider we are using (like Sytem.Data.SqlClient for SQL Sever or System.Data.Oracleclient) for Oracle...

It also contains few common classes like
DBConnection
DBCommand to establish connection and execute commands respectively..

Below are the list of the classes widly used from ADO.NEt

DataSet
SQLConnection
SQLCommand
SQLDataAdapter
DataTable
DataView
SQLDataReader


Few methods widly used

DataSet.AcceptChanges();
Dataset.RejectChanges();

DataReader.ExecuteNonQuery();
DataReader.ExecuteScalar();
DataReader.ExecuteReader();


DataAdapter.Fill(DataSet);

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is executenonquery ado.net?

502


What is the difference between a datareader and a dataset?

520


oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?

1932


how we can fire event in databound coulm in datagfrid withot using button?

578


What is ado.net full form?

560






What are ado.net objects?

533


How to perform sorting on a table in ADO.NET?

559


What is Dataset Object?

567


What are the different layers of ado.net?

522


What are all components of ADO.Net data provider?

609


What are the usages of the command object in ado.net?

558


Can we load multiple tables in a dataset?

546


What is the use of connection object in ado.net?

568


What is the difference in record set and dataset?

524


Is entity framework better than ado.net?

491