Can I use One Data Set for More than one Data Adapter?
Answer Posted / neha
Yes, we can do that. But data from all adapters will get
filled in the same default datatable of the dataset.
That is, when we fill dataset with one adapter, the contents
got filled in the table, and when we fill the same dataset
again with the different adapters, the rows retrieved are
appended to the already existing table of the dataset.
So, if you want to just fill the dataset, you can do this,
but obviously, this won't be useful in other scenarios.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What does executequery return?
What are the namespaces used in ADO.Net to connect to a database?
What is the difference between data grid and data repeater?
What is execute scalar in ado.net?
What is the difference between Optimistic and Pessimistic locking?
What is ado connection?
Which method is used to sort the data in ADO.Net?
What is the use of ADO.NET and XML web services?
Some important instruction regarding ADO.NET connection string ?
How to load multiple tables into a dataset?
What does sqldatareader return?
Can datareader hold data from multiple tables?
Describe ado.net object model in detail.
Explain which name space is used to get assembly details?
What are the rules to implement connection pooling?