Why do you want to do this? .Net provides with great additional capabilities so we don't have to spend so much time writing these loops over and over. The DataGrid utilizes databinding for these kinds of operations.
However, if you want to access the DataGrid items, use the DataGrid.Items collection to access the "rows" of the datagrid. Keep in mind that this collection contains ALL the items of the datagrid. These include the header, footer, pager, item, alternate item, edit item, etc. If you want to loop thru the Items, you'll need to test each DataGridItem for its ItemType: any DataGridItem that is an "Item" or "AlternateItem" is a data row.
Peter
-------------------------
Work smarter, not harder