DbType Property

Syntax:

public DbType DbType { get; set; }

Description:

Type: System.Data.DbType

Gets or sets the DbType of the parameter. The DbType and RdmType parameters are linked. Setting either changes the other to a matching value.

Exceptions:

Exception Condition
NotSupportedException The type specified is not a supported type.

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbParameter.DbType