1
Reply

getting the control in a WebForm

RommeL

RommeL

Oct 10 2008 2:01 AM
2.2k


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)