DataTableDataSource Class

Spotfire 14.2 API Reference
This class exposes a DataTable as a DataSource. Using it, existing tables can be duplicated, transformed and accessed through add operations (for example adding rows and adding columns). Note that this data source can only be used when a document is present and there exists one or more tables to use as source.
Inheritance Hierarchy

SystemObject
  Spotfire.Dxp.DataDataSource
    Spotfire.Dxp.Data.ImportDataTableDataSource

Namespace:  Spotfire.Dxp.Data.Import
Assembly:  Spotfire.Dxp.Data (in Spotfire.Dxp.Data.dll) Version: 64.0.19329.3263 (64.0.19329.3263)
Syntax

C#
[SerializableAttribute]
[PersistenceVersionAttribute(17, 0)]
public sealed class DataTableDataSource : DataSource

The DataTableDataSource type exposes the following members.

Constructors

  NameDescription
Public methodDataTableDataSource(DataTable)
Initializes a new instance of the DataTableDataSource class.
Public methodDataTableDataSource(DataTable, DataSelection)
Initializes a new instance of the DataTableDataSource class.
Public methodDataTableDataSource(DataTable, DataTableDataSourceUpdateBehavior)
Initializes a new instance of the DataTableDataSource class.
Top
Properties

  NameDescription
Public propertyIsPromptingAllowed
Gets or sets a value indicating whether prompting is allowed is allowed for this data source instance.
(Inherited from DataSource.)
Public propertyLoadReport
Gets the PartialDataLoadReport that can be used to report errors during connection.
(Inherited from DataSource.)
Public propertyName
Gets the display name of the data source. Same as the document title by default.
(Inherited from DataSource.)
Public propertyReuseSettingsWithoutPrompting
Gets or sets a value indicating whether settings should be reused without prompting or not. Determines if the data source should be opened in silent mode, prompting the user only when necessary, or if the user should get a chance to modify the settings even if they are valid.
(Inherited from DataSource.)
Public propertyTypeId
Gets the type identifier for the data source.
(Inherited from DataSource.)
Top
Methods

  NameDescription
Public methodConnect
Creates a DataSourceConnection, using the specified serviceProvider and the settings in this data source instance. If needed, and allowed by the current prompt mode, the user may be prompted for additional settings.
(Inherited from DataSource.)
Public methodConnectWithDelayedPrompting
Creates a DataSourceConnection, using the specified serviceProvider and the settings in this data source instance. If needed, and allowed by the current prompt mode, the user may be prompted for additional settings.
(Inherited from DataSource.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetObjectData
Populates a SerializationInfo with the data needed to serialize the target object.
(Overrides DataSourceGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Version Information

Supported in: 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8, 11.7, 11.6, 11.5, 11.4
See Also

Reference