The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
OdbcParameterCollection::Add Method (String^, OdbcType, Int32, String^)
.NET Framework (current version)
Adds an OdbcParameter to the OdbcParameterCollection given the parameter name, data type, column length, and source column name.
Assembly: System.Data (in System.Data.dll)
public: OdbcParameter^ Add( String^ parameterName, OdbcType odbcType, int size, String^ sourceColumn )
Parameters
- parameterName
-
Type:
System::String^
The name of the parameter.
- odbcType
-
Type:
System.Data.Odbc::OdbcType
One of the OdbcType values.
- size
-
Type:
System::Int32
The length of the column.
- sourceColumn
-
Type:
System::String^
The name of the source column.
The following example adds an OdbcParameter to the Parameters collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: