ADO.NET INTERVIEW QUESTION & ANSWERS
56. |
What ADO.NET class is used to ensure consistency between primary and foreign
keys in a Dataset? |
|
The ForeignKeyconstraint class ensures consistency between records in a
Dataset. |
57. |
Which method do you invoke on the DataAdapter control to load your generated dataset with data? |
|
DataAdapter' fill () method is used to fill load the data in dataset. |
58. |
What does ADO mean? |
|
ADO stands for ActiceX Data Objects.It was introduced few years ago as a solution to accessing data that can be found in various forms, not only over a LAN but over the internet. It replaced the data access technologies RDO(Remote Data Objects) and DAO (Data Access Objects). |
59. |
What is DataAdapter? |
|
A data adapter represents a set of methods used to perform a two-way data updating mechanism between a disconnected DataTable and the database. It aggregates four commands: select, update, insert and delete command. One adapter can only generate and fill one table in a DataSet. |
60. |
What are the various methods provided by the dataset object to generate XML? |
|
- ReadXML : Read's a XML document in to Dataset.
-
GetXML : This is a function which returns the string containing XML document.
- WriteXML : This writes a XML data to disk.
|