This documentation is archived and is not being maintained.

SqlDataSourceSelectingEventArgs Constructor

Note: This constructor is new in the .NET Framework version 2.0.

Initializes a new instance of the SqlDataSourceSelectingEventArgs class, using the specified DbCommand object and any DataSourceSelectArguments passed to the Select method.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

public SqlDataSourceSelectingEventArgs (
	DbCommand command,
	DataSourceSelectArguments arguments
)
public SqlDataSourceSelectingEventArgs (
	DbCommand command, 
	DataSourceSelectArguments arguments
)
public function SqlDataSourceSelectingEventArgs (
	command : DbCommand, 
	arguments : DataSourceSelectArguments
)

Parameters

command

An DbCommand object that represents the cancelable Select query.

arguments

The DataSourceSelectArguments object passed to the Select method.

The inputParameters parameter is an IDictionary collection of name/value pairs that match those in the method signature and are passed by reference.

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0
Show: