Bruce,
You can loop through myGrid.Items collection. An item represent a row. There
are different types of rows. You are probably mostly interested in data row
as opposed to header and footer. A good place to loop through all rows is
PreRender event. When you get there, all items are already fully built.
Eliyahu
"Bruce Dumes" <br********@dumes.net> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
I have a newbie (to asp.net) datagrid question. I have no trouble
reading all the cells in the current row of the datagrid from a
subroutine called by an event triggered by a change of a dropdown list
contained in the datagrid. (sorry about my excessive prepositional
phrases...)
However, I've been unable to figure out how to access other rows in the
datagrid. After updating this value, I want to be able to read through
the entire grid to see if the user has completed everything.
I'm certain there must be a way to do this, but haven't figured out the
magic words to make Google show me the way.
I realize that I can do a rebind and examine all elements one at a time,
but I believe that this only works for the current page of data, and I
need to be able to check the entire datagrid, not just what is being
displayed currently.
Best regards and many thanks in advance.
Bruce Dumes