System.Data.Common Namespace DataTableMapping Class
Initializes a new instance of a DataTableMapping class with the specified source table name and DataSet table name, and an array of DataColumnMapping objects.
[ VB ] Overloads Public Sub New ( _ ByVal sourceTable As String, _ ByVal dataSetTable As String _ ByVal columnMappings ( ) As DataColumnMapping _ ) [ C# ] public DataTableMapping ( string sourceTable, string dataSetTable DataColumnMapping [ ] columnMappings ); [ C++ ] public: DataTableMapping ( String* sourceTable, String* dataSetTable DataColumnMapping* columnMappings [ ] ); [ JScript ] public function DataTableMapping ( sourceTable : String, dataSetTable : String columnMappings : DataColumnMapping [ ] );
The following example initializes a DataTableMapping object using this constructor.
void CreateDataTableMapping ( DataColumnMapping [ ] myFields ) { DataTableMapping myMap = new DataTableMapping ( "Description", "DataDescription", myFields ); }
Sub CreateDataTableMapping ( ByVal myFields ( ) as DataColumnMapping ) Dim myMap As New DataTableMapping _ ( "Description", "DataDescription", myFields ) End Sub
DataTableMapping Members DataTableMapping Constructor Overload List
© 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