System.Data.Odbc.OdbcParameterCollection Class

Represents a collection of parameters relevant to an System.Data.Odbc.OdbcCommand and their respective mappings to columns in a System.Data.DataSet. This class cannot be inherited.

See Also: OdbcParameterCollection Members

Syntax

[System.ComponentModel.Editor("Microsoft.VSDesigner.Data.Design.DBParametersEditor, Microsoft.VSDesigner, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.ListBindable(false)]
public sealed class OdbcParameterCollection : System.Data.Common.DbParameterCollection

Remarks

The number of parameters in the collection must equal the number of parameter placeholders within the command text, or else the .NET Framework Data Provider for ODBC raises an error.

Requirements

Namespace: System.Data.Odbc
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0