[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

C# Another instance of the same DataSet???


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
kvnsdr
Asked:
kvnsdr
  • 2
1 Solution
 
gregoryyoungCommented:
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
 
kvnsdrAuthor Commented:
I've read the 'clone' statement does not include the data, just the scheme........
0
 
gregoryyoungCommented:
yeah then you just copy the rows table by table ...
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now