Monday, 2 December 2013

Concept of Nullable type variable with UpdateModel

Concept of Nullable type variable with UpdateModel

In my last article I discussed how we can fetch data from view to controller using UpdateModel in MVC. In last example we use UpdateModel method where we pass model object i.e. your techaltum class. I am taking the same example in this article.
We have seen that when we click on button our data posted in model and using this model we insert this data into database.

Now I am again executing this example and this time I am not filling any data and submitting the form.

No comments:

Post a Comment