Professional Documents
Culture Documents
Online Shop Cart: A Project Report
Online Shop Cart: A Project Report
Project Report
On
SUBMITTED TO:
SUBMITTED BY:
ANKITA ACHARYA
BHEEMARAM BALACH
(VII SEMESTER)
(H.O.D CSE )
Mrs. MS NISHA
(2009-10)
(HOD IT)
ACKNOWLEDGEMENT
CONTENTS
1. Project Specification
1.1
Problem Definition
1.2
Overview of Products
1.3
Product Features
1.4
Product Limitations
Vs.Net
2.2
SQL server
Requirement Analysis
3.2
3.3
4. Database Design
4.1
Tables SnapShots
5. EProject Code
5.1
Hardware Requirements
6.2
Software Requirements
PROJECT
SPECIFICATION
1.1 PROBLEM DEFINATION:
Arts is a stationary shop that sells arts, gift articles, greeting
cards, dolls, files, hand bags, wallets, and as well some of the beauty
products, etc. As there is a lot of demand for the greeting cards, gift
articles, hand bags, etc. and in this busy world where one can hardly find
time to go out for shopping and with the emerging new technologies where
one can purchase products by placing an order through online by sitting at
home/office either by credit cards or by VPP or through Cheque or through
DD.
1.2 OVERVIEW OF PRODUCT And PRODUCT FEATURES:
In order to cope up in this competitive world, and to retain the customers, to
automate the process, our client wants an application to be built meeting the
current technology trend where the customers can place their order through
online by sitting at their office/home, and providing the products as per the
orders received by the dealer at the door steps of the customer.
He says that he wants that the application should hold the details of the products in
detail like price, description of the product and each product is allocated
5
with a unique 7 digit product id which includes 2 digit product code and 5
digit product number. Also he says that for fetching the details of the
products, the customer need not be the registered one, but for placing an
order one has to be the registered user of the site.
After placing an order, the dealer would dispatch the order as per the type of
delivery that the customer has chosen. He says that the application should
generate a unique 16 digit order number (includes the type of the delivery (1
digit) that the user has opted for, Product id (7 digit), and the order number
(8 digit)) as soon as the order is placed by the customer.
For the order which is placed through the credit card payment or through
cheque, the payment should be cleared first and then only the product will be
dispatched to the customers premises. Also he has provided an option like if
the customer is not satisfied by the product then the customer can either
replace it (new product will not be sent) or he can return it back with in a
week days time, so that he can get back his money which he has paid for that
product. Also the warranty card will also be provided for the products which
have some warranty.
The dealer alone should be able to update the details of the employees,
products and their details, and he can check the orders that are received
based on the date, order type (delivery) and he alone has the right to create
an employee profile like username or login id and the password. The
employee should only be able to change his password, and he can check the
details of the orders so that the products can be dispatched as per the
customers request and that they can be delivered in time..
6
INTRODUCTION
TO
THE TOOLS
2.1 Visual Studio .net: Visual studio provides an extremely rich programming environment. Visual
Basic has evolved from a small, rather limited programming environment to an awesome
developed tool
Object-Based Design.
Standard EXE.
Active X control.
Data Project.
DHTML Application.
IIS Application.
Visual Studio Learning edition: It is an introductory edition that lets you easily create window
application. It comes with all the tools that you need to build mainstream
window application.
Visual Basic Professional edition: It is for computers professionals and includes advance features such as
tools to develop Active X and Internet controls.
Visual Basic Enterprise edition: It is the most Advanced edition and is aimed at
programmers who build distributed application in a team environment.
It includes all the features of the professional edition, plus tools such as
Visual SourceSafe and the Automation and Component Manager.
2.2
Internet Integration.
Data warehousing.
10
SOFTWARE REQUIREMENTS
SPECIFICTION
3.1 REQUIREMENT ANALYSIS: OBJECTIVE OF THE PRODUCT REQUIREMENT: Worked about the products information and all necessary
details regarding the product.
DEPENDENT DATA REQUIREMENT: Traced out all suitable data that is dependent and needed for
the development of our product.
SOURCE REQUIREMENT: Identified source of each requirement.
INTERFACE TRACIBILITY: Identified how each requirement is related to each other may
be internal or external system interfaces.
11
12
Enter
Welcome
Splash
Screen
Project Overview
Adm. Login
Exit
Registration
All Option
Search
Update
Record
Delete
Record
13
Database :- BookStore
TABLES :
bags
beauty
Buying
Details
customerde
tails
feed
files
gift
greeting
s
query
views
DATABASE
DESIGN
4.Files /Tables information : The name of database is Bookstore.. It contains only 6 tables.
Description of the table is given below.
14
2.Beauty :
Table structure
3. Buying Details
Table structure
15
4. Customer details
Table structure
5. Feed
Table structure
16
6. Files
Table structure
7. Gift
Table structure
17
8.Greeting
Table structure
9.Query
Table structure
18
10.views
Table structure
19
Eproject Code
Snapshot
HomePage(Default.aspx)
Source Code :
Default.aspx
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Online Shopping Cart</title>
<link rel="stylesheet" type="text/css" href="rtb2008-01.css" />
<script language="javascript" type="text/javascript">
// <!CDATA[
function sidebar_onclick() {
20
}
// ]]>
var slideShowSpeed = 1500
var crossFadeDuration = 50
var img = new Array()
img[0] = 'http://localhost/Arts/flower/1.jpg'
img[1] = 'http://localhost/Arts/flower/2.jpg'
img[2] = 'http://localhost/Arts/flower/3.jpg'
img[3] = 'http://localhost/Arts/flower/4.jpg'
img[4] = 'http://localhost/Arts/flower/5.jpg'
img[5] = 'http://localhost/Arts/flower/6.jpg'
img[6] = 'http://localhost/Arts/flower/7.jpg'
img[7] = 'http://localhost/Arts/flower/8.jpg'
img[8] = 'http://localhost/Arts/flower/9.jpg'
img[9] = 'http://localhost/Arts/flower/10.jpg'
img[10] = 'http://localhost/Arts/flower/11.jpg'
img[11] = 'http://localhost/Arts/flower/12.jpg'
img[12] = 'http://localhost/Arts/flower/13.jpg'
var t
var j = 0
var p = img.length
var preLoad = new Array()
for (i = 0; i < p; i++){
preLoad[i] = new Image()
preLoad[i].src = img[i]
}
function runSlideShow(){
if (document.all){
document.images.Slide.style.filter="blendTrans(duration=3)"
document.images.Slide.style.filter="blendTrans(duration=crossFadeDuratio
n)"
document.images.Slide.filters.blendTrans.Apply()
}
document.images.Slide.src = preLoad[j].src
if (document.all){
document.images.Slide.filters.blendTrans.Play()
}
j = j + 1
if (j > (p-1)) j=0
t = setTimeout('runSlideShow()', slideShowSpeed)
}
</script>
</head>
<body onload="runSlideShow()">
21
22
<a href="feed.aspx">FeddBack</a> |
<a href="#top">Top of Page</a>
<p>
www.Arts.com| All Rights Reserved<br />
Graphic Design by <a href="">Aptech Students's Batch 09-10</a></p>
</div>
</div>
<br />
</div>
</form>
</body>
</html>
Prodcut.aspx
Source Code
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="product.aspx.cs"
Inherits="product" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
23
<head runat="server">
<title>Untitled Page</title>
<link rel="stylesheet" type="text/css" href="rtb2008-01.css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<a name="top"></a>
<div id="wrapper">
<div id="header">
<div id="global" style="left: 0px; top: 10px">
<a href="default.aspx">Home</a> |
<a href="login.aspx">Login</a> |
<a href="faqs.aspx">FAQ's</a> |
<a href="query.aspx">Query</a> |
<a href="feed.aspx">FeedBack</a> |
<a href="aboutus.aspx">Aboutus</a></div>
<img alt="" src="images/header.jpg" width="900" height="230" />
</div>
<div id="content">
<h2>
<asp:Image ID="Image1" runat="server" src="images/1.jpg"
Height=100 Width=100/>
<asp:Image ID="Image2" runat="server"
src="images/10.gif" Height=100 Width=100 />
<asp:Image ID="Image3" runat="server"
src="images/2.jpg" Height=100 Width=100/>
<asp:Image ID="Image4" runat="server" src="images/3.jpg"
Height=100 Width=100/></h2>
<p>
</p>
<p>
<asp:Image ID="Image9" runat="server" src="images/logo.jpg"
Height=200px Width=265px />
</p>
<p>
</p>
<p>
</p>
<p>
<asp:Image ID="Image5" runat="server" src="images/4.jpg"
Height=100 Width=100/>
<asp:Image ID="Image7" runat="server" src="images/5.jpg"
Height=100 Width=100/>
<asp:Image ID="Image6"
runat="server" src="images/6.jpg" Height=100 Width=100/>
24
25
Source Code:
26
27
Login.aspx
28
29
</Columns>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<EditItemStyle BackColor="#999999" />
<SelectedItemStyle BackColor="#E2DED6" Font-Bold="True"
ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<AlternatingItemStyle BackColor="White" ForeColor="#284775"
/>
<ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
</asp:DataGrid>
</p>
<!-- #EndEditable -->
</div>
<div id="sidebar">
<h4>Site Menu:</h4>
<div id="mainnav">
<ul>
<li><a href="default.aspx">Home</a></li>
<li><a href="greetings.aspx">Greetings Cards</a></li>
<li><a href="bags.aspx">HandBags & Wollets</a></li>
<li><a href="beauty.aspx">Beauty Proudcts</a></li>
<li><a href="files.aspx">Files & Folders</a></li>
</ul></div>
<!-- #EndEditable -->
</div>
<div id="footer">
<a href="default.aspx">Home</a> |
<a href="faqs.aspx">FAQs</a> |
<a href="aboutus.aspx">AboutUs</a> |
<a href="query.aspx">Query</a> |
<a href="feed.aspx">FeedBack</a> |
<a href="#top">Top of Page</a>
<p>Online Shopping Cart © 2009 | All Rights Reserved<br />
Graphic Design by <a href="">Aptech Student's Batch 09-10</a></p>
</div>
</div>
</div>
</form>
</body>
</html>
30
Source Code:
31
32
Purcashing( add.aspx)
33
SourceCode:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="creditc.aspx.cs"
Inherits="creditc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<link rel="stylesheet" type="text/css" href="rtb2008-01.css" />
</head>
<body>
<form id="form1" runat="server">
<span id="message" runat="server"></span>
<div style="text-align: center">
<div>
<a name="top"></a>
<div id="wrapper" style="text-align: center">
<div id="header">
<div id="global" style="left: 0px; top: 10px">
<a href="default.aspx">Home</a> |
<a href="product.aspx">Product</a> |
<a href="login.aspx">Login</a> |
<a href="faqs.aspx">FAQ's</a> |
<a href="query.aspx">Query</a> |
34
<a href="feed.aspx">FeedBack</a> |
<a href="aboutus.aspx">Aboutus</a></div>
<img alt="" src="images/header.jpg" width="900" height="230" />
</div>
<strong><span style="font-size: 16pt; color: #cc6666"><span
style="color: dimgray">
<br />
<br />
Payment
Through Credit Card</span><br />
<br />
</span></strong>
<table style="font-weight: bold; font-size: 16pt; width: 650px;
color: #cc6666; height: 386px;
text-align: left">
<tr>
<td style="width: 100px; height: 28px">
<asp:Label ID="Label1" runat="server" FontSize="Large" ForeColor="DimGray" Text="Amount :"></asp:Label></td>
<td style="width: 100px; height: 28px">
<asp:Label ID="Label2" runat="server" FontSize="Large" ForeColor="DimGray" Text="Label"
Width="50px"></asp:Label></td>
</tr>
<tr style="font-size: 7pt; color: #ff0000">
<td style="width: 100px; height: 27px">
<asp:Label ID="Label3" runat="server" FontSize="Large" ForeColor="DimGray" Text="Card Type :"></asp:Label></td>
<td style="width: 100px; height: 27px">
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem Value="Visa"></asp:ListItem>
<asp:ListItem Value="Master
Card"></asp:ListItem>
<asp:ListItem Value="American
Express"></asp:ListItem>
</asp:DropDownList><span style="color:
#ff0000"></span></td>
</tr>
<tr>
<td style="width: 100px; height: 32px">
<asp:Label ID="Label12" runat="server" FontSize="Large" ForeColor="DimGray" Text="Credit Card No. :"
Width="118px"></asp:Label></td>
<td style="width: 100px; height: 32px">
<asp:TextBox ID="TextBox10" runat="server"
MaxLength="16"></asp:TextBox><span style="color: dimgray">*</span></td>
</tr>
<tr>
<td style="width: 100px; height: 31px">
<asp:Label ID="Label4" runat="server" FontSize="Large" ForeColor="DimGray" Text="CVV :"></asp:Label></td>
<td style="width: 100px; height: 31px">
<asp:TextBox ID="TextBox1" runat="server"
MaxLength="3" TextMode="Password" Width="22px"></asp:TextBox><span
35
36
<asp:RequiredFieldValidator
ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox5"
ErrorMessage="Required" Font-Size="Large"
ForeColor="DimGray"></asp:RequiredFieldValidator></span></td>
</tr>
<tr>
<td style="width: 100px; height: 36px">
<asp:Label ID="Label8" runat="server" FontSize="Large" ForeColor="DimGray" Text="City :"></asp:Label></td>
<td style="width: 100px; height: 36px">
<asp:TextBox ID="TextBox6"
runat="server"></asp:TextBox><span style="color: #ff0000"><span
style="color:
dimgray">*</span><asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server"
ControlToValidate="TextBox6" ErrorMessage="Required"
Font-Size="Large"
ForeColor="DimGray"></asp:RequiredFieldValidator></span></td>
</tr>
<tr>
<td style="width: 100px; height: 32px">
<asp:Label ID="Label9" runat="server" FontSize="Large" ForeColor="DimGray" Text="State :"></asp:Label></td>
<td style="width: 100px; height: 32px">
<asp:TextBox ID="TextBox7"
runat="server"></asp:TextBox><span style="color: #ff0000"><span
style="color:
dimgray">*</span><asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox7" ErrorMessage="Required"
Font-Size="Large"
ForeColor="DimGray"></asp:RequiredFieldValidator></span></td>
</tr>
<tr>
<td style="width: 100px; height: 33px">
<asp:Label ID="Label10" runat="server" FontSize="Large" ForeColor="DimGray" Text="e-mail ID :"></asp:Label></td>
<td style="width: 100px; height: 33px">
<asp:TextBox ID="TextBox8"
runat="server"></asp:TextBox><span style="color: #ff0000"><span
style="color: dimgray">*</span>
</span><asp:RegularExpressionValidator
ID="RegularExpressionValidator1" runat="server"
ControlToValidate="TextBox8"
ErrorMessage="Invalid e-mail ID" Font-Size="Large"
ForeColor="DimGray"
ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+
([-.]\w+)*"></asp:RegularExpressionValidator>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox8"
ErrorMessage="Required" Font-Size="Large"
ForeColor="DimGray"></asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 100px; height: 35px">
<asp:Label ID="Label11" runat="server" FontSize="Large" ForeColor="DimGray" Text="Order ID :"></asp:Label></td>
37
Thanks(cash.aspx)
38
SourceCode :
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cash.aspx.cs"
Inherits="cash" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body style="font-size: 12pt">
<form id="form1" runat="server">
<div style="text-align: center">
<br />
<br />
<br />
<br />
<br />
<strong><em><span style="color: dimgray"><span style="font-size:
16pt"><span>Placing
Order Successful !!!!</span><br />
<br />
Thanks for making the order.<br />
<br />
39
</span></span></em></strong><strong><em><span style="font-size:
16pt; color: dimgray">
Please make the payment to the delivery boy as soon as you
receive the goods purchased
by you.....<br />
<br />
The product will be delivered to you within 4-5 working
days.<br />
</span></em></strong>
<br />
<asp:Button ID="Button1" runat="server" Font-Bold="True"
ForeColor="DimGray" OnClick="Button1_Click"
Text="Home" Width="97px" /></div>
</form>
</body>
</html>
40
USER MANUAL
6.1 Hardware requirements: All hardware should be on the Microsoft Windows 2000 or Microsoft
Windows NT.
Hardware Compatibility List
Computer/ Processor
Memory
Hard Disk
processor recommended.
64 MB recommended
5 MB minimum.
Drive
CD-ROM drive.
Display
Operating System
VGA recommended.
Microsoft Windows 2000 or later operating
system.
Peripheral/Miscellaneous
41
The following soft wares are required to fulfill the requirements for
our application.
VS.NET 2005.
SQL Server.
42