SqlDataSourceCommandEventArgs(DbCommand) 构造函数

定义

使用指定的数据库命令对象初始化 SqlDataSourceCommandEventArgs 类的新实例。Initializes a new instance of the SqlDataSourceCommandEventArgs class, using the specified database command object.

public:
 SqlDataSourceCommandEventArgs(System::Data::Common::DbCommand ^ command);
public SqlDataSourceCommandEventArgs (System.Data.Common.DbCommand command);
new System.Web.UI.WebControls.SqlDataSourceCommandEventArgs : System.Data.Common.DbCommand -> System.Web.UI.WebControls.SqlDataSourceCommandEventArgs
Public Sub New (command As DbCommand)

参数

command
DbCommand

用于表示可取消的 DbCommandUpdate()Insert() 命令的 Delete() 对象。An DbCommand object that represents the cancelable Update(), Insert(), or Delete() command.

适用于

另请参阅