Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 24th, 2005, 10:20 AM
Registered User
 
Join Date: Aug 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Copy dataset to another dataset

Hi all,

I have to copy one dataset to another dataset. Can anyone tell me how would I do that? I would really appreciate your help.

Thank you in advance,

-K

 
Old August 24th, 2005, 11:09 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts
Default

Dim DS2 As DataSet = DS1.Copy()

J
 
Old November 13th, 2005, 06:25 AM
Registered User
 
Join Date: Nov 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to sijan Send a message via Yahoo to sijan
Default

There are 3 methods for copying DataSet. U can check them at MSDN for description & details..

1) .Copy
http://msdn.microsoft.com/library/en...asp?frame=true

2) .Clone
http://msdn.microsoft.com/library/en...asp?frame=true

3) .GetChanges
http://msdn.microsoft.com/library/en...asp?frame=true

Sijan Khadka
(cZn)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible to copy n-row to another dataset? vinod_yadav1919 BOOK: Beginning C# 2005 Databases 1 November 12th, 2008 08:53 PM
How to copy n-row to another dataset? vinod_yadav1919 C# 0 November 12th, 2008 04:48 PM
Copy DataSet prasanta2expert ASP.NET 1.0 and 1.1 Professional 1 January 22nd, 2007 09:30 AM
datagrid/dataset sel. all & copy to Excel jonk ADO.NET 2 May 20th, 2004 11:59 AM
copy datacolumn from one dataset to another hkpanda ADO.NET 1 July 25th, 2003 12:04 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.