SqlDataSourceSelectingEventArgs(DbCommand, DataSourceSelectArguments) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SqlDataSourceSelectingEventArgs class, using the specified DbCommand object and any DataSourceSelectArguments passed to the Select(DataSourceSelectArguments) method.
public:
SqlDataSourceSelectingEventArgs(System::Data::Common::DbCommand ^ command, System::Web::UI::DataSourceSelectArguments ^ arguments);
public SqlDataSourceSelectingEventArgs (System.Data.Common.DbCommand command, System.Web.UI.DataSourceSelectArguments arguments);
new System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs : System.Data.Common.DbCommand * System.Web.UI.DataSourceSelectArguments -> System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs
Public Sub New (command As DbCommand, arguments As DataSourceSelectArguments)
Parameters
- command
- DbCommand
An DbCommand object that represents the cancelable Select(DataSourceSelectArguments) query.
- arguments
- DataSourceSelectArguments
The DataSourceSelectArguments object passed to the Select(DataSourceSelectArguments) method.
Remarks
The inputParameters
parameter is an IDictionary collection of name/value pairs that match those in the method signature and are passed by reference.