Export (0) Print
Expand All

DataTable Members

Represents one table of in-memory data.

The following tables list the members exposed by the DataTable type.

(see also Protected Constructors )
  Name Description
Public method Supported by the .NET Compact Framework DataTable Overloaded. Initializes a new instance of the DataTable class.
Top

  Name Description
Protected method DataTable Overloaded. Initializes a new instance of the DataTable class.
Top

  Name Description
Protected field Supported by the .NET Compact Framework fInitInProgress  
Top

(see also Protected Properties )
  Name Description
Public property Supported by the .NET Compact Framework CaseSensitive Indicates whether string comparisons within the table are case-sensitive.
Public property Supported by the .NET Compact Framework ChildRelations Gets the collection of child relations for this DataTable.
Public property Supported by the .NET Compact Framework Columns Gets the collection of columns that belong to this table.
Public property Supported by the .NET Compact Framework Constraints Gets the collection of constraints maintained by this table.
Public property Supported by the .NET Compact Framework Container  Gets the container for the component.(Inherited from MarshalByValueComponent.)
Public property Supported by the .NET Compact Framework DataSet Gets the DataSet to which this table belongs.
Public property Supported by the .NET Compact Framework DefaultView Gets a customized view of the table that may include a filtered view, or a cursor position.
Public property Supported by the .NET Compact Framework DesignMode  Gets a value indicating whether the component is currently in design mode.(Inherited from MarshalByValueComponent.)
Public property Supported by the .NET Compact Framework DisplayExpression Gets or sets the expression that returns a value used to represent this table in the user interface.
Public property Supported by the .NET Compact Framework ExtendedProperties Gets the collection of customized user information.
Public property Supported by the .NET Compact Framework HasErrors Gets a value indicating whether there are errors in any of the rows in any of the tables of the DataSet to which the table belongs.
Public property Supported by the .NET Compact Framework IsInitialized Gets a value that indicates whether the DataTable is initialized.
Public property Supported by the .NET Compact Framework Locale Gets or sets the locale information used to compare strings within the table.
Public property Supported by the .NET Compact Framework MinimumCapacity Gets or sets the initial starting size for this table.
Public property Supported by the .NET Compact Framework Namespace Gets or sets the namespace for the XML representation of the data stored in the DataTable.
Public property Supported by the .NET Compact Framework ParentRelations Gets the collection of parent relations for this DataTable.
Public property Supported by the .NET Compact Framework Prefix Gets or sets the namespace for the XML representation of the data stored in the DataTable.
Public property Supported by the .NET Compact Framework PrimaryKey Gets or sets an array of columns that function as primary keys for the data table.
Public property RemotingFormat Gets or sets the serialization format.
Public property Supported by the .NET Compact Framework Rows Gets the collection of rows that belong to this table.
Public property Supported by the .NET Compact Framework Site Gets or sets an System.ComponentModel.ISite for the DataTable.
Public property Supported by the .NET Compact Framework TableName Gets or sets the name of the DataTable.
Top

  Name Description
Protected property Supported by the .NET Compact Framework Events  Gets the list of event handlers that are attached to this component.(Inherited from MarshalByValueComponent.)
Top

(see also Protected Methods )
  Name Description
Public method Supported by the .NET Compact Framework AcceptChanges Commits all the changes made to this table since the last time AcceptChanges was called.
Public method Supported by the .NET Compact Framework BeginInit Begins the initialization of a DataTable that is used on a form or used by another component. The initialization occurs at runtime.
Public method Supported by the .NET Compact Framework BeginLoadData Turns off notifications, index maintenance, and constraints while loading data.
Public method Supported by the .NET Compact Framework Clear Clears the DataTable of all data.
Public method Supported by the .NET Compact Framework Clone Clones the structure of the DataTable, including all DataTable schemas and constraints.
Public method Supported by the .NET Compact Framework Compute Computes the given expression on the current rows that pass the filter criteria.
Public method Supported by the .NET Compact Framework Copy Copies both the structure and data for this DataTable.
Public method Supported by the .NET Compact Framework CreateDataReader Returns a DataTableReader corresponding to the data within this DataTable.
Public method Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the MarshalByValueComponent. (Inherited from MarshalByValueComponent.)
Public method Supported by the .NET Compact Framework EndInit Ends the initialization of a DataTable that is used on a form or used by another component. The initialization occurs at runtime.
Public method Supported by the .NET Compact Framework EndLoadData Turns on notifications, index maintenance, and constraints after loading data.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetChanges Overloaded. Gets a copy of the DataTable containing all changes made to it since it was last loaded, or since AcceptChanges was called.
Public method Static Supported by the .NET Compact Framework GetDataTableSchema This method returns a XmlSchemaSet instance containing the WSDL that describes the DataTable for Web Services.
Public method Supported by the .NET Compact Framework GetErrors Gets an array of DataRow objects that contain errors.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetObjectData Populates a serialization information object with the data needed to serialize the DataTable.
Public method Supported by the .NET Compact Framework GetService  Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ImportRow Copies a DataRow into a DataTable, preserving any property settings, as well as original and current values.
Public method Supported by the .NET Compact Framework Load Overloaded. Fills a DataTable with values from a data source using the supplied IDataReader. If the DataTable already contains rows, the incoming data from the data source is merged with the existing rows.
Public method Supported by the .NET Compact Framework LoadDataRow Overloaded. Finds and updates a specific row. If no matching row is found, a new row is created using the given values.
Public method Supported by the .NET Compact Framework Merge Overloaded. Merge the specified DataTable with the current DataTable.
Public method Supported by the .NET Compact Framework NewRow Creates a new DataRow with the same schema as the table.
Public method Supported by the .NET Compact Framework ReadXml Overloaded. Reads XML schema and data into the DataTable.
Public method Supported by the .NET Compact Framework ReadXmlSchema Overloaded. Reads an XML schema into the DataTable.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework RejectChanges Rolls back all changes that have been made to the table since it was loaded, or the last time AcceptChanges was called.
Public method Supported by the .NET Compact Framework Reset Resets the DataTable to its original state.
Public method Supported by the .NET Compact Framework Select Overloaded. Gets an array of DataRow objects.
Public method Supported by the .NET Compact Framework ToString Overridden. Gets the TableName and DisplayExpression, if there is one as a concatenated string.
Public method Supported by the .NET Compact Framework WriteXml Overloaded. Writes the current contents of the DataTable as XML.
Public method Supported by the .NET Compact Framework WriteXmlSchema Overloaded. Writes the current data structure of the DataTable as an XML schema.
Top

  Name Description
Protected method Supported by the .NET Compact Framework CreateInstance  
Protected method Supported by the .NET Compact Framework Dispose  Overloaded. Releases the resources used by the MarshalByValueComponent. (Inherited from MarshalByValueComponent.)
Protected method Supported by the .NET Compact Framework Finalize  [To be supplied.] (Inherited from MarshalByValueComponent.)
Protected method Supported by the .NET Compact Framework GetRowType  
Protected method Supported by the .NET Compact Framework GetSchema  
Protected method Supported by the .NET Compact Framework MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework NewRowArray  
Protected method Supported by the .NET Compact Framework NewRowFromBuilder Creates a new row from an existing row.
Protected method Supported by the .NET Compact Framework OnColumnChanged Raises the ColumnChanged event.
Protected method Supported by the .NET Compact Framework OnColumnChanging Raises the ColumnChanging event.
Protected method Supported by the .NET Compact Framework OnPropertyChanging Raises the PropertyChanged event.
Protected method OnRemoveColumn Notifies the DataTable that a DataColumn is being removed.
Protected method Supported by the .NET Compact Framework OnRowChanged Raises the RowChanged event.
Protected method Supported by the .NET Compact Framework OnRowChanging Raises the RowChanging event.
Protected method Supported by the .NET Compact Framework OnRowDeleted Raises the RowDeleted event.
Protected method Supported by the .NET Compact Framework OnRowDeleting Raises the RowDeleting event.
Protected method Supported by the .NET Compact Framework OnTableCleared Raises the TableCleared event.
Protected method Supported by the .NET Compact Framework OnTableClearing Raises the TableClearing event.
Protected method Supported by the .NET Compact Framework OnTableNewRow Raises the TableNewRow event.
Protected method Supported by the .NET Compact Framework ReadXmlSerializable  
Top

  Name Description
Public event Supported by the .NET Compact Framework ColumnChanged Occurs after a value has been changed for the specified DataColumn in a DataRow.
Public event Supported by the .NET Compact Framework ColumnChanging Occurs when a value is being changed for the specified DataColumn in a DataRow.
Public event Supported by the .NET Compact Framework Disposed  Adds an event handler to listen to the Disposed event on the component.(Inherited from MarshalByValueComponent.)
Public event Supported by the .NET Compact Framework Initialized Occurs after the DataTable is initialized.
Public event Supported by the .NET Compact Framework RowChanged Occurs after a DataRow has been changed successfully.
Public event Supported by the .NET Compact Framework RowChanging Occurs when a DataRow is changing.
Public event Supported by the .NET Compact Framework RowDeleted Occurs after a row in the table has been deleted.
Public event Supported by the .NET Compact Framework RowDeleting Occurs before a row in the table is about to be deleted.
Public event Supported by the .NET Compact Framework TableCleared Occurs after a DataTable is cleared.
Public event Supported by the .NET Compact Framework TableClearing Occurs when a DataTable is cleared.
Public event Supported by the .NET Compact Framework TableNewRow Occurs when a new DataRow is inserted.
Top

Community Additions

ADD
Show:
© 2014 Microsoft