Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

OdbcParameterCollection.AddWithValue Method

Adds a value to the end of the OdbcParameterCollection.

Namespace:  System.Data.Odbc
Assembly:  System.Data (in System.Data.dll)

public OdbcParameter AddWithValue(
	string parameterName,
	Object value
)

Parameters

parameterName
Type: System.String

The name of the parameter.

value
Type: System.Object

The value to be added.

Return Value

Type: System.Data.Odbc.OdbcParameter
An OdbcParameter object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft