System.Web.UI.WebControls.SqlDataSourceFilteringEventArgs Class

Provides data for the SqlDataSource.Filtering event of the System.Web.UI.WebControls.SqlDataSource control.

See Also: SqlDataSourceFilteringEventArgs Members

Syntax

public class SqlDataSourceFilteringEventArgs : System.ComponentModel.CancelEventArgs

Remarks

The System.Web.UI.WebControls.SqlDataSourceFilteringEventArgs class is used to pass data to the SqlDataSource.Filtering event handler of the System.Web.UI.WebControls.SqlDataSource control. The SqlDataSourceFilteringEventArgs.ParameterValues property provides access to the filter parameter values before the filtering operation is performed. You can cancel the SqlDataSource.Select(System.Web.UI.DataSourceSelectArguments) method by setting the System.ComponentModel.CancelEventArgs.Cancel property of the System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs to true. Filtering is supported when the SqlDataSource.DataSourceMode property is set to the SqlDataSourceMode.DataSet value.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0