bind two table in the one pagehttp://forums.asp.net/t/1791620.aspx/1?bind+two+table+in+the+one+pageFri, 13 Apr 2012 03:45:24 -040017916204926907http://forums.asp.net/p/1791620/4926907.aspx/1?bind+two+table+in+the+one+pagebind two table in the one page <p>hi all</p> <p>How bind two table in the one page???</p> <p>I want use two ViewData in the one page</p> 2012-04-11T12:13:33-04:004926936http://forums.asp.net/p/1791620/4926936.aspx/1?Re+bind+two+table+in+the+one+pageRe: bind two table in the one page <p>You should (in general) have a dedicated class for the things you need in the view. That will be your viewmodel for the view. The controller would fetch the necessary data from one or more tables and poplate an instance of that class. It would then pass the viewmodel to the view.</p> 2012-04-11T12:21:12-04:004926983http://forums.asp.net/p/1791620/4926983.aspx/1?Re+bind+two+table+in+the+one+pageRe: bind two table in the one page <p></p> <blockquote><span class="icon-blockquote"></span> <h4>keivan mousavi</h4> How bind two table in the one page???</blockquote> <p></p> <p>please read http://msprogrammer.serviciipeweb.ro/2010/03/29/asp-net-mvc-orm-and-viewmodels/</p> <p></p> 2012-04-11T12:40:37-04:004927131http://forums.asp.net/p/1791620/4927131.aspx/1?Re+bind+two+table+in+the+one+pageRe: bind two table in the one page <p>Hi,</p> <p>Insted of using ViewData use ViewModel.</p> <p>Fetch data in controller &amp; disply it in view using viewmodel.</p> <p></p> 2012-04-11T13:48:17-04:004927906http://forums.asp.net/p/1791620/4927906.aspx/1?Re+bind+two+table+in+the+one+pageRe: bind two table in the one page <p>Tanxfull all for answers<br> But I think mean it went bad<br> I have two section in the one page I want with select section one (where there are actionlink) bind be section two</p> 2012-04-11T22:10:42-04:004929790http://forums.asp.net/p/1791620/4929790.aspx/1?Re+bind+two+table+in+the+one+pageRe: bind two table in the one page <p>Please help me</p> 2012-04-12T18:22:01-04:004930247http://forums.asp.net/p/1791620/4930247.aspx/1?Re+bind+two+table+in+the+one+pageRe: bind two table in the one page <p></p> <blockquote><span class="icon-blockquote"></span> <h4>keivan mousavi</h4> I have two section in the one page I want with select section one (where there are actionlink) bind be section two</blockquote> <p></p> <p>Bind? Please open a new question and detail the business case, not ( I have section one...) ... More, you could see some Ajax in action here</p> <p>http://bit.ly/mvc_ajax_jquery</p> <p></p> 2012-04-13T03:45:24-04:00