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::IsNullable Property
.NET Framework (current version)
Gets or sets a value that indicates whether the parameter accepts null values. IsNullable is not used to validate the parameter’s value and will not prevent sending or receiving a null value when executing a command.
Assembly: System.Data (in System.Data.dll)
public: property bool IsNullable { virtual bool get() override; virtual void set(bool value) override; }
Property Value
Type: System::Booleantrue if null values are accepted; otherwise false. The default is false.
The following example creates a SqlParameter and sets some of its properties.
.NET Framework
Available since 1.1
Available since 1.1
Show: