OleDbCommand Constructor ()
.NET Framework (current version)
Initializes a new instance of the OleDbCommand class.
Assembly: System.Data (in System.Data.dll)
The base constructor initializes all fields to their default values. The following table shows initial property values for an instance of OleDbCommand.
Properties | Initial Value |
|---|---|
empty string ("") | |
30 | |
Text | |
null |
The following example creates an OleDbCommand and sets some of its properties.
.NET Framework
Available since 1.1
Available since 1.1
Show: