.NET - ADO.NET

Why should I learn to solve .NET: ADO.NET technical interview questions?

Learn and practise solving .NET: ADO.NET technical interview questions and answers to enhance your skills for clearing technical interviews, HR interviews, campus interviews, and placement tests.

Where can I get technical .NET: ADO.NET technical interview questions and answers with explanations?

IndiaBIX provides you with lots of fully solved .NET: ADO.NET technical interview questions and answers with a short answer description. You can download .NET: ADO.NET technical interview questions and answers as PDF files or e-books.

How do I answer .NET: ADO.NET technical interview questions from various companies?

You can answer all kinds of .NET: ADO.NET technical interview questions by practising the given exercises (short answer type). You can also find the frequently asked .NET: ADO.NET technical interview questions with answers from various companies, such as TCS, Wipro, Infosys, CTS, IBM, etc.

1.
What is the full form of ADO?
The full form of ADO is ActiveX Data Object.

2.
Explain ADO.NET in brief.
ADO.NET is a very important feature of .NET Framework, which is used to work with data that is stored in structured data sources, such as databases and XML files. The following are some of the important features of ADO.NET:
  • Contains a number of classes that provide you with various methods and attributes to manage the communication between your application and data source.
  • Enables you to access different data sources, such as Microsoft SQL Server, and XML, as per your requirements.
  • Provides a rich set of features, such as connection and commands that can be used to develop robust and highly efficient data services in .NET applications.
  • Provides various data providers that are specific to databases produced by various vendors. For example, ADO.NET has a separate provider to access data from Oracle databases; whereas, another provider is used to access data from SQL databases.

3.
What are major difference between classic ADO and ADO.NET?
Following are some major differences between both
  • In ADO we have recordset and in ADO.NET we have dataset.
  • In recordset we can only have one table. If we want to accommodate more than one tables. We need to do inner join and fill the recordset. Dataset can have multiple tables.
  • All data persist in XML as compared to classic ADO where data persisted in Binary format also.

4.
What are the two fundamental objects in ADO.NET?
DataReader and DataSet are the two fundamental objects in ADO.NET.