asp.net.ph

DataTableMapping Constructor

System.Data.Common Namespace   DataTableMapping Class


Initializes a new instance of a DataTableMapping class.

Overload List

1. Initializes a new instance of a DataTableMapping class.

2. Initializes a new instance of a DataTableMapping class with the specified source table name and DataSet table name to map to.

3. Initializes a new instance of a DataTableMapping class with the specified source table name and DataSet table name, and an array of DataColumnMapping objects.


Example

The following example initializes a DataTableMapping object, and sets it properties.

NOTE: This example [ C# ] shows how to use one of the overloaded versions of the DataTableMapping constructor. For other examples that may be available, see the individual overload topics.

void CreateDataTableMapping ( DataColumnMapping [ ] myFields ) {
   DataTableMapping myMap = new DataTableMapping 
      ( "Description", "DataDescription", myFields );
}
  C# VB

See Also

DataTableMapping Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph