RommeL

RommeL

  • NA
  • 4
  • 0

getting the control in a WebForm

Oct 10 2008 2:01 AM


this is my code there are error in it can someone tell me how to correct this?

            foreach (System.Web.UI.Control ctrl in Table)
            {
                if (ctrl is DropDownList)
                {
                    DropDownList dd = new DropDownList(ctrl);
                    break;
                }
            }


Answers (1)