I\'m trying to add an array of controls to an aspx page (C# code behind). These are the similar controls (search criteria for separate fields but will have the same values)
Like @Mark Cidade says your best approach would be to create the controls in the code behind. They are just classes after all.
The simplest approach would be to put a control such as a placeHolder control on in the markup and then create a collection of dropdown lists in a loop, assinging each one a unique id like @Mark Cidade says.
From there it's a matter of adding them as child controls to the placeHolder or if you want them directly on the page you can add them to the page controls collection.