共用方式為


DataTableMapping.SourceTable 屬性

定義

從資料來源取得或設定區分大小寫的來源資料表名稱。

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

屬性值

來自資料來源的區分大小寫之來源資料表名稱。

實作

屬性

範例

下列範例會 DataTableMapping 建立 物件,並設定其部分屬性。

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

適用於

另請參閱