asp.net.ph

DataColumnMapping.DataSetColumn Property

System.Data.Common Namespace   DataColumnMapping Class


Sets or retrieves the name of the column within the DataSet to map to.

Syntax


Script DataColumnMapping.DataSetColumn [ = strName ]

Property Value


strName The name of the column within the DataSet to map to. The name is not case sensitive.

The property is read/write with no default value.

Implements

IColumnMapping.DataSetColumn

Example

The following example shows one way of setting the DataSetColumn 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