IT Community - Software Programming, Web Development and Technical Support

Can anybody explain about the differences between dataset.clone and dataset.copy?

This is a discussion on Can anybody explain about the differences between dataset.clone and dataset.copy? within the C# Programming forums, part of the Software Development category; Can anybody explain about the differences between dataset.clone and dataset.copy?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C# Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-22-2007, 11:05 PM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Question Can anybody explain about the differences between dataset.clone and dataset.copy?

Can anybody explain about the differences between dataset.clone and dataset.copy?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-26-2007, 01:17 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Smile Re: Can anybody explain about the differences between dataset.clone and dataset.copy?

dataset.clone method copies the structure of the DataSet, including all datatable schemas, relations, and constraints. But it does not copy any data. Whereas, dataset.copy method copies both the structure and data.It returns a new DataSet object having the same structure (including all DataTable schemas, relations, and constraints) and data as the existing DataSet object.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 08-28-2007, 12:22 AM
S.Vinothkumar S.Vinothkumar is offline
D-Web Genius
 
Join Date: May 2007
Posts: 1,061
S.Vinothkumar is on a distinguished road
Wink Re: Can anybody explain about the differences between dataset.clone and dataset.copy?

Clone: - It only copies structure, does not copy data.

Copy: - Copies both structure and data.
__________________
S.VinothkumaR
Behind me is infinite power,
Before me is Endless Possibility,
Around me is Boundless Opportunity,
Why should I fear!
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can we sort the values in dataset? mobilegeek C# Programming 4 04-18-2008 04:39 AM
Removing duplicate rows in a DataSet shaalini ASP and ASP.NET Programming 2 02-13-2008 09:33 PM
Read XML by Dataset gp_logesh ASP and ASP.NET Programming 0 10-31-2007 03:13 AM
how to update dataset to sql server? smani ASP and ASP.NET Programming 1 09-06-2007 07:29 AM
Difference between ADO.NET dataset and ADO Record set? prasath ASP and ASP.NET Programming 1 07-18-2007 08:06 AM


All times are GMT -7. The time now is 11:12 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0