SqlDataSourceStatusEventArgs Constructor (DbCommand, Int32, Exception)

 

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 Sub New (
	command As DbCommand,
	affectedRows As Integer,
	exception As Exception
)

Parameters

command
Type: System.Data.Common.DbCommand

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

affectedRows
Type: System.Int32

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

exception
Type: System.Exception

An Exception thrown by the database operation, if applicable.

.NET Framework
Available since 2.0
Return to top
Show: