What's the difference between Dataset.clone and Dataset.copy?
Answer Posted / dasaradhi
Clone -- Creates another reference (Pointer) to the same
location.
Copy -- Creates two different references to two different
Address Spaces
DataSet dsOriginal = new DataSet();
DataSet dsClone = dsOriginal.Clone();
DataSet dsCopy = dsCopy.Copy();
What does this mean?
Well, here is the answer.
If you make changes to dsClone, they will reflect in
dsOriginal also. where as you do changes to dsCopy, the
changes will not reflect in dsOriginal.
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
Do you use stored procedure in ado.net?
How to load multiple tables into a dataset?
What are the essential features of ado.net?
Describe the disconnected architecture of ADO.NET’s data access model.
What is the difference between ado.net and oledb?
What is difference between datatable and dataset?
Does executenonquery return a value?
What is full form of ado?
What is defaultview in datatable?
How do you update a dataset in ado.net and how do you update database through dataset?
What is disconnected architecture in ado.net?
What are the data access namespaces in .NET?
How can we load multiple tables in to dataset?
Does entity framework use ado.net?
What are good ado.net object to replace to ado recordset object.