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
Solved

C# Another instance of the same DataSet???

Posted on 2004-08-28
3
199 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
  • 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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