System.Web.UI.WebControls.ObjectDataSourceMethodEventArgs.InputParameters Property

Gets a collection that contains business object method parameters and their values.


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


Documentation for this section has not yet been entered.


Parameters can be passed to the business object method by reference or by value. If you use an System.Web.UI.WebControls.ObjectDataSourceMethodEventHandler object to handle the ObjectDataSourceView.Selecting, ObjectDataSourceView.Updating, ObjectDataSourceView.Inserting, or ObjectDataSourceView.Deleting events, you can access and manipulate these parameters using the ObjectDataSourceMethodEventArgs.InputParameters property. Any changes to the parameters in this dictionary will affect which method overload is called for the operation. When the ObjectDataSource.DataObjectTypeName property of the System.Web.UI.WebControls.ObjectDataSource control is set, you can modify only the data object properties for the items in this dictionary; you cannot add or remove parameters. For more information, see ObjectDataSource.Delete.

Parameters that are passed by reference are returned in the ObjectDataSourceStatusEventArgs.OutputParameters property of the System.Web.UI.WebControls.ObjectDataSourceStatusEventArgs object.


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