Visual InterDev

getParameter Method

See Also      Applies To

Gets a parameter from a stored procedure or parameterized query.

Syntax

object.getParameter(nIndex)

Parameters

object

A script object.

nIndex

An integer that specifies the zero-based index of a particular parameter within the array of parameters.

Remarks

To set the parameters for a stored procedure or parameterized query, use the setParameter method.

For information on using parameterized queries in DHTML, see the whitepaper "Using Parameterized Queries in DHTML" on the Microsoft® Visual InterDev™ Web site at http://www.microsoft.com/vinterdev/.

Examples

See setparameter for one example that uses a stored procedure and another example that uses a parameterized query.