System.Data.Common Namespace DataColumnMapping Class
Initializes a new instance of a DataColumnMapping class.
[ VB ]
Overloads Public Sub New ( )
[ C# ]
public DataColumnMapping ( );
[ C++ ]
public: DataColumnMapping ( );
[ JScript ]
public function DataColumnMapping ( );
The following example initializes a DataColumnMapping object using this constructor, and sets its properties.
void CreateDataColumnMapping ( ) {
DataColumnMapping myMap = new DataColumnMapping ( );
myMap.SourceColumn = "Description";
myMap.DataSetColumn = "DataDescription";
}
Sub CreateDataColumnMapping ( )
Dim myMap As New DataColumnMapping ( )
myMap.SourceColumn = "Description"
myMap.DataSetColumn = "DataDescription"
End Sub |
|
C# |
VB |
DataColumnMapping Members DataColumnMapping Constructor Overload List