SqlDataSourceSelectingEventArgs(DbCommand, DataSourceSelectArguments) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的SqlDataSourceSelectingEventArgs对象和传递给DbCommand该方法的任何DataSourceSelectArguments对象初始化类的新实例Select(DataSourceSelectArguments)。
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)
参数
- command
- DbCommand
一个 DbCommand 表示可 Select(DataSourceSelectArguments) 取消查询的对象。
- arguments
- DataSourceSelectArguments
DataSourceSelectArguments传递给Select(DataSourceSelectArguments)方法的对象。
注解
参数 inputParameters 是名称 IDictionary /值对的集合,与方法签名中的名称/值对匹配,并由引用传递。