System.Data.Common Namespace DataTableMapping Class
Sets or retrieves the name of the table within the DataSet to map to.
Script |
DataTableMapping.DataSetTable [ = strName ] |
strName |
The name of the table within the DataSet to map to. The name is not case sensitive. |
The property is read/write with no default value.
ITableMapping.DataSetTable
The following example shows one way of setting the DataSetTable 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