IQueryableDataSource 接口

定义

显示用于与数据源控件进行通信的 QueryExtender 控件的方法和属性。Exposes methods and properties that the QueryExtender control uses to communicate with data source controls.

public interface class IQueryableDataSource : System::Web::UI::IDataSource
public interface IQueryableDataSource : System.Web.UI.IDataSource
type IQueryableDataSource = interface
    interface IDataSource
Public Interface IQueryableDataSource
Implements IDataSource
派生
实现

方法

GetView(String)

获取与数据源控件关联的指定数据源视图。Gets the named data source view associated with the data source control.

(继承自 IDataSource)
GetViewNames()

获取名称的集合,表示与 IDataSource 接口关联的视图对象的列表。Gets a collection of names representing the list of view objects associated with the IDataSource interface.

(继承自 IDataSource)
RaiseViewChanged()

调用 DataSourceViewChanged 方法会引发 OnDataSourceViewChanged(EventArgs) 事件。Raises the DataSourceViewChanged event by calling the OnDataSourceViewChanged(EventArgs) method.

事件

DataSourceChanged

数据源控件以某种影响数据绑定控件的方式发生变化时发生。Occurs when a data source control has changed in some way that affects data-bound controls.

(继承自 IDataSource)
QueryCreated

在数据源中创建查询时发生。Occurs when a query is created in a data source.

扩展方法

GetDefaultValues(IDataSource)

为指定数据源获取默认值的集合。Gets the collection of the default values for the specified data source.

GetMetaTable(IDataSource)

获取指定数据源对象中表的元数据。Gets the metadata for a table in the specified data source object.

TryGetMetaTable(IDataSource, MetaTable)

确定表元数据是否可用。Determines whether table metadata is available.

适用于