Creates the control hierarchy that is used to render the DataGrid. This is called whenever a control hierarchy is needed and the ChildControlsCreated property is false. The implementation assumes that all the children in the controls collection have already been cleared.
[Visual Basic] Overrides Protected Sub CreateControlHierarchy( _ ByVal useDataSource As Boolean _ ) [C#] protected override void CreateControlHierarchy( bool useDataSource ); [C++] protected: override void CreateControlHierarchy( bool useDataSource ); [JScript] protected override function CreateControlHierarchy( useDataSource : Boolean );
DataGrid Class | DataGrid Members | System.Web.UI.WebControls Namespace