HasControls Method

DataSourceControl.HasControls Method ()

 
Use BaseTrue

Determines if the server control contains any child controls.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public override bool HasControls()

Return Value

Type: System.Boolean

true if the control contains other controls; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft