>In my Data class, I have this also as definitions:
>
>
> Public oDataSet As DataSet = Nothing
> Public oDataTable As DataTable = Nothing
> Public oDataView As DataView = Nothing
> Public oParameters As ArrayList = New ArrayList
> Public oRow As DataRow = Nothing
> Public oRowInitial As DataRow = Nothing
> Public oRows As DataRowCollection = Nothing
>
>
>The cloning, as it was before, worked for the parameters. So, I assume oParameters is a value type.
>
>I would then assume for the cloning to work, I would need to copy as well the other ones in here as they are not value types.
An ArrayList( oParameters ) is a reference type
If the ArrayList is not going to be changed - you can use the reference
Gregory