DataTableMapping Constructor ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes a new instance of the DataTableMapping class.

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

public DataTableMapping()

The following example creates a DataTableMapping object.

public void CreateDataTableMapping() 
    DataTableMapping mapping = new DataTableMapping();
    mapping.SourceTable = "Categories";
    mapping.DataSetTable = "DataCategories";

.NET Framework
Available since 1.1
Return to top