DataTableMapping.SourceTable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.