Can anyone please tell
1. How to bind the values of two database tables that are in relation(parent child relationship) to a single html table using ASP.NET MVC
2. first name : textbox
last name : textbox
full Name: ?????
Can anyone please tell me when the end user enter the firstname and last name those values must be binded and displayed on the screen as full name(user should not enter the full name)
Mobeen RashidPosted Nov 1, 2016, 8:02 AM
Follow below simple steps
Now ASP.NET MVC default model binder will bind your view model object to Model property in view where you can access it.
“Make sure you strongly type the view with your view model otherwise nothing will be binded to view”
Manas MohapatraPosted Oct 31, 2016, 2:54 PM