ModelDataSource(Control) ModelDataSource(Control) ModelDataSource(Control) ModelDataSource(Control) Constructor

Definition

Initializes a new instance of the ModelDataSource class.

public:
 ModelDataSource(System::Web::UI::Control ^ dataControl);
public ModelDataSource (System.Web.UI.Control dataControl);
new System.Web.UI.WebControls.ModelDataSource : System.Web.UI.Control -> System.Web.UI.WebControls.ModelDataSource
Public Sub New (dataControl As Control)

Parameters

dataControl
Control Control Control Control

The data-bound control.

Exceptions

Applies to