Modifica

Condividi tramite


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

The data-bound control.

Exceptions

The dataControl parameter is null.

Applies to