Hi,

I want to copy datatable rows in other datatable without using loops. Clone
method in datatable object copy table structure but not data and there is no
clone method in datarow object.
The only way i have found is import each row of the old datatable, in new
datatable. But i don't like this way very much because i think it isn't so
much optimal
Can anybody help me?

thanks a lot

Re: Clone datatable rows by caiokf

caiokf
Fri Dec 21 16:41:08 CST 2007

On 16 nov, 07:42, "Juli=E1n Sanz Garc=EDa" <js...@gerionte.com> wrote:
> Hi,
>
> I want to copy datatable rows in other datatable without using loops. Clon=
e
> method in datatable object copy table structure but not data and there is =
no
> clone method in datarow object.
> The only way i have found is import each row of the old datatable, in new
> datatable. But i don't like this way very much because i think it isn't so=

> much optimal
> Can anybody help me?
>
> thanks a lot

Instead of the Clon method, use the Copy method, that copies both
structure and data from a datatable to another