Edit

Share via


QueryExtender.DataSource Property

Definition

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

C#
[System.ComponentModel.Browsable(false)]
public virtual System.Web.UI.WebControls.IQueryableDataSource DataSource { get; }

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

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1