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
What is bubbled event can you please explain?
Data reader read and forward only, how is it possible to get 2 tables of data at a time?
What is command class in ado.net?
What are the important features of ado.net 2.0?
What do you mean by ‘batch updates’?
What is an example of ordinal data?
What is difference between executequery and executeupdate?
Is it possible to load multiple tables in a Dataset?
How we can provide data to ado.net?
What is data relation in ado.net?
Define table relations?
Explain the advantage of ADO.Net?
What is a serialized object?
What is the role of the dataset object in ado.net?
How to create dynamic gridview?