asp.net.ph

DataTableMapping.DataSetTable Property

System.Data.Common Namespace   DataTableMapping Class


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

Syntax


Script DataTableMapping.DataSetTable [ = strName ]

Property Value


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

The property is read/write with no default value.

Implements

ITableMapping.DataSetTable

Example

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

void CreateDataTableMapping ( ) {
   DataTableMapping myMap = new DataTableMapping ( );
   myMap.SourceTable = "Description";
   myMap.DataSetTable = "DataDescription";
}
  C# VB

See Also

DataTableMapping 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