DB2 Version 10.1 for Linux, UNIX, and Windows

DB2ParameterCollection.SetParameter Method

Sets the specified DbParameter to the specified value.

Table 1. Overload List
Method Description
SetParameter(int, System.Data.Common.DbParameter) Sets the DbParameter at the specified index to the specified value.
SetParameter(string, System.Data.Common.DbParameter) Sets the DbParameter with the specified name to the specified value.