Solved

C# Another instance of the same DataSet???

Posted on 2004-08-28
3
201 Views
Last Modified: 2010-04-15

This may sound elementary but I cannot seem to create another instance (in method 2)  of the original DataSet created ( in method 1). I feel somehow the trash can has it...........

Q. How do you create another instance of the same DataSet???
0
Comment
Question by:kvnsdr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 37

Expert Comment

by:gregoryyoung
ID: 11923440
yes you would use the DataSet.Clone method, it will do a deep copy of your dataset. http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatadatasetclassclonetopic.asp
0
 
LVL 1

Author Comment

by:kvnsdr
ID: 11952714
I've read the 'clone' statement does not include the data, just the scheme........
0
 
LVL 37

Accepted Solution

by:
gregoryyoung earned 50 total points
ID: 11953054
yeah then you just copy the rows table by table ...
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question