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




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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