Vous êtes sur la page 1sur 3

3/20/2014 ADO.NET - .

NET Interview Questions and Answers Page 2


http://indiabix.com/technical/dotnet/ado-dot-net/2 1/3
New: Electronics and Communication Engineering Questions !
search...
Arithmetic Aptitude Data Interpretation
Logical Reasoning Verbal Reasoning Non Verbal Reasoning
General Knowledge
Sudoku Number puzzles Missing letters puzzles Logical puzzles Playing cards puzzles Clock puzzles
C Programming C++ Programming C# Programming Java Programming
Microbiology Biochemistry
Biotechnology Biochemical
Engineering
Electronics and
Communication Engineering
Civil Engineering Mechanical
Engineering Chemical
Engineering Networking
Database Questions
Computer Science Basic
Electronics Digital Electronics
Electronic Devices Circuit
Simulation Electrical
Enigneering Engineering
Mechanics Technical
Drawing
Placement Papers Group Disucssion HR Interview Technical Interview Body Language
Aptitude Test Verbal Ability Test Verbal Reasoning Test Logical Reasoning Test C Programming Test Java Programming Test Data Interpretation Test
General Knowledge Test
Data Structures Operating Systems Networking DATABASE Database Basics SQL Server Basics SQL Server Advanced SQL Server 2008 JAVA Core
Java Java Basics Advanced Java UNIX Unix File Management Unix Memory Management Unix Process Managemnt C Interview Questions The C
Language Basics .NET Interview Questions .NET Framework ADO.NET ASP.NET Software Testing
Home
Aptitude
Logical Reasoning
Verbal Ability
GK
Puzzles
Engineering
Interview
Online Test
ADO.NET - .NET Interview Questions and Answers
@ : Home > Technical Interview > .NET > ADO.NET > Interview Questions
7. Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.
The DataAdapter.Update() method calls any of the DML statements, such as the UPDATE, INSERT, or DELETE
statements, as the case may be to update, insert, or delete a row in a DataSet. The
DataSet.Acceptchanges() method reflects all the changes made to the row since the last time the
AcceptChanges() method was called.
8. What is the meaning of object pooling?
Object pooling is a concept of storing a pool (group) of objects in memory that can be reused later as needed.
Whenever, a new object is required to create, an object from the pool can be allocated for this request; thereby,
minimizing the object creation. A pool can also refer to a group of connections and threads. Pooling, therefore,
Interview Test
Ado Net
ASP Net Apps
3/20/2014 ADO.NET - .NET Interview Questions and Answers Page 2
http://indiabix.com/technical/dotnet/ado-dot-net/2 2/3
minimizing the object creation. A pool can also refer to a group of connections and threads. Pooling, therefore,
helps in minimizing the use of system resources, improves system scalability, and performance.
9. Which properties are used to bind a DataGridView control?
The DataSource property and the DataMember property are used to bind a DataGridView control.
10. What property must be set and what method must be called in your code to bind the data from some data
source to the Repeater control?
You must set the DataSource property and call the DataBind() method.
11. Mention the namespace that is used to include .NET Data Provider for SQL server in .NET code.
The System.Data.SqlClient namespace.
12. What is the difference between OLEDB Provider and SqlClient?
With respect to usage, there is no difference between OLEDB Provider and SqlClient. The difference lies in their
performance. SqlClient is explicitly used to connect your application to SQL server directly, OLEDB Provider is
generic for various databases, such as Oracle and Access including SQL Server.
Therefore, there will be an overhead which leads to performance degradation.
Prev 1234567 Next
2008-2014 by IndiaBIX Technologies. All Right s Reserved | Copyright | Terms of Use & Privacy Policy
3/20/2014 ADO.NET - .NET Interview Questions and Answers Page 2
http://indiabix.com/technical/dotnet/ado-dot-net/2 3/3
Contact us: i nfo@i ndi abi x.com Fol l ow us on twi tter!
Bookmark to: