Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > About datatables

Reply
Thread Tools

About datatables

 
 
Ravindra
Guest
Posts: n/a
 
      12-30-2005
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
 
 
 
 
Christopher Reed
Guest
Posts: n/a
 
      12-30-2005
Use the Copy method:

tblTwo = tblOne.Copy();

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

"Ravindra" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Fill creates two datatables in dataset? John Sutter ASP .Net 3 01-13-2004 04:50 PM
Compare Two DataTables Simple Simon ASP .Net 3 12-15-2003 05:36 AM
Datatable based on two other datatables (inner join) Gene Ariani ASP .Net 0 08-21-2003 10:46 PM
Re: Combining DataTables Kevin Spencer ASP .Net 0 07-21-2003 05:07 PM
set up a datagrid of multiples datatables in 1 dataset Richard Loupatty ASP .Net 2 07-18-2003 08:54 PM



Advertisments