DataTableMapping.DataSetTable Propriedade

Definição

Obtém ou define o nome da tabela de um 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

Valor da propriedade

O nome da tabela de um DataSet.

Implementações

Atributos

Exemplos

O exemplo a seguir cria um DataTableMapping objeto e define algumas de suas propriedades.

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

Aplica-se a

Confira também