แก้ไข

แชร์ผ่าน


DbParameter.DbType Property

Definition

Gets or sets the DbType of the parameter.

public:
 abstract property System::Data::DbType DbType { System::Data::DbType get(); void set(System::Data::DbType value); };
public abstract System.Data.DbType DbType { get; set; }
[System.ComponentModel.Browsable(false)]
public abstract System.Data.DbType DbType { get; set; }
member this.DbType : System.Data.DbType with get, set
[<System.ComponentModel.Browsable(false)>]
member this.DbType : System.Data.DbType with get, set
Public MustOverride Property DbType As DbType

Property Value

One of the DbType values. The default is String.

Implements

Attributes

Exceptions

The property is not set to a valid DbType.

Applies to

See also