asp.net.ph

DataTableMapping Constructor ( String, String )

System.Data.Common Namespace   DataTableMapping Class


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

[ VB ]
Overloads Public Sub New ( _
   ByVal sourceTable As String, _
   ByVal dataSetTable As String _
)

[ C# ]
public DataTableMapping (
   string sourceTable,
   string dataSetTable
);

[ C++ ]
public: DataTableMapping (
   String* sourceTable,
   String* dataSetTable
);

[ JScript ]
public function DataTableMapping (
   sourceTable : String,
   dataSetTable : String
);

Parameters

sourceTable
The case-sensitive name of a SourceTable to map from.
dataSetTable
The case-insensitive name of a DataSetTable to map to.

Example

The following example initializes a DataTableMapping object using this constructor.

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

See Also

DataTableMapping Members   DataTableMapping Constructor Overload List 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