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 ole access?
Explain all the classes those are used for database connections between sql server and asp.net?
What are the difference between readonly vs. Const?
Explain the difference in an abstract class and an interface?
Explain the differences between oledb sql server, oledbdotnet provider?
Describe connection object in ado.net
Describe datareader object of ado.net with example.
How to perform sorting on a table in ADO.NET?
What is ado.net objects?
What is ado and rdo?
What are two important objects of ADO.Net?
What is the advantage of ado.net?
What is an ado?
What is the maximum pool size in ado.net connection string?
What is difference between executequery and executeupdate?