Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ModelDataSource Constructor

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