ModelMetadata.ConvertEmptyStringToNull Property
.NET Framework (current version)
Gets or sets a value that determines whether empty strings that are submitted in forms should be converted to null.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System.Booleantrue if empty strings should be converted to null; otherwise, false. The default value is true.
.NET Framework
Available since 4.5
Available since 4.5
Show: