header1.html

Thursday 18 April 2013

ASP.NET Quiz-5


ASP.NET Quiz-5
1.Which database is the ADO.NET SqlConnection object designed for?
Access
Microsoft SQL Server
MySQL
Oracle


2.The first step of configuring a DataAdapter is to select:
a connection object
an adapter object.
a database object
a dataset object


3.Which DataAdapter Query Type can be used with the Access database?
Use SQL statements
Create new stored procedure
Use existing stored procedure.
Both a and b.


4.Which is not an ADO.NET DataAdapter Object?
OleDbDataAdapter
SQLDataAdapter
QueryDataAdapter
None of above


5.Which type of object has the Generate Dataset method?
Adapter object
Connection object
Dataset object
Database object


6.Which object does the data-aware control bind to?
Dataset
DataAdapter
Connection
Both a and b


7.What is the proper code to put data into the dataset called CustomerDataset using the CustomerDataAdapter object?
CustomerDataset.Fill(CustomerDataAdapter)
CustomerDataAdapter.Fill(CustomerDataset)
CustomerDataset.Load(CustomerDataAdapter)
CustomerDataAdapter.Load(CustomerDataset)


8.Which object contains the Position property of the current record in a dataset?
BindingContext
BindingData
DataBinding
DataContext


9.The first record in a dataset has a position property of:
zero
one
any value defined by the programmer
Both a and b.


10.Which below is specified by the DataMember Property?
Connection object
DataAdapter object
Database field
Database table

No comments:

Post a Comment