Table of Contents

Order Board

Explanation

This page will explain the Order Board's purpose, setup, and will enable you to use it yourself.

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's liking. It is not limited to orders however. It can be used as a Grid View for any data, and is especially set up to connect to a SQL database

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.

There are also a number of things you can do from here, including:

2. Setup

What is actually happening:

What you need to do to get this working

### Download the file.

### Right click the file and click “extract all”.

### 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=““. Enter your database information in between the parentheses.

### Go into ValuesController.cs. Within the switch case, you'll find the cases with names like “OrderStation”,”CompanyName”, “Contact”, etc. Replace these with your data categories from your database.

### Then you'll have a fully functioning grid with your data!

3. Technology

Download

orderboard.zip

See Also