In ASP.NET MVC, on [HttpPost] methods, the MVC runtime will automatically maps and transfers the data from the form fields in the front end into a View Model, based on field names.
How can I accomplish the same thing in ASP.NET WebForm?
e.g. I have an object called Person with FirstName and LastName properties.
I have a WebForm page with Textbox controls with FirstName and LastName respectively.
When pressing Submit on the form, is there a way to automatically bind FirstName and LastName to the Person object in the code-behind Button_Click event?