System.Data.Common Namespace DataTableMapping Class
Initializes a new instance of a DataTableMapping class.
[ VB ]
Overloads Public Sub New ( )
[ C# ]
public DataTableMapping ( );
[ C++ ]
public: DataTableMapping ( );
[ JScript ]
public function DataTableMapping ( );
The following example initializes a DataTableMapping object using this constructor, and sets it properties.
void CreateDataTableMapping ( ) {
DataTableMapping myMap = new DataTableMapping ( );
myMap.SourceTable = "Categories";
myMap.DataSetTable = "DataCategories";
}
Sub CreateDataTableMapping ( )
Dim myMap As New DataTableMapping ( )
myMap.SourceTable = "Categories"
myMap.DataSetTable = "DataCategories"
End Sub |
|
C# |
VB |
DataTableMapping Members DataTableMapping Constructor Overload List