Export (0) Print
Expand All

ModelDataSource Constructor

.NET Framework 4.6 and 4.5

Initializes a new instance of the ModelDataSource class.

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

'Declaration
Public Sub New ( _
	dataControl As Control _
)

Parameters

dataControl
Type: System.Web.UI.Control

The data-bound control.

ExceptionCondition
ArgumentNullException

The dataControl parameter is Nothing.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft