System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs.ParameterValues Property

Gets an System.Collections.Specialized.IOrderedDictionary interface that provides access to the System.Web.UI.WebControls.Parameter objects of the System.Web.UI.WebControls.ObjectDataSource class.


public System.Collections.Specialized.IOrderedDictionary ParameterValues { get; }


Documentation for this section has not yet been entered.


The System.Web.UI.WebControls.ObjectDataSourceFilteringEventArgs class is used to pass data to the ObjectDataSource.Filtering event handler of the System.Web.UI.WebControls.ObjectDataSource object. The ObjectDataSourceFilteringEventArgs.ParameterValues property provides access to the filter parameter values before the filtering operation is performed.


You should validate any filter parameter value that you receive from the client. The runtime simply substitutes the parameter value into the filter expression and applies it to the System.Data.DataView object that is returned by the ObjectDataSource.Select method. If you are using the ObjectDataSource.FilterExpression property as a security measure to limit the number of items that are returned, you must validate the parameter values before the filtering occurs.


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