You are on page 1of 3

3/20/2014 ADO.NET - .

NET Interview Questions and Answers Page 6


http://indiabix.com/technical/dotnet/ado-dot-net/6 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
31. Which adapter should you use, if you want to get the data from an Access database?
OleDbDataAdapter is used to get the data from an Access database.
32. Which object is used to add a relationship between two DataTable objects?
The DataRelation object is used to add relationship between two DataTable objects.
33. What are different types of authentication techniques that are used in connection strings to connect .NET
applications with Microsoft SQL Server?
Dotnet Framework
Interview Tips
Ado Net
3/20/2014 ADO.NET - .NET Interview Questions and Answers Page 6
http://indiabix.com/technical/dotnet/ado-dot-net/6 2/3
.NET applications can use two different techniques to authenticate and connect with SQL Server. These
techniques are as follows:
The Windows Authentication option
The SQL Server Authentication option
34. Explain the new features in ADO.NET Entity Framework 4.0.
ADO.NET Entity Framework 4.0 is introduced in .NET Framework 4.0 and includes the following new features:
Persistence Ignorance - Facilitates you to define your own Plain Old CLR Objects (POCO) which are
independent of any specific persistence technology.
Deferred or Lazy Loading - Specifies that related entities can be loaded automatically whenever
required. You can enable lazy loading in your application by setting the DeferredLoadingEnabled
property to true.
Self-Tracking Entities - Refers to the entities that are able to track their own changes. These changes
can be passed across process boundaries and saved to the database.
Model-First Development - Allows you to create your own EDM and then generate relational model
(database) from that EDM with matching tables and relations.
Built-in Functions - Enables you to use built-in SQL Server functions directly in your queries.
Model-Defined Functions - Enables you to use the functions that are defined in conceptual schema
definition language (CSDL).
35. What is the difference between the Clone() and Copy() methods of the DataSet class?
The Clone() method copies only the structure of a DataSet. The copied structure includes all the relation,
constraint, and DataTable schemas used by the DataSet. The Clone() method does not copy the data, which is
stored in the DataSet.
The Copy() method copies the structure as well as the data stored in the DataSet.
36. What is the use of DataView?
User-defined view of a table is contained in a DataView. A complete table or a small section of table depending
on some criteria can be presented by an object of the DataView class. You can use this class to sort and find
data within DataTable.
The DataView class has the following methods:
Find() - Finds a row in a DataView by using sort key value.
FindRows() - Uses the sort key value to match it with the columns of DataRowView objects. It returns an
array of all the corresponding objects of DataRowView whose columns match with the sort key value.
AddNew() - Adds a new row to the DataView object.
Delete() - Deletes the specified row from the DataView object according to the specified index.
Prev 1234567 Next
3/20/2014 ADO.NET - .NET Interview Questions and Answers Page 6
http://indiabix.com/technical/dotnet/ado-dot-net/6 3/3
2008-2014 by IndiaBIX Technologies. All Right s Reserved | Copyright | Terms of Use & Privacy Policy
Contact us: i nfo@i ndi abi x.com Fol l ow us on twi tter!
Bookmark to:

You might also like