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 executenonquery ado.net?
What is the difference between a datareader and a dataset?
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?
how we can fire event in databound coulm in datagfrid withot using button?
What is ado.net full form?
What are ado.net objects?
How to perform sorting on a table in ADO.NET?
What is Dataset Object?
What are the different layers of ado.net?
What are all components of ADO.Net data provider?
What are the usages of the command object in ado.net?
Can we load multiple tables in a dataset?
What is the use of connection object in ado.net?
What is the difference in record set and dataset?
Is entity framework better than ado.net?