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
Do you use stored procedure in ado.net?
How would you connect to database using .NET?
What are all features of ADO.Net?
Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?
What is the use of Dataview?
What is ole word?
What is Data view?
What providers does Ado.net uses?
Is entity framework better than ado.net?
What is dataset object? Explain the various objects in dataset.
What are the methods of XML dataset object?
What is ado rdo dao in visual basic?
Explain all the classes those are used for database connections between sql server and asp.net?
What is the advantage of ado.net?
Which object is used to add relationship between two Datatables?