DataTableCollection::AddRange Method (array<DataTable^>^)

 

Copies the elements of the specified DataTable array to the end of the collection.

Namespace:   System.Data
Assembly:  System.Data (in System.Data.dll)

public:
void AddRange(
	array<DataTable^>^ tables
)

Parameters

tables
Type: array<System.Data::DataTable^>^

The array of DataTable objects to add to the collection.

The following example creates two DataTable objects and adds them to the DataTableCollection of a DataSet.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: