ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,612 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
If model.Gender
is an integer and form["Gender"]
is a string that contains the corresponding integer, then try this: model.Gender = int.Parse(form["Gender"])
.
In case of dates, try model.LisansBaslangicTarih = DateTime.Parse(form["LisansBaslangicTarih"])
but also give details or examples about these values.
Show the error messages too.