| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
DataRowCollection ClassRepresents a collection of rows for a DataTable.
RemarksThe DataRowCollection is a major component of the DataTable class, and is accessed via the DataTable.Rows property. While the DataColumnCollection defines the schema of the table, the DataRowCollection contains the actual data for the table, where each DataRow in the DataRowCollection represents a single row. You can call the Add and Remove methods to insert and delete DataRow objects from the DataRowCollection. You can also call the Find method to search for DataRow objects that contain specific values in primary key columns, and the Contains method to search character-based data for single words or phrases. ExampleThe following examples demonstrate using the Rows property to print the values of each column in each row of a table.
See AlsoDataColumnCollection DataRow DataTable Rows |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme