Export (0) Print
Expand All
3 out of 10 rated this helpful - Rate this topic

DataTable Members

Represents one table of in-memory data.

The DataTable type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework DataTable Overloaded. Initializes a new instance of the DataTable class.
Top
  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework BeginInit Begins the initialization of a DataTable that is used on a form or used by another component. The initialization occurs at run time.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework BeginLoadData Turns off notifications, index maintenance, and constraints while loading data.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clear Clears the DataTable of all data.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clone Clones the structure of the DataTable, including all DataTable schemas and constraints.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Compute Computes the given expression on the current rows that pass the filter criteria.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Copy Copies both the structure and data for this DataTable.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CreateDataReader Returns a DataTableReader corresponding to the data within this DataTable.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework CreateInstance Infrastructure.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Dispose Overloaded. Releases the resources used by the MarshalByValueComponent.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework EndInit Ends the initialization of a DataTable that is used on a form or used by another component. The initialization occurs at run time.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework EndLoadData Turns on notifications, index maintenance, and constraints after loading data.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from MarshalByValueComponent.)
Public method Supported by the .NET Compact Framework Supported by the XNA 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 member Supported by the .NET Compact Framework Supported by the XNA Framework GetDataTableSchema This method returns an XmlSchemaSet instance containing the Web Services Description Language (WSDL) that describes the DataTable for Web Services.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetErrors Gets an array of DataRow objects that contain errors.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData Populates a serialization information object with the data needed to serialize the DataTable.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework GetRowType Infrastructure.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework GetSchema Infrastructure.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetService Gets the implementer of the IServiceProvider. (Inherited from MarshalByValueComponent.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA Framework LoadDataRow Overloaded. Finds and updates a specific row. If no matching row is found, a new row is created using the given values.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Merge Overloaded. Merge the specified DataTable with the current DataTable.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework NewRow Creates a new DataRow with the same schema as the table.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework NewRowArray Infrastructure.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework NewRowFromBuilder Creates a new row from an existing row.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnColumnChanged Raises the ColumnChanged event.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnColumnChanging Raises the ColumnChanging event.
Protected method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework OnRowChanged Raises the RowChanged event.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnRowChanging Raises the RowChanging event.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnRowDeleted Raises the RowDeleted event.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnRowDeleting Raises the RowDeleting event.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnTableCleared Raises the TableCleared event.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnTableClearing Raises the TableClearing event.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework OnTableNewRow Raises the TableNewRow event.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadXml Overloaded. Reads XML schema and data into the DataTable.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ReadXmlSchema Overloaded. Reads an XML schema into the DataTable.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework ReadXmlSerializable Infrastructure.
Public method Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework Reset Resets the DataTable to its original state.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Select Overloaded. Gets an array of DataRow objects.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Gets the TableName and DisplayExpression, if there is one as a concatenated string. (Overrides MarshalByValueComponent.ToString().)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteXml Overloaded. Writes the current contents of the DataTable as XML.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework WriteXmlSchema Overloaded. Writes the current data structure of the DataTable as an XML schema.
Top
  NameDescription
Public Extension Method AsDataView Creates and returns a LINQ-enabled DataView object. (Defined by DataTableExtensions.)
Public Extension Method AsEnumerable Returns an IEnumerable<T> object, where the generic parameter T is DataRow. This object can be used in a LINQ expression or method query. (Defined by DataTableExtensions.)
Top
  NameDescription
Protected field Supported by the .NET Compact Framework Supported by the XNA Framework fInitInProgress Infrastructure.
Top
  NameDescription
Public property Supported by the .NET Compact Framework Supported by the XNA Framework CaseSensitive Indicates whether string comparisons within the table are case-sensitive.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ChildRelations Gets the collection of child relations for this DataTable.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Columns Gets the collection of columns that belong to this table.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Constraints Gets the collection of constraints maintained by this table.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Container Gets the container for the component. (Inherited from MarshalByValueComponent.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework DataSet Gets the DataSet to which this table belongs.
Public property Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA Framework DisplayExpression Gets or sets the expression that returns a value used to represent this table in the user interface. The DisplayExpression property lets you display the name of this table in a user interface.
Protected property Supported by the .NET Compact Framework Supported by the XNA Framework Events Gets the list of event handlers that are attached to this component. (Inherited from MarshalByValueComponent.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework ExtendedProperties Gets the collection of customized user information.
Public property Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework IsInitialized Gets a value that indicates whether the DataTable is initialized.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Locale Gets or sets the locale information used to compare strings within the table.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework MinimumCapacity Gets or sets the initial starting size for this table.
Public property Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework ParentRelations Gets the collection of parent relations for this DataTable.
Public property Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA 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 Supported by the XNA Framework Rows Gets the collection of rows that belong to this table.
Public property Supported by the .NET Compact Framework Supported by the XNA Framework Site Gets or sets an System.ComponentModel.ISite for the DataTable. (Overrides MarshalByValueComponent.Site.)
Public property Supported by the .NET Compact Framework Supported by the XNA Framework TableName Gets or sets the name of the DataTable.
Top
  NameDescription
Public event Supported by the .NET Compact Framework Supported by the XNA Framework ColumnChanged Occurs after a value has been changed for the specified DataColumn in a DataRow.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework ColumnChanging Occurs when a value is being changed for the specified DataColumn in a DataRow.
Public event Supported by the .NET Compact Framework Supported by the XNA 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 Supported by the XNA Framework Initialized Occurs after the DataTable is initialized.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework RowChanged Occurs after a DataRow has been changed successfully.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework RowChanging Occurs when a DataRow is changing.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework RowDeleted Occurs after a row in the table has been deleted.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework RowDeleting Occurs before a row in the table is about to be deleted.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework TableCleared Occurs after a DataTable is cleared.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework TableClearing Occurs when a DataTable is cleared.
Public event Supported by the .NET Compact Framework Supported by the XNA Framework TableNewRow Occurs when a new DataRow is inserted.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.