Provide a consistent and logical navigation system

Assignment Help Computer Engineering
Reference no: EM131657551

Project Assignment- New Car Builder

The goal of this assignment is to give you some experience creating web applications with a GridView control and using dynamic binding for dynamic data displays.

Requirements:

1. Create a table named "Cars" in your database with the following fields:

Field

Data Type

CarID

int

CarMake

varchar(MAX)

CarModel

varchar(MAX)

CarYear

int

BasePrice

float

TotalSales

float

TotalQuantitySold

int

2. Create a table named "Packages" in your database with the following fields:

Field

Data Type

CarID

int

PackageDescription

varchar(MAX)

Price

float

TotalQuantitySold

int

3. Design the user interface (input form)

a. Add form controls for the user to enter their information name, address, and phone number.

b. Add a form control that allows the user to choosethe option to buy or lease the car they build.

c. Add a form control that allows the user to choose the option to have a dealership contact them or they would rather visit a dealership.

d. Use a drop-down box or list to display a list of car makes.

e. Use a drop-down box or list to display a list of car models for a previously selected make. The items in this list are tied to the selection in the car makes drop-down list. This means this drop-down box's values should change anytime the user chooses another make.

f. Add a form control that allows the user to choose a color for the car.

g. Put a GridView control on your form that will be used to display all the available packages for a particular car make and model and it will allow the user to select packages that will be added to the car they are building. This input GridView display will be dynamic with 3 columns. Each row in the GridView will correspond to a Package option stored in the database for a particular car's Make and Model.

i. First column displays the PackageDescription coming from the database.
ii. Second column displays the Price of the Package.
iii. Third column contains a checkbox for the user to select the item to add to the car they are building.

4. Use server-side input validation

a. The name, address, and phone number textboxes cannot be blank.
b. The user must select an option to either buyor lease.
c. The user must select an option to have a dealership contact them or not.
d. The user must choose a make and model before they can submit the form to buy/lease a new car.

5. Server-side processing

a. Create a separate ClassLibrary project that contains 3 classes. Name the library project CarLibrary
b. The first class Carrepresents a newly built car. It should contain 5 elements, as class properties, to be displayed in the output GridView (in

Part 6). The 5 elements pertain to a single car that was built.

i. Make, Model, Year, Color, TotalCost (base price plus all packages added to the newly built car), and a collection of packages chosen by the user.

ii. The class should contain methods to add and remove packages along with any other class members that may be necessary. The packages added to the Car object are simply instances of the CarOption class..

c. The second class CarOption should contain elements and properties to store information about a package that was chosen.

d. The third class should contain functions that deal with processing the newly built car and any other operations that may be necessary:

i. You need one function that receives a Car object that represents a newly built car, and updates the TotalSales and TotalQuantitySoldfields in the Cars table for thespecific Car Make and Model in the database. This function should also update the TotalQuantitySold field in the Packages table.

ii. One function that computes the TotalCost of a Car which is based on the Car object's BasePrice (from the database) and all the options added to the Car object.

6. Display car buildoutput

a. Display the name, address, phone number, buy/lease choice, and dealership contact choice.

b. Display the car's make, model, and color.

c. Display a dynamicGridView as Illustrated below. It needs to display the car options (packages) that were ordered for the newly built car. The GridView must display the ArrayListof car options (packages) from part 5b; this is what should be bound to this GridView in order to display the newly build car.

d. "Total Cost" is calculated using the base price of the car and all the packages added to the base model.

e. The last row of the GridView should display the totals for the Quantity column, and the Total Cost column. You need to implement this as a footer of the GridView.

Output GridView

Package Description

Price

...

...

...

...

Total Cost

$ ...

7. Management report

a. Create a management report that will display the TotalSalesand TotalQuantityOrderfor each Car in the database.
b. The data should be displayed in descending order.
c. This information could be displayed on the same page or on a separate ASPX page.

8. Visibility control

a. Control the visibility of both the input GridView and the output GridView displays. You want to show the input GridView when building a new car to order and hide the output Gridview. Then, you want to show the output GridView and hide the input GridView after the build was processed.

9. Good Design:

a. Use server-side input validation.

b. Implement exception handling, so your programs don't crash for any reason.

c. Provide a consistent and logical navigation system. The user should never have to use the browser's Back and Forward buttons to move between pages.

d. Make your presentation clear to the user, providing on-screen instructions wherever needed both for data entry and error correction. If required data is omitted or entries are incorrect, the user should not have to re-enter data that is already correct.

e. Create a good data model and implement the data model by creating the necessary tables in the database. You will be graded on the implementation of your data model.

f. You need to use a proper naming convention for all controls and in your code. I expect you to properly name your classes, variables, functions, etc...

g. You cannot use the SQLDataSource control or any other controls to work with the database. You need to handle the code manually using ADO.NET programming.

h. You must use component-based software design. This means writing as much code in classes and functions of classes instead of in the GUI.

Reference no: EM131657551

Questions Cloud

Supporting the pros and cons of leadership : Support an argument supporting the pros and cons of leadership who strategically merge to form conglomerates
Will the exculpatory agreement signed be enforced : Months later, Leon sustained head injuries when a sauna bench on which he was lying collapsed beneath him at Family Fitness. Leon filed an action against Family
Differentaite the insemination or impregnation : A New York statute states that surrogate parenting agreements-agreements whereby insemination or impregnation is done specifically for the purpose of creating.
What is the minimum change : If the maintaince margin is 30%, what is the minimum change (accurate to 2 decimal places) in the stock price that will trigger a margin call?
Provide a consistent and logical navigation system : Provide a consistent and logical navigation system. The user should never have to use the browser's Back and Forward buttons to move between pages.
Determining the cancellation clause unconscionable : Buyer reserves the right to terminate by notice to Seller all or any part of this Purchase Order with respect to Goods that have not actually been shipped.
Save a constant percentage of salary : If you save a constant percentage of your salary, what percentage of your salary must you save each year?
Design a network which implemented with VPN services for SME : MN610Virtual Private Networks Assignment. The purpose of assignment is develop requirements & design network which can be implemented with VPN services for SME
Share your definitions of collectivism and individualism : What are two differences between collectivist beliefs and individualist beliefs? How might people in these different cultures view their life's purpose?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd