I'm trying to execute some code (VS 2005, C#) but am getting this error:
"foreach statement cannot operate on variables of type 'System.Web.UI.Page' because 'System.Web.UI.Page' does not contain a public definition for 'GetEnumerator'"
foreach (Control cntl in Page)
if (cntl is DropDownList)
if ((string)ddl.SelectedValue == "Select Reason")
ddl.SelectedValue = (string)"0";