IColumnMappingCollection::Add Method (String^, String^)

 

Adds a ColumnMapping object to the ColumnMapping collection using the source column and DataSet column names.

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

IColumnMapping^ Add(
	String^ sourceColumnName,
	String^ dataSetColumnName
)

Parameters

sourceColumnName
Type: System::String^

The case-sensitive name of the source column.

dataSetColumnName
Type: System::String^

The name of the DataSet column.

Return Value

Type: System.Data::IColumnMapping^

The ColumnMapping object that was added to the collection.

.NET Framework
Available since 1.1
Return to top
Show: