Copies both the structure and data for this DataSet.
[Visual Basic] Public Function Copy() As DataSet [C#] public DataSet Copy(); [C++] public: DataSet* Copy(); [JScript] public function Copy() : DataSet;
A new DataSet with the same structure (table schemas, relations, and constraints) and data as this DataSet.
Note If these classes have been subclassed, the copy will also be of the same subclasses.
DataSet Class | DataSet Members | System.Data Namespace | Clone