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
What are the rules to implement connection pooling?
Define partial class?
What are the Data providers in ADO.Net?
What connected data?
What are the parameters that control most of connection pooling behaviors?
What are the benefits of using of ADO.NET in .NET 4.0?
What is basic use of data view?
Explain sqlconnection object?
What are the connected and disconnected modes in ado.net?
What is the executescalar method?
What is difference between datagridview and datagrid control in winforms?
What is the use of adodc?
How to maintain the relation between two tables in ADO.NET?
Which is faster entity framework or ado.net?
What is datatable in ado.net?