ModelDataSource.DataControl Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the data-bound control that is using this control as a data source when model binding is in use.

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

Public Property DataControl As Control
	Get
	Private Set
End Property

Property Value

Type: System.Web.UI.Control

The data-bound control.

.NET Framework
Available since 4.5
Return to top
Show: