Please download and implements following proforma’s.
What does MVC look like?
for detail check this link
here “myobj” is the keyword in the deictionary and the object it is holding
against it is myobj and receive it like this in view
var auction = (mvcauction.models.myobj)ViewData["myobj"]
it is receiving it not as a strongly typed object in fact as a object type and has to caste it in view we can use viewbag method to avoid it and receive object as strongly typed object
we can use better method by passing model like
MVC is a stateless architecture if u need to redirect user to another
request/action and giving him message of successful completion
tempdata is both exposed to controller and view tempdata is stored on server for exactly one request from the user if u assign data to it on one request it would be available to very next request