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?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| 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. |
| |||
| 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! |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |