SqlDataSourceStatusEventArgs.SqlDataSourceStatusEventArgs Constructor

Initializes a new instance of the SqlDataSourceStatusEventArgs class, using the specified output parameters, return value, and number of rows affected by the database operation.

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

public:
SqlDataSourceStatusEventArgs (
	DbCommand^ command, 
	int affectedRows, 
	Exception^ exception
)
public SqlDataSourceStatusEventArgs (
	DbCommand command, 
	int affectedRows, 
	Exception exception
)
public function SqlDataSourceStatusEventArgs (
	command : DbCommand, 
	affectedRows : int, 
	exception : Exception
)
Not applicable.

Parameters

command

The DbCommand that represents the database query, command, or stored procedure that is submitted to the database by the SqlDataSource control.

affectedRows

The number of rows affected by the database operation, if applicable.

exception

An Exception thrown by the database operation, if applicable.

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: