27 July 2013

Add multiple model in View MVC 3 and MVC 4

Add multiple model in View MVC 3 and MVC 4

Using Tuple it is possible, Add below code in the view.

@model Tuple< Model1,Model2 >

Example : http://pastebin.com/VBPhBBUw


No comments:

Post a Comment

Comments Welcome

Find number of letter occurence of all letter in c#

  Find number of letter occurence of all letter in c#  namespace ConsoleApp1 {     internal class Program     {         static void Main(st...