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
How we can provide data to ado.net?
Which architecture does Datasets follow?
If a table contains 20000 records. In a page at each time 100 records to be displayed.
What is executenonquery ado.net?
What is meant by ‘transaction’ in a database and what are the ‘properties of transaction’?
What is the difference between oledb sql server and oledbdotnet provider?
What is defaultview in datatable?
What is difference in record set and dataset?
Is ado.net dead?
what is the difference betwen typed dataset and untyped dataset?in general which dataset can we use in programming?
How to add a javaScript function in a datagrid?
What is aggregate root?
What are the connected and disconnected modes in ado.net?
What does executereader return?
Difference between sqlcommand and sqlcommandbuilder?