If I have a `String.Empty` textbox, if I do:
if (property.PropertyType.IsGenericType && property.PropertyType.GetGenericTypeDefinition() == typeof(Nullable<>))
property.SetValue(model, Convert.ChangeType(controlType.Value, property.PropertyType.GetGenericArguments()[0]), null);
else { property.SetValue(model, Convert.ChangeType(controlType.Value, property.PropertyType), null); }
It always throws a format error, can it not assign ""?