What's the difference between Dataset.clone and Dataset.copy?
Answer Posted / muzism
Shallow copy is when the address of the object is assigned
to another of the same type. If a change to one is made,
the change is apparent in both instances.
Deep copy is when the entire contents of the object are
copied from one object into another. Hence, there are two
autonomous instances of the object. If a change to one is
made, the change is confined to that object.
Dataset.clone() duplicates (only) the structure of an
dataset, with no data being duplicated.
Dataset.copy() performs a deep copy of the dataset
| Is This Answer Correct ? | 19 Yes | 8 No |
Post New Answer View All Answers
How do you update database through dataset?
What is sqldatareader in ado.net?
Which is better entity framework or ado.net?
Define atomicity?
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
Explain how to copy the contents from one table to another table and how to delete the source table in ado.net?
What are the data providers in ADO.NET framework?
How to creating a SqlCommand Object?
Explain the basic use of "dataview" and explain its methods.
What Is Difference Between Ado And Ado.net?
What is the use of adodc?
Do you use stored procedure in ado.net?
how can implement dropdownlist in particular of dataset when try to update?
What do you mean by ‘batch updates’?
What is ado.net full form?