Questions
Which database is the ADO.NET SqlConnection object designed for?
- Access
- Microsoft SQL Server
- MySQL
- Oracle
- None of the above.
Which is not a tab on the DataLink Property window?
- Advanced
- All
- Adapter
- Connection
- Provider
What information is specified in the Connection tab of the DataLink window?
- Database login
- Database name
- Database type
- Both a and b.
- All of the above.
The first step of configuring a DataAdapter is to select:
- an adapter object.
- a connection object.
- a database object.
- a dataset object.
- None of the above.
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.
- All of the above.
Which is not an ADO.NET DataAdapter Object?
- OleDbDataAdapter
- SQLDataAdapter
- QueryDataAdapter
- Both a and b.
- All of the above.
Which is the appropriate prefix for a DataAdapter object?
- da
- daa
- dad
- dt
- dta
Which type of object has the Generate Dataset method?
- Adapter object
- Connection object
- Database object
- Dataset object
- None of the above.
Which is the appropriate prefix for a Dataset object?
- da
- das
- dat
- ds
- dst
Which object does the data-aware control bind to?
- Dataset
- DataAdapter
- Connection
- Both a and b.
- All of the above.
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)
- None of the above.
Which object contains the Position property of the current record in a dataset?
- BindingContext
- BindingData
- DataBinding
- DataBound
- DataContext
The first record in a dataset has a position property of:
- zero
- one
- any value defined by the programmer
- Both a and b
- All of the above
Which below is specified by the DataMember Property?
- Connection object
- DataAdapter object
- Database field
- Database table
- Dataset object
Which below is specified by the DataSource Property?
- Connection object
- DataAdapter object
- Database field
- Database table
- Dataset object
Which is a property of the DataGrid control?
- DataMember
- DataSource
- DataQuery
- Both a and b.
- All of the above.