Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
control_order_board_web [2019/01/30 09:22] 127.0.0.1 external edit |
control_order_board_web [2019/02/07 11:46] kcifreo [What you need to do to get this working] |
||
---|---|---|---|
Line 13: | Line 13: | ||
===== 1. Purpose ===== | ===== 1. Purpose ===== | ||
+ | The purpose of the Order Board was to be used as a compressed model file for clients to have a place where they can keep their placed orders. It was made to use simple code that any developer can take and tweak to the client' | ||
+ | {{: | ||
- | The purpose of the Order Board was to be used as a compressed model file for clients to have a place where they can keep their placed orders. It was made to use simple | + | Here, the head names are Order, Company Name, and Contact Name. These heading are all directly related |
- | |||
- | |||
- | {{:: | ||
- | |||
- | |||
- | |||
- | Here, the head names are Order, Company Name, and Contact Name. These heading are all directly related to columns in your database. The code receives the columns from the database, turns them into the names that you choose, and puts them onto the grid. | ||
* Order: Shows all data in the " | * Order: Shows all data in the " | ||
- | * Company Name: Shows all data in the " | + | * Company Name: Shows all data in the " |
* Contact Name: Shows all data in the " | * Contact Name: Shows all data in the " | ||
+ | There are also a number of things you can do from here, including: | ||
- | + | | |
- | There are also a number of things you can do from here, including: | + | * You can sort any heading by clicking the name of the heading; click it once to ascend, and twice to descend. |
- | * **Sorting** | + | |
- | * You can sort any heading by clicking the name of the heading; click it once to ascend, and twice to descend. | + | |
* Paging | * Paging | ||
- | | + | |
Line 50: | Line 43: | ||
==== What you need to do to get this working ==== | ==== What you need to do to get this working ==== | ||
+ | |||
* Attached is the file with all of the code for the Order Board. However, to get it working for you, you're gonna need to do a couple things including: | * Attached is the file with all of the code for the Order Board. However, to get it working for you, you're gonna need to do a couple things including: | ||
- | + | - Download the file. | |
- | + | | |
- | ### Download the file. | + | |
- | + | | |
- | + | | |
- | + | | |
- | ### Right click the file and click " | + | |
- | + | ||
- | + | ||
- | + | ||
- | ### Enter the file, and click CyriousInternalDatasource.sln. That will load the website in Visual Studios 2012. | + | |
- | + | ||
- | + | ||
- | + | ||
- | ### Attach your database to the project by going into the Web.config and find the line that contains **connectionString="" | + | |
- | + | ||
- | + | ||
- | + | ||
- | ### Go into ValuesController.cs. Within the switch case, you'll find the cases with names like " | + | |
- | + | ||
- | + | ||
- | + | ||
- | ### Then you'll have a fully functioning grid with your data! | + | |