System.Data.Common Namespace DataColumnMapping Class
Initializes a new instance of a DataColumnMapping class.
1. Initializes a new instance of a DataColumnMapping class.
2. Initializes a new instance of a DataColumnMapping class with the specified source column name and DataSet column name to map to.
The following example shows how to initialize a DataColumnMapping object.
NOTE: This example uses one of the overloaded versions of the DataColumnMapping constructor. For other examples that may be available, see the individual overload topics.
void CreateDataColumnMapping ( ) {
DataColumnMapping myMap = new DataColumnMapping ( "Description", "DataDescription" );
}
Sub CreateDataColumnMapping ( )
Dim myMap As New DataColumnMapping ( "Description", "DataDescription" )
End Sub |
|
C# |
VB |
DataColumnMapping Members