Solved

C# Another instance of the same DataSet???

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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!
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

813 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now