Hello, in new in ASP MVC im reading some examples and looking on internet, i think its not so hard once you jump into it.
im a webform programmer but i want to use MVC for internet applications and Webforms for Intranet Apps.
im looking the way of populate more than 1 table in MVC, because the method only allow me to return One ModelView or i dont know how to return more, i have to build the table in the controller and store into a ViewData and display the viewData in the page ??
[edited] sorry i think i dont express the idea, the point is that i want to populate 2 or more datatables in the page.
For example, if i Have a Customer and that Customer has 5 Contacts and 5 Address, i want to display the Customer Information and 2 Tables with Contacts and Address.
for each p in modelview { "" + p.Name + "" }
for each p2 in modelview2 { "" + p2.Product + "" }
[/Edit]
*sorry about my english :P