asp.net.ph

DataColumnMapping.SourceColumn Property

System.Data.Common Namespace   DataColumnMapping Class


Sets or retrieves the case-sensitive column name from a data source to map from.

Syntax


Script DataColumnMapping.SourceColumn [ = strName ]

Property Value


strName The case-sensitive column name from a data source to map from.

The property is read/write with no default value.

Implements

IColumnMapping.SourceColumn

Example

The following example shows one way of setting the SourceColumn property.

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

See Also

DataColumnMapping 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