DataTable as parameter.

Hello to everybody

I have class with private DataTable member.
I have function which initializes this member using another datatable as parameter. Like this.
Class.InitTable(byval SourceTable)

But if I clear SourceTable, table in the class is clear too. I'm passing SourceTable by value, not buy ref so question is how should I declare private member in my class or rewrite initializing function to separate source table and privaet member table

[458 byte] By [TheDwarf] at [2007-12-24]
# 1
The problem solved

Just needed to use sourcesable.copy instead of sourcetable in initializing function

TheDwarf at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...