Add Method (DataParameterCollection)
Adds a parameter to this collection for use as a bind variable in the SQL statement.
Overload List
Overload | Description |
---|---|
Add(String,Object) | Adds a parameter to this collection for use as a bind variable in the SQL statement. |
Add(String,Object,ParameterDirection) | Adds a parameter to this collection for passing to the database and in replacing parameters in the SQL statement, using a specific parameter direction. |
Add(String,Object,IDbDataParameter) | |
Add(String,IDbDataParameter) | Adds a parameter to this collection for passing to the database and in replacing parameters in the SQL statement. |
Remarks
The parameters added to this collection are stored in order and are used by SqlHelper to replace the parameter tokens in the SQL statement in the order in which they appear.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family
Reference
DataParameterCollection Class DataParameterCollection Members