Q.1) | The DataAdapter is used to link the DataSet to the data source. | |
A. | True (correct answer) | |
B. | False |
Q.2) | The SqlDataAdapter is used to edit data in the sql server database and update DataSet. | ||
A. | True | ||
B. | False (correct answer) | ||
Q.3) | The OleDbDataAdapter class is used to connect to multiple databases such as SQL, Oracle and MS Access. | |
A. | True (correct answer) | |
B. | False |
Q.4) | The AccepChangesDuringFill property indicates how the DataReader object is used to fill the DataSet. | |||
A. | True | |||
B. | False (correct answer) | |||
Q.5) | The Fill() method uses the DataSet name to add or refresh rows in the DataSet to match with those in the data source. | |
A. | True (correct answer) | |
B. | Fasle |
Q.6) | Links a DataSet to the MS Access database for retrieving and saving data. | |||
A. | OleDbDataAdapter (correct answer) | |||
B. | SqlDataAdapter | |||
Q.7) | Links a DataSet to the SQL database for retrieving and saving data. | |
A. | OleDbDataAdapter | |
B. | SqlDataAdapter (correct answer) |
Q.8) | Store the SQL query results in DataTable object. | |||
A. | SqlDataAdapter (correct answer) | |||
B. | OledbDataAdapter | |||
Q.9) | Connect to multiple databases such as Sybase and Oracle. | |
A. | OledbDataAdapter (correct answer) | |
B. | SqlDataAdapter |
Q.10) | The typed DataSet is inherited from the DataSet class. | |||
A. | True (correct answer) | |||
B. | False | |||
Q.11) | The ReadXml() method is used to update the xml file. | |
A. | True | |
B. | Fasle (correct answer) |
Q.12) | The MoveNext() method of the BindingSource clas is used to navigate to a record in the DataSet. | |||
A. | True (correct answer) | |||
B. | Fasle | |||
Q.13) | The type DataSet is used to catch any wrong values fetched from a table. | |
A. | True | |
B. | Fasle (correct answer) |
Q.14) | The untype dataset is used on data that does not have static or predicable structure. | |||
A. | True (correct answer) | |||
B. | False | |||
Q.15) | This property specifies or retrieve the locale information used to compare strings in the table. | |
A. | Readxml | |
B. | Clear | |
C. | GetType | |
D. | Locale (correct answer) | |
E. | DataSetName |
Q.16) | This property specifies or retrieves the DataSet name. | |||
A. | Readxml | |||
B. | Clear | |||
C. | Locale | |||
D. | GetType | |||
E. | DataSetName (correct answer) | |||
Q.17) | This method removes rows in all tables. | |
A. | DataSetName | |
B. | Clear (correct answer) | |
C. | GetType | |
D. | Locale | |
E. | Readxml |
Q.18) | This method retrieves the type of the current instance. | |||
A. | Readxml | |||
B. | Locale | |||
C. | GetType (correct answer) | |||
D. | Clear | |||
E. | DataSetName | |||
Q.19) | This method retrieves xml schema and data into the DataSet. | |
A. | Locale | |
B. | DataSetName | |
C. | ReadXml (correct answer) | |
D. | Clear | |
E. | GetType |
..........
...........
..........
Còn nữa
Download File *.doc
Đăng kí Ziddu.com [Upload share Free]
Page Đề thi Aptech Hà Nội toàn tập A-Z |
0 nhận xét:
Post a Comment