namespace name 'Control' could not be found (are you missing a using directive or an assembly reference?)

i'm attempting to loop through a list of controls

foreach(Control c in Controls)

and are recieving the following error on type control
C:\aspnet\ELending\ElendingOverDraft\Controls\LoadLimitFooter.ascx.cs(196): The type or namespace name 'Control' could not be found (are you missing a using directive or an assembly reference?)

                        
rourkas1Asked:
Who is Participating?
 
Timbo87Commented:
Add
using System.Web.UI;
0
 
Chester_M_RagelCommented:
or foreach(System.Web.UI.Control c in Controls)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.