The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
SqlParameter::ParameterName Property
.NET Framework (current version)
Gets or sets the name of the SqlParameter.
Assembly: System.Data (in System.Data.dll)
public: property String^ ParameterName { virtual String^ get() override; virtual void set(String^ value) override; }
The ParameterName is specified in the form @paramname. You must set ParameterName before executing a SqlCommand that relies on parameters.
The following example creates a SqlParameter and sets some of its properties.
.NET Framework
Available since 1.1
Available since 1.1
Show: