Modifica

Condividi tramite


QueryExtender.DataSource Property

Definition

Gets the data source control (IDataSource object) to use for the query.

public:
 virtual property System::Web::UI::WebControls::IQueryableDataSource ^ DataSource { System::Web::UI::WebControls::IQueryableDataSource ^ get(); };
[System.ComponentModel.Browsable(false)]
public virtual System.Web.UI.WebControls.IQueryableDataSource DataSource { get; }
[<System.ComponentModel.Browsable(false)>]
member this.DataSource : System.Web.UI.WebControls.IQueryableDataSource
Public Overridable ReadOnly Property DataSource As IQueryableDataSource

Property Value

The data source control to use for the query.

Attributes

Exceptions

The DataSource property is null.

Remarks

The QueryExtender control supports the LinqDataSource and EntityDataSource controls.

Applies to