Professional Documents
Culture Documents
Gaols Docu
Gaols Docu
G&A Online Shopping is a multilayered architecture project consisting of a data access layer,
connection layer and presentation layer. The shopping cart system was patterned after myayala.com
which was what we exactly want to achieve as a project.
FiguresProgrammer’s
2.0 Sign UpManual
Module
Submitted by:
Magno, Gerald A. 2007140617 IT192P-BT1
Tolentino, Allan Jay B.
“G&A Online Shopping”
Features
outline: none;
}
</style>
<style type="text/css">
/* rotator in-page placement */
div#rotator {
position:relative;
height:67px;
margin-left: 15px; Submitted by:
top: 0px;
Magno, Gerald A. 2007140617 IT192P-BT1
left: -15px;
Tolentino, Allan Jay B.
width: 524px;
}
Use of Jquery for WebBanner or Image Rotator
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></scr
ipt>
<script type="text/javascript">
function theRotator() {
function rotate() {
next.css({opacity: 0.0})
.addClass('show')
.animate({opacity: 1.0}, 1000);
Submitted by:
Magno, Gerald A. 2007140617 IT192P-BT1
Tolentino, Allan Jay B.
Programmers Manual
Sign Up Module
For our Sign Up module we used the Create User Wizard Control
(see figure 2.0)
Drag CreateUserWizard Control into your Web Form and name it Register.aspx
Go to your Web.Config file and from there you could edit the connection
string of your database which you would store the User Registration
information. Look for Membership tag inside the web.config file and edit
connection string.
<!--
Submitted by:
Magno, Gerald A. 2007140617 IT192P-BT1
Tolentino, Allan Jay B.
CartControl.ascx.cs
This module will display your cart items and will allow editing the quanitty and
computing the total price.
ManagerDS.ShoppingCartRow dr =
CartView.Table.Rows[e.Item.ItemIndex] as ManagerDS.ShoppingCartRow;
dr.Quantity = decimal.Parse(qty);
dr.Price = decimal.Parse(price);
dr.SubTotal = dr.Price * dr.Quantity;
DataList1.EditItemIndex = -1;
BindList();
}
protected void DataList1_DeleteCommand(object source,
DataListCommandEventArgs e)
{
if (CartView.Table.Rows.Count > e.Item.ItemIndex)
CartView.Table.Rows.RemoveAt(e.Item.ItemIndex);
BindList();
}
Submitted by:
Magno, Gerald A. 2007140617 IT192P-BT1
Tolentino, Allan Jay B.