Bagikan melalui


DataTableMapping.SourceTable Properti

Definisi

Mendapatkan atau mengatur nama tabel sumber peka huruf besar/kecil dari sumber data.

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

Nilai Properti

Nama tabel sumber peka huruf besar/kecil dari sumber data.

Penerapan

Atribut

Contoh

Contoh berikut membuat DataTableMapping objek dan mengatur beberapa propertinya.

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

Berlaku untuk

Lihat juga