Re: copying the column values of a Datatable into another data table in vb.net



Hi Mahalakshmi,

Does the Copy() method that Christopher Reed suggested in your other thread
work for you?

> tblTwo = tblOne.Copy();

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden@xxxxxxx www.cindywinegarden.com


"Balu" <balu@xxxxxxxxxxxxxxxxxx> wrote in message
news:OuE1%2324DGHA.740@xxxxxxxxxxxxxxxxxxxxxxx
> Hi All,
>
> Can anybody tell me how to copy one column of a data table to another data
> table.
>
> Example:I have 2 data tables say dt1,dt2.
> Here,i wanna copy only the 1st column values of dt1 into the 1st column of
> dt2.
> Its an urgent work for me.So,anyone of you can give me a solution to this.
>
> Regards,
> Mahalakshmi.
>


.



Relevant Pages

  • Re: 1 MCP to go until MCAD ?
    ... >I had read in MCAD Que books that you needed to use the> opposite technology. ... >>>>-->>Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP ...
    (microsoft.public.cert.exam.mcad)
  • Re: Pblm with a mapped drive to my data.
    ... Did you check Reconnect at logon when you mapped the drive? ... Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Excel Sum cells
    ... >> Do you want to put a formula in another cell that summs the cells, ... >> Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP ...
    (microsoft.public.fox.vfp.forms)
  • Re: move from visual 7 to visual 9
    ... Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP ... Blog: http://spaces.msn.com/members/cindywinegarden ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Why character instead of numerics?
    ... This must be a case of temporary insanity. ... >> Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP ...
    (microsoft.public.fox.vfp.queries-sql)