asp.net.ph

DataColumnMapping Constructor ( String, String )

System.Data.Common Namespace   DataColumnMapping Class


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

[ VB ]
Overloads Public Sub New ( _
   ByVal sourceColumn As String, _
   ByVal dataSetColumn As String _
)

[ C# ]
public DataColumnMapping (
   string sourceColumn,
   string dataSetColumn
);

[ C++ ]
public: DataColumnMapping (
   String* sourceColumn,
   String* dataSetColumn
);

[ JScript ]
public function DataColumnMapping (
   sourceColumn : String,
   dataSetColumn : String
);

Parameters

sourceColumn
The case-sensitive name of a SourceColumn to map from.
dataSetColumn
The case-insensitive name of a DataSetColumn to map to.

Example

The following example initializes a DataColumnMapping object using this constructor.

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

See Also

DataColumnMapping Members   DataColumnMapping 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