What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 4111 |  Welcome, Guest!   Register  Login
 Home > Forums > Ask Interview Questions > DIFFERENCE BETWEEN DATASET.CLONE AND DATASET.COPY ...
Sekar.C

DIFFERENCE BETWEEN DATASET.CLONE AND DATASET.COPY

Replies: 3 | Posted by: Sekar.C on 4/17/2012 | Category: Ask Interview Questions Forums | Views: 649 | Status: [Member] | Points: 10  


hi,
DIFFERENCE BETWEEN DATASET.CLONE AND DATASET.COPY

Regards
Sekar.c


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Sakthi.Singaravel
Sakthi.Singaravel  
Posted on: 4/17/2012 5:54:28 AM
Level: Silver | Status: [Member] | Points: 25

DataSet.Clone: Copies only the structure of the dataset. It includes the schema of all datatables and their constraints and excluding data in the tables.
DataSet.Copy. Copies the structure of the dataset along with its data.



Regards,
Singaravel M

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Sunny4989
Sunny4989  
Posted on: 4/17/2012 5:54:28 AM
Level: Starter | Status: [Member] | Points: 25

Clone:
It copies the structure not the data.
copy
It copies both the data and the structure.

------------------------------------------------
Learn throughout life

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Sakthi.Singaravel
Sakthi.Singaravel  
Posted on: 4/17/2012 5:55:20 AM
Level: Silver | Status: [Member] | Points: 25

dataset.clone copies just the structure of dataset (including all the datatables, schemas, relations and constraints.); however it doesn't copy the data. On the other hand dataset.copy, copies both the dataset structure and the data.

http://www.dotnetfunda.com/interview/exam1912-diff-bw-datasetclone-and-datasetcopy.aspx

Regards,
Singaravel M

Sekar.C, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

Found interesting? Add this to:


 Latest Posts

Write New Post | More ...

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/26/2013 2:06:17 AM