Adds the specified System.Web.UI.Control object to the collection.
- child
- The System.Web.UI.Control to add to the collection.
The new control is added to the end of an ordinal index array. The control can be an instance of any ASP.NET server control, a custom server control you create, or a literal control.
To add a control to the collection at a specific index location, use the ControlCollection.AddAt(int, Control) method.