Alien head

ADO .Net Quiz 2

Description: ADO .Net Quiz 2
Number of Questions: 16
Created by:
Tags: .net ado

Which database is the ADO.NET SqlConnection object designed for?

  1. Access

  2. Microsoft SQL Server

  3. MySQL

  4. Oracle

  5. None of the above.

Answer: 2

Which is not a tab on the DataLink Property window?

  1. Advanced

  2. All

  3. Adapter

  4. Connection

  5. Provider

Answer: 3

What information is specified in the Connection tab of the DataLink window?

  1. Database login

  2. Database name

  3. Database type

  4. Both a and b.

  5. All of the above.

Answer: 4

The first step of configuring a DataAdapter is to select:

  1. an adapter object.

  2. a connection object.

  3. a database object.

  4. a dataset object.

  5. None of the above.

Answer: 2

Which DataAdapter Query Type can be used with the Access database?

  1. Use SQL statements.

  2. Create new stored procedure.

  3. Use existing stored procedure.

  4. Both a and b.

  5. All of the above.

Answer: 1

Which is not an ADO.NET DataAdapter Object?

  1. OleDbDataAdapter

  2. SQLDataAdapter

  3. QueryDataAdapter

  4. Both a and b.

  5. All of the above.

Answer: 3

Which is the appropriate prefix for a DataAdapter object?

  1. da

  2. daa

  3. dad

  4. dt

  5. dta

Answer: 1

Which type of object has the Generate Dataset method?

  1. Adapter object

  2. Connection object

  3. Database object

  4. Dataset object

  5. None of the above.

Answer: 1

Which is the appropriate prefix for a Dataset object?

  1. da

  2. das

  3. dat

  4. ds

  5. dst

Answer: 4

Which object does the data-aware control bind to?

  1. Dataset

  2. DataAdapter

  3. Connection

  4. Both a and b.

  5. All of the above.

Answer: 1

What is the proper code to put data into the dataset called CustomerDataset using the CustomerDataAdapter object?

  1. CustomerDataset.Fill(CustomerDataAdapter)

  2. CustomerDataAdapter.Fill(CustomerDataset)

  3. CustomerDataset.Load(CustomerDataAdapter)

  4. CustomerDataAdapter.Load(CustomerDataset)

  5. None of the above.

Answer: 2

Which object contains the Position property of the current record in a dataset?

  1. BindingContext

  2. BindingData

  3. DataBinding

  4. DataBound

  5. DataContext

Answer: 1

The first record in a dataset has a position property of:

  1. zero

  2. one

  3. any value defined by the programmer

  4. Both a and b

  5. All of the above

Answer: 1

Which below is specified by the DataMember Property?

  1. Connection object

  2. DataAdapter object

  3. Database field

  4. Database table

  5. Dataset object

Answer: 4

Which below is specified by the DataSource Property?

  1. Connection object

  2. DataAdapter object

  3. Database field

  4. Database table

  5. Dataset object

Answer: 5

Which is a property of the DataGrid control?

  1. DataMember

  2. DataSource

  3. DataQuery

  4. Both a and b.

  5. All of the above.

Answer: 4
+ View questions