DataTableMapping.SourceTable Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

public string SourceTable { get; set; }

Property Value

Type: System.String

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

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";
}

.NET Framework
Available since 1.1
Return to top
Show: