Glendale Citrus Company (GCC)

baasopchoppyΑσφάλεια

5 Νοε 2013 (πριν από 3 χρόνια και 5 μήνες)

80 εμφανίσεις


ASP.NET

CIS166AC

Assignment
3


Glendale Citrus Company (GCC)

Lab 3


Assignment Goal: Using ASP.NET Server Controls


For this assignment, we will utilize ASP.Net server controls found in the Visual Studio toolbox.
The ASP.Net controls provide increased functionality and flexibility over HTML server controls .


We will be incorporating more programming and calculations in

this page.



Business Scenario:

So far so good



We will now take the customer information web form to the next level by
building the same web page using ASP.Net


server controls.




Assignment Inputs:


You will be creating another web form to connect to
from the Home Page you created in
assignment one.


This page is an order page that will guide the customer through the on
-
line
purchase of citrus products



customer name (required field / ASP.NET textbox

o

Must not be blank



product (ASP.NET drop down list)

o

Oranges
-

$5 / case

o

Grapefruits $8 / case

o

Lemons $4.50 / case



Quantity (ASP.NET textbox)

o

must be greater than 0 and less than 100



S
hipping company (ASP.NET radio button list)


o

UPS $1.10 per case (7 business days)

o

USPS $1.12 per case (5 business days)

o

FedEx

2.35 per case (overnight)




(an ASP.NET calendar control should pop up with the delivery date
displayed based on the shipping option chosen)



Order

Button (which will validate a quantity, product and shipper selected.


If not error
message displayed)


o


Calc
ulate order cost if inputs are valid



Error Message area (ASP.NET label control)

display all error messages here


Program Inputs:



Course Textbook



Class lectures



Assignment specifications


Program Requirements:



All of the following requirements must be met

and included in this assignment.



Web form should be linkable from the homepage under a link name of customer
information



The

customer information web form must utilize rules designated above.




Page must include only ASP.Net controls to collect and valida
te order information.




A

submit button must be coded that will display a message on the screen indicating that
customer information has been saved and the cost of the order.



Note:

validation is done with code and not validation controls for this assignme
nt.

Assignment Outputs:



Working file system project with web page accessible from Glendale Citrus Company
Web Site




Solution should calculate correct cost for 5 cases of oranges shipped via UPS.


Assignment Rubric:


Appropriate use of ASP,NET Server Contro
ls



calendar control


2 point



radio button List control 2 point



textbox and label controls 1 points



field validation 1 point



order cost calculation 2 point

8

Quality Assurance

2

Total Points