91-9990449935 0120-4256464 |
ADO.NET Interview QuestionsA list of top frequently asked ADO.NET interview questions and answers are given below. 1) What is ADO.NET?ADO.NET stands for ActiveX Data Objects. It is a major component of .NET framework. It is designed to connect with different databases like SQL, MySQL, Oracle, and MS Access etc. 2) What are the objects of ADO.NET?The two important objects of ADO.Net are:
3) What does DataReader Object?The DataReader object of ADO.NET is used to provide access of data from a specified data source. It contains classes to sequentially read data from a data source like Oracle, MS Access, SQL Server etc. 4) Can we load multiple tables in a Dataset?Yes, you can load multiple tables in a dataset. 5) What are the important features of ADO.NET?
6) What are the advantages of ADO.NET?Following are the advantages of ADO.NET:
7) What are the main differences between classic ADO and ADO.NET?These are the main differences between ADO and ADO.NET:
8) What is LINQ?LINQ is a native query language for .NET framework. It is specially designed to support queries with .NET applications. It can be connected with SQL and MS Access. 9) Is it possible to edit data in Repeater control?No. It is read-only and forward-only control so it is not possible to edit data in repeater control. 10) Which ADO.NET object is very fast in getting data from database?SqlDataReader object. 11) What is connection pooling?Connection pooling contains database collections so that the connection can be used or reused whenever there is a request to the database. This technique increases the performance of executing the database commands because there is no need to create new connection. 12) What are the ADO.NET connection pooling parameters?
13) Do you use stored procedure in ADO.NET?Yes, You can use stored procedure in ADO.NET. It makes the performance fast because stored procedures are precompiled. 14) What is the use of Dataview?Dataview is used to represent a whole table or a part of table. It is used for sorting and searching data in the data table. 15) What are the data providers used in ADO.NETFollowing are the data providers used in ADO.NET:
16) What is the difference between Data Reader and Data Adapter?
17) What are the different layers of ADO.NET?Following are three different layers of ADO.NET:
18) Why is stored procedure used in ADO.NET?Stored Procedure is used for following reasons:
19) What is the default timeout specified for SqlCommand.CommandTimeout property?The default timeout for SqlCommand.CommandTimeout property is 30 second. 20) What are the several execute methods of ADO.NET?These are the different execute methods of ADO.NET command object:
|