Академический Документы
Профессиональный Документы
Культура Документы
The Shopping cart is mainly useful for who haven’t time to go to shopping, those are
just entered into this website and bought whatever they want. Even it is night or morning they
entered into this site, and chosen different items like fruits, books, toys etc.
‘Customer is our god’ mainly this website is based on this formula. After chosen
items he bought into Pay pal process like VISA or MASTER credit cards or any Debit cards
are accepted in this website. Customer is happily shopping at his rest place.
Once customer entered with his own username and password, at that time
automatically one shopping cart will be created, once user select an item it will add to cart. In
case user thinks the selected item is not useful for me, then deleted that item from shopping
cart.
Customer selected some items, but in his credit or debit cart haven’t that much
balance, then he was logout from the website, the selected items are stored at cart with
specific users with his allotted carts, after some days he bought those items then
automatically deleted from the cart.
Pentium-IV (Processor)
256 MB Ram
512 KB Cache Memory
Hard disk 10 GB
Microsoft Compatible 101 or more Key Board
VB.Net
Like all other .NET languages, VB.NET has complete support for object-oriented
concepts. Everything in VB.NET is an object, including all of the primitive types (Short,
Integer, Long, String, Boolean, etc.) and user-defined types, events, and even assemblies. All
objects inherits from the base class Object.
VB.Net has numerous strong programming features that make it endearing to multitude of
programmers worldwide. Let us mention some of these features:
Boolean Conditions
Automatic Garbage Collection
Standard Library
Assembly Versioning
Properties and Events
Delegates and Events Management
Easy-to-use Generics
Indexers
Conditional Compilation
Simple Multithreading
We have already mentioned that VB.Net is part of .Net framework and used for
writing .Net applications. Therefore before discussing the available tools for running a
VB.Net program, let us understand how VB.Net relates to the .Net framework.
The .Net Framework
The .Net framework is a revolutionary platform that helps you to write the following
types of applications:
Windows applications
Web applications
Web services
The .Net framework applications are multi-platform applications. The framework has
been designed in such a way that it can be used from any of the following languages: Visual
Basic, C#, C++, Jscript, and COBOL, etc.
All these languages can access the framework as well as communicate with each other.
The .Net framework consists of an enormous library of codes used by the client
languages like VB.Net. These languages use object-oriented methodology.
For the jobs each of these components perform, please see ASP.Net - Introduction,
and for details of each component, please consult Microsoft's documentation.
Integrated Development Environment (IDE) For VB.Net
The last two are free. Using these tools, you can write all kinds of VB.Net programs
from simple command-line applications to more complex applications. Visual Basic Express
and Visual Web Developer Express edition are trimmed down versions of Visual Studio and
has the same look and feel. They retain most features of Visual Studio. In this tutorial, we
have used Visual Basic 2010 Express and Visual Web Developer (for the web programming
chapter).
SQL Server 2005 is the successor to SQL Server 2000. It included native support for
managing XML data, in addition to relational data. ). SQL Server 2005 added some
extensions to the T-SQL language to allow embedding XQuery queries in T-SQL. In
addition, it also defines a new extension to XQuery, called XML DML that allows query-
based modifications to XML data. SQL Server 2005 also allows a database server to be
exposed over web services using TDS packets encapsulated within SOAP (protocol) requests.
When the data is accessed over web services, results are returned as XML.
SQL Server 2005 has also been enhanced with new indexing algorithms and better
error recovery systems. Data pages are check summed for better error resiliency, and
optimistic concurrency support has been added for better performance. Permissions and
access control have been made more granular and the query processor handles concurrent
execution of queries in a more efficient way.SQL Server is a comprehensive, integrated end-
to-end data solution that empowers users across your organization by providing them with a
secure, reliable, and productive platform for enterprise data and business intelligence (BI)
applications. SQL Server 2005 delivers powerful, familiar tools to Information Technology
professionals as well as to information workers, reducing the complexity of creating,
deploying, managing, and using enterprise data and analytical applications on platforms
ranging from mobile devices to enterprise data systems.
Complete data management and analysis platform for medium businesses and
larger departments
SQL Server Management Studio
Database Mirroring
SQL Management Objects
Database Mirroring
Failover Clustering
3 SYSTEM STUDY
The Existing system is used only for storing the data into paper. Customer
information and Supplier information are not clear with this system. What kind of news paper
and the delivery system are not clear with the existing system. If we search any data’s like
customer or supplier details can’t easy by the existing system. In the existing system cant
store more amount of information.
This system is intended to manage the delivery of newspapers and magazines in some
small town or area of a larger town. It is intended for use by newsagents who are only casual
users of computer systems and should run on a PC or similar hardware.
The development of the new system contains the following activities, which try to automate
the entire process keeping in view of the database integration approach.
To debug the existing system, remove procedures those cause data redundancy, make
navigational sequence proper. To provide information about audits on different level
and also to reflect the current work status depending on organization/auditor or date.
Required to build strong password mechanism.
The system makes the overall project management much easier and flexible.
Various classes have been used to provide file upload and mail features.
There is no risk of data mismanagement at any level while the project development is
under process.
It provides high level of security using different protocols like https etc.
4 SYSTEM DESIGN
DFD Diagrams:
Context Level (0th Level) Diagram:
User
User Data Out Put Stage
Reports
Shopping Cart
Login DFD
Login Master
verification
Order
Login User Master
Open Form()
Manage Manage Order
1.0.0 Users 1.0.4
1.0.2
Enter Login
Details Manage Manage
Prodects Country
1.0.1
1.0.3 1.0.5
Products
Verifies Validates
Data Data
Manage
Country
Manage
1.0.6 State
Manage
Log out
1.0.7 Catagory
Coutry
State
Catagory
2nd Level DFD For Manage Product
Product
Products Products
Manage
Product Update
Delete Product
Product Log out
1.0.3.1
1.0.3.5
1.0.3.3
Add
Product View Product
1.0.3.2 1.0.3.4
Product
Verifies Validates
Data Data
Order
Order Order
Manage
order Delete View Order
Order Log out
1.0.4.1 1.0.4.4
1.0.4.3
Place
Order View Status
1.0.4.2 1.0.4.5
Order
Verifies Validates
Data Data
User Activities DFD
Cart
Account Products
Open Form()
Order Products View Cart
2.0.0 Log out
2.0.4
2.0.2
Manage
Account View Product
2.0.1 2.0.3
Product
Verifies Validates
Data Data
Enter Enter
New First Name Last Name
User 3.0.2
Registrati 3.0.4
on Enter
Enter DOB
3.0.0 Middle Name
3.0.5
Generate 3.0.3 Verifies
User Id Verifies
3.0.1
Verifies Enter
Verifies
EmailId
Enter
RD
3.0.8
Enter
3.0.6
Contact No
Enter
Address User Master
3.0.9
3.0.7
4.1.1 Entity Relationship Diagram
4.2 DATABASE DESIGN
Table:
tblAddress
Table: tblAdminMenu
Table: tblAttributes
Table: tblBrands
Table: tblCategories
Table:tblCustomer
Table: tblFeaturedProducts
Table: tblHotSellingProducts
Table: tblNewlyAddedProducts
Table: tblOfferedProducts
Table: tblOrderDetails
Table: tblOrders
Table: tblOrderStatus
Table: tblPageContent
Table: tblProducts
Table: tblShoppingCart
Table:tblUser
4.3 INPUT DESIGN
Input design is one of the most expensive phases of the operation of computerized
system and is often the major problem of a system. Input design is a part of overall design,
which requires careful attribute. Inaccurate input data are the most common cause of
errors in data processing. T h e g o a l o f designing input data is to make data entry as
easy, logical and free from errors. In the system design phase input data are collected
and organized in to groups of similar data.
One of the aims of the system analyst must be to select data capture method and
devices, which reduce the number of stages so as to reduce both the changes of errors and the
cost .Input types, can be characterized as.
External
Internal
Operational
Computerized
Interactive
Input files can exist in document form before being input to the computer. Input
design is rather complex since it involves procedures for capturing data as well as inputting it
to the computer.
Output design generally refers to the results and information that are generated by the
system for many end-users; output is the main reason for developing the system and the basis
on which they evaluate the usefulness of the application.
Computer output is the most important and direct source of information to the user.
Output design is very important phase because the output will be in an interactive manner.
The output will be in such away that the user can see it from the screen and can take a hard
copy from the printer. Efficient, Major form of the output is a hard copy from the printer.
Outputs from computer systems are required primarily to communicate the results
of processing to users. They are also used to provide a permanent copy of these result for
latter consultation .
Computer output is the most important and direct source of information to the users.
Designing computer output should proceed in an organized well throughout the manner. The
right output must be available for the people who find the system easy o use.
The outputs have been defined during the logical design stage. If not, they should
defined at the beginning of the output designing terms of types of output connect, format,
response etc,
Various types of outputs are
External outputs
Internal outputs
Operational outputs
Interactive outputs
Turn around outputs
All screens are informative and interactive in such a way that the user can full fill his
requirements through asking queries.
5 SYSTEM TESTING AND IMPLEMENTATION
The units in a system are the modules and routines that are assembled and integrated
to perform a specific function. The programs are tested for correctness of logic applied and
detection of errors in coding. Each of the modules was tested and errors are rectified. They
were then found to function properly.
Integration Testing
In integration testing, the tested modules are combined into sub-systems, which are
then tested. The goal of integration testing to check whether the modules can be integrated
properly emphasizing on the interfaces between modules. The different modules were linked
together and integration testing done on them.
Validation Testing
The objective of the validation test is to tell the user about the validity and reliability
of the system. It verifies whether the system operates as specified and the integrity of
important data is maintained. User motivation is very important for the successful
performance of the system.
All the modules were tested individually using both test data and live data. After each
module was ascertained that it was working correctly and it had been "integrated" with the
system. Again the system was tested as a whole. We hold the system tested with different
types of users. The System Design, Data Flow Diagrams, procedures etc. were well
documented so that the system can be easily maintained and upgraded by any computer
professional at a later
System Testing
The integration of each module in the system is checked during this level of testing.
The objective of system testing is to check if the software meets its requirements. System
testing is done to uncover errors that were not found in earlier tests. This includes forced
system failures and validation of total system as the user in the operational environment
implements it. Under this testing, low volumes of transactions are generally based on live
data. This volume is increased until the maximum level for each transactions type is reached.
The total system is also tested for recovery after various major failures to ensure that no data
are lost during the breakdown.
Implementation is the stage where the theoretical design is turned into a working
system. The most crucial stage in achieving a new successful system and in giving
confidence on the new system for the users that it will work efficiently and effectively.
The system can be implemented only after thorough testing is done and if it is found
to work according to the specification.
It involves careful planning, investigation of the current system and its constraints on
implementation, design of methods to achieve the change over and an evaluation of change
over methods a part from planning. Two major tasks of preparing the implementation are
education and training of the users and testing of the system.
The more complex the system being implemented, the more involved will be the
systems analysis and design effort required just for implementation.
The implementation phase comprises of several activities. The required hardware
and software acquisition is carried out. The system may require some software to be
developed. For this, programs are written and tested. The user then changes over to his new
fully tested system and the old system is discontinue
6 CONCLUSION
The following conclusions can be deduced from the development of the project. News
paper proclamination monitoring system of the entire system improves the efficiency. It
provides a friendly graphical user interface which proves to be better when compared to the
existing system. It gives appropriate access to the authorized users depending on their
permissions. It effectively overcomes the delay in communications. Updating of information
becomes so easier. System security, data security and reliability are the striking features. The
System has adequate scope for modification in future if it is necessary.
This application avoids the manual work and the problems concern with it. It is an
easy way to obtain the information regarding the various products information that is present
in the Super markets.
7 SCOPE FOR FUTURE ENHANCEMENT
It is a System project. With this project the details about the product will be given to
the customers in detail with in a short span of time. Queries regarding the product or the
services will also be clarified. It provides more knowledge about the various technologies.
In future to b e developed into web based application. In various place agency to
access the application and monitoring the news paper system.
BIBLIOGRAPHY
string SessionId;
SessionId = Session["sessionId"].ToString();
for (int i = 1; i <= 12; i++)
{
ddlMonth.Items.Add(i.ToString());
}
for (int j = 2007; j <= 2099; j++)
{ ddlyear.Items.Add(j.ToString()); }
carttotal =
Int32.Parse(ProductController.GetCartTotal(SessionId).ToString());
taxamt = 0.085 * ProductController.GetCartTotal(SessionId);
}
protected void btnpay_Click(object sender, EventArgs e)
{
int i;
string a;
a = Session["sessionid"].ToString();
if (Session["UserName"] != null)
{
i =
ProductController.GetIdFromtblUserAccount(Session["UserName"].ToString());
OrderNo = ProductController.insertorder(i,
float.Parse(carttotal.ToString()), float.Parse(taxamt.ToString()),
float.Parse((carttotal + taxamt + 10).ToString()),
Int32.Parse(Session["shipid"].ToString()),
Int32.Parse(Session["billid"].ToString()), a,
Request["Billfname"].ToString());
btnpay.Enabled = false;
Response.Redirect("/Shopping/Thanks
page/frmThanks.aspx?orderno=" + OrderNo);
}
else
{
OrderNo =
ProductController.insertorder(int.Parse(Request["Custid"].ToString()),
float.Parse(carttotal.ToString()), float.Parse(taxamt.ToString()),
float.Parse((carttotal + taxamt + 10).ToString()),
Int32.Parse(Session["shipid"].ToString()),
Int32.Parse(Session["billid"].ToString()), a,
Request["Billfname"].ToString());
Response.Redirect("/Shopping/Thanks page/frmThanks.aspx?orderno="
+ OrderNo);
}
}
public int orderno
{
get
{
return OrderNo;
}
}
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ShoppingCart.BL;
using System.Data.SqlClient;
}
protected void btnSignin_Click(object sender, EventArgs e)
{
string s,l;
int IdRole = 0;
SqlDataReader dr = ProductController.GetLogin(txtUserName.Text,
txtPwd.Text);
if (dr != null)
{
if (dr.Read())
{
s = dr["FName"].ToString();
l = dr["LName"].ToString();
Session["Username"] = txtUserName.Text;
Object obj =
ProductController.GetRoleByUsername(txtUserName.Text.Trim());
if (obj != null)
{
IdRole = Convert.ToInt32(obj.ToString());
}
//FormsAuthentication.RedirectFromLoginPage(txtUserName.Text.Trim(),false);
if (IdRole == 8)
Response.Redirect("~/Admin/frmAdmin.aspx");
else
Response.Redirect("/Shopping/MyAccount/frmMyAccount.aspx?u=" +
Session["Username"]);
}
else
{
lblError.Text="not a valid user";
}
}
}
}
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using ShoppingCart.BL;
using System.Data.SqlClient;
if (Session["UserName"] != null)
{
s = Session["UserName"].ToString();
SqlDataReader dr = ProductController.getAccountDetails(s);
if (dr.HasRows)
{
if (dr.Read())
{
txtfname.Text = dr["Fname"].ToString();
txtlname.Text = dr["Lname"].ToString();
txtContact.Text = dr["ContactNo"].ToString();
txtEmail.Text = dr["EmailID"].ToString();
txtaddr.Text = dr["Address"].ToString();
rdbtn.Text = dr["Gender"].ToString();
li=ddlCountry.Items.FindByValue(dr["CountryID"].ToString());
if (li != null)
li.Selected = true;
li =
ddlState.Items.FindByValue(dr["StateID"].ToString());
if (li != null)
li.Selected = true;
li=ddlCity.Items.FindByText(dr["CityID"].ToString());
if (li != null)
li.Selected = true;
}
}
}
}
}
private void state()
{
DataSet dsState = ProductController.getAllStatedetails();
BindDDL(ddlState, dsState, "Name", "ID");
BindDDL(ddlstate1, dsState, "Name", "ID");
}
private void country()
{
DataSet dsCountry = ProductController.getCountrydetails();
BindDDL(ddlCountry, dsCountry, "Name", "ID");
BindDDL(ddlcountry1, dsCountry, "Name", "ID");
}
private void BindDDL(DropDownList ddl, DataSet ds, string txtField,
string valField)
{
ddl.DataSource = ds;
ddl.DataTextField = txtField;
ddl.DataValueField = valField;
ddl.DataBind();
}
private void city()
{
DataSet dscity = ProductController.getCitydetails();
BindDDL(ddlCity, dscity, "Name", "ID");
BindDDL(ddlcity1, dscity, "Name", "ID");
}
a = ProductController.spInsertAddressV2(txtfname.Text,
txtlname.Text, txtEmail.Text, rdbtn.SelectedItem.ToString(),
txtContact.Text,
txtaddr.Text, int.Parse(ddlCountry.SelectedItem.Value),
int.Parse(ddlState.SelectedItem.Value),
int.Parse(ddlCity.SelectedItem.Value));
custid=a[1];
Session["shipid"] = a[0];
a=ProductController.spInsertAddressV2(txtfname1.Text,
txtlname1.Text, txtmail1.Text, rdbtn1.SelectedItem.ToString(),
txtno1.Text, txtaddr1.Text,
int.Parse(ddlcountry1.SelectedItem.Value),
int.Parse(ddlstate1.SelectedItem.Value),
int.Parse(ddlcity1.SelectedItem.Value));
Session["billid"] = a[0];
Response.Redirect("/Shopping/Payment/frmPayment.aspx?Billfname=" +
txtfname.Text + "&custid=" + custid);
}
else
{
txtfname.Enabled =false;
txtlname.Enabled = false;
txtContact.Enabled = false;
txtEmail.Enabled = false;
txtaddr.Enabled = false;
rdbtn.Enabled = false;
ddlCountry.Enabled = false;
ddlState.Enabled = false;
ddlCity.Enabled = false;
}
}
protected void chkEditBiling_CheckedChanged(object sender, EventArgs e)
{
if (chkEditBiling.Checked == true)
{
ListItem li = null;
txtfname1.Enabled = false; txtfname1.Text = txtfname.Text;
txtlname1.Enabled = false; txtlname1.Text = txtlname.Text;
txtno1.Enabled = false; txtno1.Text = txtContact.Text;
txtmail1.Enabled = false; txtmail1.Text = txtEmail.Text;
txtaddr1.Enabled = false; txtaddr1.Text = txtaddr.Text;
ddlcountry1.Enabled = false;
rdbtn1.Items.FindByValue(rdbtn.SelectedValue.ToString()).Selected=true;
li=ddlcountry1.Items.FindByValue(ddlCountry.SelectedValue.ToString());
if (li != null)
{
ddlcountry1.ClearSelection();
li.Selected = true;
}
ddlstate1.Enabled = false;
li =
ddlstate1.Items.FindByValue(ddlState.SelectedValue.ToString());
if (li != null)
{
ddlstate1.ClearSelection();
li.Selected = true;
}
ddlcity1.Enabled = false;
li =
ddlcity1.Items.FindByValue(ddlCity.SelectedValue.ToString());
if (li != null)
{
ddlcity1.ClearSelection();
li.Selected = true;
}
}
else
{
txtfname1.Enabled =true;
txtlname1.Enabled =true;
txtno1.Enabled = true;
txtmail1.Enabled = true;
txtaddr1.Enabled = true;
rdbtn1.Enabled = true;
ddlcountry1.Enabled = true;
ddlstate1.Enabled = true;
ddlcity1.Enabled = true;
}
}
protected void ddlcountry1_SelectedIndexChanged(object sender,
EventArgs e)
{
DataSet dsState =
ProductController.getAllStatesByCountryID(int.Parse(ddlcountry1.SelectedVal
ue));
BindDDL(ddlstate1, dsState, "Name", "ID");
DataSet dsCity =
ProductController.getCitydetailsByStateID(int.Parse(ddlstate1.SelectedValue
));
BindDDL(ddlcity1, dsCity, "Name", "ID");
}
protected void ddlstate1_SelectedIndexChanged(object sender, EventArgs
e)
{
ddlCity.Items.Clear();
DataSet dscity =
ProductController.getCitydetailsByStateID(int.Parse(ddlstate1.SelectedValue
));
BindDDL(ddlcity1, dscity, "Name", "ID");
}
}