Creates the control hierarchy used to render the System.Web.UI.WebControls.GridView control using the specified data source.
![]()
The number of rows created.
The GridView.CreateChildControls(IEnumerable, bool) method is used to create the control hierarchy of the System.Web.UI.WebControls.GridView control.
This method is used primarily by control developers to extend the System.Web.UI.WebControls.GridView control.