Loop through multiple Datagrids on page

  • Thread starter Thread starter chuckdfoster
  • Start date Start date
C

chuckdfoster

I have 4 datagrids (dg1, dg2, dg3, and dg4) on a webpage. I know how to
loop through the rows in each individual datagrid, but I need to loop
through all 4. Is there a way to loop through the controls on the page,
determine if it is a datagrid or not, then I can continue my loops? I have
tried using Page.Controls, but that only gives me the "literals." Any
suggestions? Code Samples would be great help.

Thanks in advance for any shared knowledge!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top