DataTableMapping.SourceTable Property

Definition

Gets or sets the case-sensitive source table name from a data source.

public:
 property System::String ^ SourceTable { System::String ^ get(); void set(System::String ^ value); };
public string SourceTable { get; set; }
[System.Data.DataSysDescription("DataTableMapping_SourceTable")]
public string SourceTable { get; set; }
member this.SourceTable : string with get, set
[<System.Data.DataSysDescription("DataTableMapping_SourceTable")>]
member this.SourceTable : string with get, set
Public Property SourceTable As String

Property Value

The case-sensitive source table name from a data source.

Implements

Attributes

Examples

The following example creates a DataTableMapping object and sets some of its properties.

public void CreateDataTableMapping()
{
    DataTableMapping mapping = new DataTableMapping();
    mapping.SourceTable = "Categories";
    mapping.DataSetTable = "DataCategories";
}
Public Sub CreateDataTableMapping()
    Dim mapping As New DataTableMapping()
    mapping.SourceTable = "Categories"
    mapping.DataSetTable = "DataCategories"
End Sub

Applies to

See also