Cheers John,
That didn't work (it was returning a null value), but it gave me a lead on how to solve it:
Dim a As Type
Dim b As DataTable
b = New DataTable
a = b.GetType()
If Not Collection.Columns.Contains(Column) Then
Collection.Columns.Add(Column, a)
End If
New_Collection = Collection
:-)
Regards,
Andrzej.
Andrzej Silarow