System.Data.Common Namespace DataTableMapping Class
Sets or retrieves the case-sensitive table name from a data source to map from.
Script |
DataTableMapping.SourceTable [ = strName ] |
strName |
The case-sensitive table name from a data source to map from. |
The property is read/write with no default value.
ITableMapping.SourceTable
The following example shows one way of setting the SourceTable property.
void CreateDataTableMapping ( ) {
DataTableMapping myMap = new DataTableMapping ( );
myMap.SourceTable = "Description";
myMap.DataSetTable = "DataDescription";
}
Sub CreateDataTableMapping ( )
Dim myMap As New DataTableMapping ( )
myMap.SourceTable = "Description"
myMap.DataSetTable = "DataDescription"
End Sub |
|
C# |
VB |
DataTableMapping Members