asp.net.ph

DataRowCollection.InsertAt Method

System.Data Namespace   DataRowCollection Class


Inserts a new row at the specified index in the collection.

[ VB ]
Public Sub InsertAt ( _
   ByVal row As DataRow, _
   ByVal index As Integer _
)

[ C# ]
public void InsertAt (
   DataRow row,
   int index
);

[ C++ ]
public: void InsertAt (
   DataRow* row,
   int index
);

[ JScript ]
public function InsertAt (
   row : DataRow.
   index : int
);

Parameters

row
The DataRow to add.
index
The index in the collection where to add the DataRow.

Remarks

If the value specified for the index parameter is greater than the number of rows in the collection, the new row is appended to the end of the collection.

See Also

DataRowCollection Members   Add 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