?
=?iso-8859-1?B?RulybmFz?=
Hey guys,
In my app, I have a DataTable named "dta"...
If i create a new variable of DataTable type named "dta2", and assign
the dta as value, it creates a reference to dta, then, when I make
changes in dta, dta2 is also changed...
For example:
DataTable dta2;
dta2 = dta;
(now, if I change dta, dt2 will be changed to)..
I'd like to know how to create a "copy" of "dta" (copy the structure
and data), so, when I need to change dta, dta2 will keep the original
data...
I want another instance of the dataTable, with the same structure and
data of the "copied"...
can anybody help-me?
In my app, I have a DataTable named "dta"...
If i create a new variable of DataTable type named "dta2", and assign
the dta as value, it creates a reference to dta, then, when I make
changes in dta, dta2 is also changed...
For example:
DataTable dta2;
dta2 = dta;
(now, if I change dta, dt2 will be changed to)..
I'd like to know how to create a "copy" of "dta" (copy the structure
and data), so, when I need to change dta, dta2 will keep the original
data...
I want another instance of the dataTable, with the same structure and
data of the "copied"...
can anybody help-me?