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
Which ado.net object is very fast in getting data from the database?
What is the difference between ado.net and oledb?
What Is Difference Between Ado And Ado.net?
What is an orm, and why would you use one instead of plain old ado.net?
How to store data in memory?
What is a data control clerk?
Why do we serialize data?
What are the ado.net components?
How can I retrieve two tables of data at a time by using data reader? Data reader read and forward only, how is it possible to get 2 tables of data at a time?
What are advantages of microsoft-provided data provider classes in ado.net?
What are the 3 major types of connection objects in ado.net?
What is the difference between statement and preparedstatement interface?
What are the essential features of ado.net?
differences between ADO and ADO.NET
can we create synonymn in ms access,sql server,my sql if so explain me with example