DataTableMapping.DataSetTable 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 table name from a DataSet.
public:
property System::String ^ DataSetTable { System::String ^ get(); void set(System::String ^ value); };
public string DataSetTable { get; set; }
[System.Data.DataSysDescription("DataTableMapping_DataSetTable")]
public string DataSetTable { get; set; }
member this.DataSetTable : string with get, set
[<System.Data.DataSysDescription("DataTableMapping_DataSetTable")>]
member this.DataSetTable : string with get, set
Public Property DataSetTable As String
Property Value
The table name from a DataSet.
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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.