Adds the specified System.Web.UI.WebControls.View control to the collection.
- v
- The System.Web.UI.WebControls.View control to add to the collection.
The ViewCollection.Add(System.Web.UI.Control) method adds the new control to the end of an ordinal index array. The control can only be an instance of a System.Web.UI.WebControls.View control.
To add a control to the collection at a specific index location, use the ViewCollection.AddAt(int, System.Web.UI.Control) method.