DataTable.Copy() Vs DataTable.Clone()
The new DataTable created by the Copy method has the same set of DataRows as the original table
whereas the new DataTable created by the Clone method does not contain any DataRows."
DataTable.Copy()
|
DataTable.Clone()
|
Create a new
methods with same structure
|
Create a new
methods with same structure
|
Data Row /
Data in table is also copied
|
Data in table
is not copied
|
write me for any questions....
ReplyDelete