DataTableMapping.DataSetTable Property

 

Gets or sets the table name from a DataSet.

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

public string DataSetTable { get; set; }

Property Value

Type: System.String

The table name from a DataSet.

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: