Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# MVC
Hi, I have made a order page using MVC 2 working well I have inserted the orders in database now I want make a search and select page for order where user would be shown.
 
1- OrderID
2- OrderDate
3- Company that ordered.
4- Amount.
 
I want a table showing these 4 columns and if user clicks a orderid it would pull up rest of the columns from database for selected order and pass that to the order page that I have already made. I am new to MVC and want to know the best techniques so please guide me if you know any link to such article.
Posted 29-Aug-12 7:59am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

And what have you done so far?
If a simple list is enough, the demo project in the Visual Studio template is a good starting point. But this is also a simple, but good tutorial: http://kenneththorman.blogspot.hu/2010/06/aspnet-mvc-20-master-detail-views.html[^]
If you want a searchable, sortable table, look for a jquery grid like here: An Example to Use jQuery Grid Plugin in MVC - Part 1[^], http://www.trirand.com/blog/?page_id=6[^]. Or look around here: http://stackoverflow.com/questions/177275/grid-controls-for-asp-net-mvc[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web04 | 2.8.141022.2 | Last Updated 29 Aug 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100