Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

DataRowCollection Methods

The DataRowCollection type exposes the following members.

  NameDescription
Public method Add(DataRow) Adds the specified DataRow to the DataRowCollection object.
Public method Add(Object[]) Creates a row using specified values and adds it to the DataRowCollection.
Public method Clear Clears the collection of all rows.
Public method Contains(Object) Gets a value that indicates whether the primary key of any row in the collection contains the specified value.
Public method Contains(Object[]) Gets a value that indicates whether the primary key columns of any row in the collection contain the values specified in the object array.
Public method CopyTo(Array, Int32) Copies all the DataRow objects from the collection into the given array, starting at the given destination array index. (Overrides InternalDataCollectionBase.CopyTo(Array, Int32).)
Public method CopyTo(DataRow[], Int32) Copies all the DataRow objects from the collection into the given array, starting at the given destination array index.
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find(Object) Gets the row specified by the primary key value.
Public method Find(Object[]) Gets the row that contains the specified primary key values.
Public method GetEnumerator Gets an IEnumerator for this collection. (Overrides InternalDataCollectionBase.GetEnumerator().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index of the specified DataRow object.
Public method InsertAt Inserts a new row into the collection at the specified location.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Remove Removes the specified DataRow from the collection.
Public method RemoveAt Removes the row at the specified index from the collection.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.