Click here to Skip to main content
11,410,379 members (58,756 online)
Rate this: bad
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 8:59am

1 solution

Rate this: bad
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:[^]
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[^],[^]. Or look around here:[^]

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 129
1 Sascha Lefévre 95
2 Maciej Los 68
3 BillWoodruff 60
4 OriginalGriff 60
0 Sergey Alexandrovich Kryukov 8,755
1 OriginalGriff 6,915
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059

Advertise | Privacy | Mobile
Web04 | 2.8.150414.5 | Last Updated 29 Aug 2012
Copyright © CodeProject, 1999-2015
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