Introduction:
Here we will learn how to send data from controller to view in asp.net mvc with example or asp.net mvc pass data or value from controller to view. In asp.net mvc we have different options to pass or send data value from controller to view those are tempdata, viewbag and viewdata. We will learn how to use these options to send data from controller to view in asp.net mvc.
Description:
In previous articles I explained different types of action filters in asp.net mvc, asp.net mvc action verbs (post, put, get and delete) with example, asp.net mvc action selector attribues with example, tightly coupled view in asp.net mvc with example and many articles relating to asp.net mvc, asp.net, c#,vb.net. Now I will explain how to send data from controller to view in asp.net mvc application with example.
In previous articles I explained different types of action filters in asp.net mvc, asp.net mvc action verbs (post, put, get and delete) with example, asp.net mvc action selector attribues with example, tightly coupled view in asp.net mvc with example and many articles relating to asp.net mvc, asp.net, c#,vb.net. Now I will explain how to send data from controller to view in asp.net mvc application with example.