Q-which of following are true of using ado.net dataset and data table?
A-the dataset and data tables objects requires continuous connection to the database
B- all tables in a dataset must come from the same database
C- A given instance of data table can be in only one dataset
D-Content from multiple data set can easily be combined into a single dataset that contains the net result of all changes
surbhi
Manikavelu VelayuthamPosted Oct 29, 2010, 3:03 AM
Answer is D-Content from multiple data set can easily be combined into a single dataset that contains the net result of all changes
A-the dataset and data tables objects requires continuous connection to the database - Its a disconnected one
B- all tables in a dataset must come from the same database - It can come from any database
C- A given instance of data table can be in only one dataset - It can be present in any number of dataset
Ali ZaidiPosted Oct 29, 2010, 3:41 AM
D. The Dataset could be merge with each other using the merge method
Use
DataSet dataSetToMerge=new DataSet ();
DataSet dataSet = new DataSet();
dataSet.Merge(dataSetToMerge);