Tuesday, July 12, 2011

C# and ADO.NET interview questions :- What is the difference between Dataset.clone() and Dataset.copy()?

The answer is the easy , people just get confused by the word clone and copy as they almost mean same things.
Dataset.clone(): The clone function only copies the structure of the dataset, including all schemas, relations, and constraints but it does not copy data.

Dataset.copy(): The copy function copies both the structure and data.

Following is the SQL server interview questions which shows difference between unique key and primary key.

Please click here to see more C# and ADO.NET Interview questions


Visit Authors blog for more C# and ADO.NET Interview questions

No comments: