Set - 8

Question 11 :

The method that need to be invoked on the DataAdapter control to load the generated dataset with data is
* Bind()
* Fill()
* FillData()
* SetData()

Answer :

Fill()


Question 12 :

Which of the following operations can you NOT perform on an ADO.NET DataSet?
* A DataSet can be synchronised with the database.
* A DataSet can be synchronised with a RecordSet.
* A DataSet can be converted to XML.
* You can infer the schema from a DataSet

Answer :

A DataSet can be synchronised with a RecordSet.


Question 13 :

Which is the correct statement to set the alias name for namespace in C#?
* using System Data.OracleClient = aliasName;
* using aliasName = System.Data.OracleClient;
* string aliasName = using.System.Data.OracleClient;
* Both a & b

Answer :

using aliasName = System.Data.OracleClient;


Question 14 :

The property that indicates whether existing database constraints should be observed when performing updates
* EnforceConstraints
* Constraints
* GetConstraints
* ConstraintsEnforce

Answer :

EnforceConstraints


Question 15 :

State True or False: If you set AutoGenerateColumns=True and still provide custom column definitions, the DataGrid will render both
* True
* False

Answer :

False.