Parameter Constructor (String^, DbType)

 

Initializes a new instance of the Parameter class, using the specified name and database type.

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

public:
Parameter(
	String^ name,
	DbType dbType
)

Parameters

name
Type: System::String^

The name of the parameter.

dbType
Type: System.Data::DbType

The database type of the parameter.

A Parameter object created with the Parameter(String^, DbType) constructor is initialized with the specified name and dbType parameters, and with default values for other properties. The Direction property is initialized to Input, and the DefaultValue property is initialized to null.

.NET Framework
Available since 2.0
Return to top
Show: