HighTechTalks DotNet Forums  

About datatables

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss About datatables in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Ravindra
 
Posts: n/a

Default About datatables - 12-30-2005 , 03:58 AM






Hi,

How to pass the content of one data table to another data table.I simply
tried using assignment operator...Example: datatable1=datatable2...But,its
not working..

ravi



Reply With Quote
  #2  
Old   
Christopher Reed
 
Posts: n/a

Default Re: About datatables - 12-30-2005 , 07:33 AM






Use the Copy method:

tblTwo = tblOne.Copy();

--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Ravindra" <ravindra (AT) nannacomputers (DOT) com> wrote

Quote:
Hi,

How to pass the content of one data table to another data table.I simply
tried using assignment operator...Example: datatable1=datatable2...But,its
not working..

ravi





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.