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


Please Help Members By Posting Answers For Below Questions

What are the uses of Stored Procedure?

553


What is an example of ordinal data?

485


Which is faster sqldataadapter and sqldatareader?

498


Which one of the objects is a high-level abstraction of the connection and command objects in ado.net?

632


What is bubbled event?

535






What does executereader return?

525


What is ole data type?

503


How do you implement locking concept for dataset?

541


What is the provider being used to access oracle database?

501


Define the executescalar method?

517


Explain sqlconnection object?

536


What is microsoft ado.net?

578


Which object holds only data and does not interact with data source?

498


Some important instruction regarding ADO.NET connection string ?

542


What is the default Timeout for SqlCommand.CommandTimeout property?

501