Project (Lap Tech)
Project (Lap Tech)
1. Introduction :-
Internet. As the technology is being advanced the way of life is changing accordance. Now a
day's we can place the order for Laptops from our home. There is no need to go the shop of the
Laptops we want. The order can be placed online through Internet. The payment, the
confirmation of purchasing; we can do every thing we want. Now we can think that how the
days have been changed with time. People had to stand in rows to wait there terms to buy a
particular thing from a popular shop. But what is happening now a day's; we can extremely
surprise that those things can be available on the door-step in few hours.
People had to suffer the rush of the market when they went for shopping. They used to think
hundred times to buy any thing having the sufficient money for shopping. The problem was
the rush; the quarrel at the time of buying the things. But the advancement of technology
brought the new way for shopping. The way of shopping was completely changed with the
People havez to fill a simple form on the internet to place their order for the Laptops they
want to buy. Now they can place their order from the home.
implements the E-shopping or in other word shopping through Internet. It lets the user to place
1.1 Objective :-
Today the internet and its boom have created a new economic scenario that not only stresses
on the classical concept of the "product" but also on the modern concept of "service". It is this
level of service that dictates whether a commerc ial venture will succeed or not in the market.
2
To provide a high accessibility of service we will design the online shopping website, so that
potential customers need not go to a physical shop to buy products or services. There are
• This site is gives all the information about the e-shopping to provide better service for the
customer .
• It provides the facility to the customers who want to shop on-line due to lock of time.
• It provides facility to the customer to payment by the cash and cheque and DD also.
• It's providing the full details about the product and related information about the product like
• With the help of it we can save the time and money also.
• It provides the remote shopping by the cash,or DD,or Debit card also.
Customer.
2. System Analysis :-
The e-shopping Administrator is the super user and has complete control over all the activities
that can be performed. The application notifies the administrator of a ll shop creation requests,
and the administrator can then approve or reject them. The administrator also manages the list
of available product categories. The administrator can also view and delete entries in the
guestbook.
3
Lap_tech Systems described above can lead to error free, secure reliable and fast management
It can assist the staff to concentrate on their related (for Shopping) activities rather to
concentrate on the records and reports of issuing Products, registration and suppliers .This will
In this phase, the user identifies the need for a new or improved system. n large organizations
specific requirement of the client that integrates the buying and selling services specifically to
their customers.Need for the new system is due to major drawbacks of existing system.
Reports can be generated at any time within few seconds, so that manual labour is not
required, and also analysis can be performed much more frequently which helps in taking
decision. The details regarding all users, products can also be maintained as their information
is very helpful and sometimes becomes a critical requirement. Allows user to get registered
The organization will obviously be able to gain benefits such as savings in operating cost,
reduction in paperwork, better utilization of human resources and more presentable image
increasing goodwill. The other benefits are improved service and faster and better access to
4
up-to-date information.
The initial cost of setting up the system will include the cost of hardware (server/clients,
network adapter and related hardware), software (server OS, add-on software, utilities) &labor
Besides, the initial cost the long term cost will include the running cost for the system
including the AMC, Product charges,cost for human resources,cost for update/renewal of
The users along with the administrator need to be trained at the time of implementation oif the
system for smooth running of the system. The client will provide the training site.
2.3.5 Admin
User can submit a shop creation request through the application. When the request is approved
by theAdministrator, the requester is notified, and from there on is given the role of Web
Owner. The Web Owner is responsible for setting up the Web and maintaining it. The job
involves managing the sub-categories of the brand in the Lap_tech. Also, the Web owner can
add or remove items from his shop. The web Owner can view different reports that give deta
ils of the sales and orders specific to his shop. The Web Owner can also decide to close Web
2.3.6 Customer :-
Here customer is the perosn who is authenticate by the admin. Customer can be allowed to
search the product with or without LogIn procedure. Customer allowed to order that particular
5
product whatever he/she decided to buy. Customer can Pay their payment through different
2.3.7 Vendor :-
Here vendor is the Company owner who will be authenticate by the admin . After
authentication process vendor allowed to visible their particular product on our web page
vendor have only authrity to Add product,Vendor can not be able to delete their product.
3.FEASIBILITY STUDY :-
Feasibility is the determination of whether or not a project is worth doing. The process fo
lowed in making this determination is called a feasibility study. This type of study determines
if a project can and should be taken. Once it has been determined t hat a project is feasible, the
analyst can go ahead and prepare the project specification which finalizes project
requirements.
ln the conduct of the feasibility study, the analyst will usually consider seven distinct, but
They are,
Technical Feasibility
Operational Feasibility
Economic Feasibility
Social Feasibility
Management Feasibility
Legal Feasibility
6
Time Feasibility
This is concerned with specifying equipment and software that willsuccessfully satisfy the user
requirement; the technical needs of thesystem may vary considerably, but might include the
In examine technical feasibility configuration of the system is givenmore importance than the
actual make of hardware. The configurationshould give the complete picture about the
system‟s requirement. How many work stations are required, how these units are
interconnected so that they could operate and communicate smoothly. What speeds of input
and output should be achieved at particular quality of printing. This can be used as a basis for
It is mainly related to human organization and political aspects. The points to be considered
are:-
• What new skills will be required? Do the existing staff members have these skills? If not, can
Generally project will not be rejected simply because of operationalinfallibility but such
7
considerations are likely to critically affect the nature and scope of the eventual
recommendations.
Economic analysis is the most frequently used technique for evaluating the effectiveness of a
proposed system. More frequenty known as cost I benefit analysis; the procedure is to
determine the benefits and saving that are expected from a proposed system and compare
them with costs. If benefits outweight costs, a decision is taken to design and implement the
system. Otherwise, future justification or alternative in the proposed system will have to be
made if it is to have a change of being approved. This is an ongoing effort that improves in
people or not. This determination typically examines the probability of the project accepted by
not accept a project or gives a negligible support to it; the analyst will tend to view the project
as a non-feasible one.
well as any pending legisnation. Although in some instances the project might appear sound.
with n a stipulated time frame. If a project takes too much time it is likely to be rejected.
This is the outcome of Microsoft which was developed for competing java in the world
market. It supports many programming languages like C++, C#, Visual Basic, XML etc.
I have used ASP. Net w ith C# to develop this softwa re due to following reasons:
• It is Very easy to use ASP. net to develop web-based application because of its user-friendly
functionalities.
• C# is the la nguage that uses both CUI and GUI Interfaces thus more flexibility.
5.MODULE DESCRIPTION :-
We know that it is quite difficult to do any thing of its whole part at a time.
Soit is the task of the programmer to break/split the whole set of task into various small
it depends upon the software system that in which Extent it will be broken so that thereis no
Admin Module
Customer Module
Vendor Module
Payment Module
Order Module
Product Module
5.1 Admin:
Admin is a person whose responsibility is to maintain the database that contains each and
every data regarding the all the Customer and Vendor. Admin can add Customer and Vendor
details into the database, can be able to delete Customer and Vendor details.
5.2 Customer :-
Here the Customer means the Buyer. The responsibility of the Customer is to login into the
site and can choose his/her laptop and can able update his/her personal details if there is any
wrong details are present. Whenever the Customer will register his/her name then the
Customer will be given by one individual username and password. When the Customer will
type the correct username and password then the will enter into another page. In that page, the
Customer can select two options that are view product and order product. A Customer can able
to update his/her personal details and can be able to view the payment details.
10
5.3 Vendor :-
Here vendor is the Company owner who will be authenticate by the admin. After
authentication process vendor allowed to visible their particular product on our web page.
Vendor have only authority to Add product, vendor can not be able to delete their product.
When a customer goes through checkout, the information on their order is automatically
transfer to the orde section for you to keep track of. In the administration, you can view all the
order made on their site, manually add orders, or edit the details of existing order the order
section is located under sale > order. On this page every order ever made form the store is
listed in details.
The Shipping Report can be accessed through Reports > Sales >Shipping. The Shipping report
displays which shipping method is being used the most by customers in the store front.
depending on which option you select in the Group any drop box.
• Date Start: The date of the first day of the week tracked ( if set to week in Group By).
• Date End: The date of the last day of the week tracked (if set to weekin
Group By).
• Shipping Title: The shipping method used. The shipping title with the highest
totalwill be displayed at the top. The lowest totalw ill be at the bottom.
• No. of Orders: The number of orders made through the store between the
• Total: The total amount of money paid for shipping between the date start
and end.
The Returns Report can be accessed through Reports>Sales> Returns. The returns report
requested within a given time frame. The returns informat onis displayed in either daily,
weekly, monthly, or yearly increments depending on which option you select in the Group by
drop box.
• Date Start: The date of the first day of the week tracked ( if set to week in
Group By)
• Date End: The date of the last day of the week tracked (if set to weekin
Group By)
• No. Returns: The number of return requests submitted or aeated between the date start and
date end.
The Products Viewed Report gives you an idea of what products are being viewed the most, or
the least, in the store front. You can access this sect on under Reports > Products > Viewed in
the administrat on side. The report will position the top viewed product first. Along with the
product name and model, the report will display the number of customers who viewed that
product in the store front, and the percentage of views for this specific product out of all the
views for products on the site. Clicking Reset will clear the information below and reset the
The reports under Sales Reports can be accessed from Reports Sales. Orders, taxes, shipping,
Tax Report: The Tax Report can be accessed through Reports > Sales > Tax. The Tax report
displays which type of tax is being paid the most by customers in the store front. Tax
• Date Start: The date of the first day of the week tracked ( if set to week in Group By).
• Date End: The date of the last day of the week tracked (if set to weekin
Group By).
• No. of Orders: The number of orders made through the store between the
• Total: The total amount of money paid for taxes by customers between the date start and
end.
The Software Requirements Specification is produced at the culmination of the analysis task.
The function and performance allocated to software as part of system engineering are refined
6.1 Introduction :-
6.1.1 Purpose -
The main purpose, to make this software is to over come of problems of database
handling, maintain registers of members, Products, and information about worker which are
This SRS is meant for basically my final semester project report of MCA. Besides, it is
obviously targeted for the managers of mentioned center, the client, to get and overall
description and advantage of the proposed system over the existing manual system.
The proposed system is being developed keeping in mind the requirements/need of the client
to automate its existing system for record keeping, report generation and management level
information system. Keeping in mind the needs, the system has been developed as per
guidelines laid by the client's center. The system is capable enough to handle Shopping
records, Product's records, member's records, visitors records, report generation, and storing
The proposed system falls under RDBMS (Relational Data Base Management System)
category . Ihave adopted PHP as front end for the software and MYSQL as back end.
PHP is at present one of the most popular deve lopment platform for web based system that is
MYSQL is at present the most reliable and secure RDBMS tool. MYSQL Server works to
efficiently manage its resource, a database of information, among the multiple clients
requesting and sending data in the network. MYSQL has many important features that make
it not only an exceptional database management system but also an excellent database
So the overall system will prove to reliable, secure and efficient for the organization.
Any person can query for Products availability according to specified conditions.
Product issued .
Logout.
•A person can get all information about a Products if he keys in the Product id.
• A person can get the availability of all Products for the next 20 days.
• Official members are suppose to do that work which distributed by the administrator.
• Administrator or assigned official members can define and manage charges information.
• Administrator or assigned official members can define scheme and modify time to time
deliver the better performance than the file server system because a client application and
database server work together to sprnt processing load of applications (thus the term
distributed processing). The server manages the database among the number of clients,
while the client send, request, and analyze the data entry form with small specific data set,
such as rows in a table not file as in the file server system. A database server is intelligent
enough so that it lock and return only the rows a client request, which ensure concurrency,
Assumptions and Dependencies While cost estimation of the proposed system it has been
assumed that the cost hardware and for license of Operating System and back end w ill be
met by client (the organization). Hence only the cost incurred for the proposed software is
included therein.
The followings are identified as some of the potential risk factors or dependencies:
16
Power cuts.
Iam using SDLC model that begin at system level and progresses through analysis, design,
It has been required that every form's interface should be user friendly and simple to use.
Besides, there should be facility of accessing the system through keyboard along with the
It has been required that there could be a necessity of using tlhe stored data for some kind
of report that is not supported by proposed system at present. So the proposed system is
required to export its data as text file so that some other application software can import
the data.
Other than descriptions provided above, the following features were required by the client.
17
A data flow diagram (DFD) maps out the flow of information for any process or system. It
uses defined symbols like rectangles, circles and arrows, plus short text labels, to show data
inputs, outputs, storage points and the routes between each destination. Data flowcharts can
range from simple, even hand-drawn process overviews, to in-depth, multi-level DFDs that dig
progressively deeper into how the data is handled. They can be used to analyze an existing
system or model a new one. Like all the best diagrams and charts, a DFD can often visually
“say” things that would be hard to explain in words, and they work for both technical and
nontechnical audiences, from developer to CEO. That‟s why DFDs remain so popular after all
these years. While they work well for data flow software and systems, they are less applicable
8.1 Symbols : -
Using any convention‟s DFD rules or guidelines, the symbols depict the four components of
An outside system that sends or receives data, communicating with the system being
diagrammed. They are the sources and destinations of information entering or leaving the
system. They are also known as terminators, sources and sinks or actors. They are typically
8.1.3 Process:-
Any process that changes the data, producing an output. It might perform computations, or sort
data based on logic, or direct the data flow based on business rules. A short label is used to
18
Files or repositories that hold information for later use, such as a database table or a
membership form. Each data store receives a simple label, such as “Orders.”
The route that data takes between the external entities, processes and data stores. It portrays
the interface between the other components and is shown with arrows, typically labeled with a
• Each data store should have at least one data flow in and one data flow out.
A data flow diagram can dive into progressively more detail by using levels and layers,
even Level 3 or beyond. The necessary level of detail depends on the scope of what you are
trying to accomplish.
This is also called a Context Diagram. It‟s a basic overview of the whole system or process
being analyzed or modeled. It‟s designed to be an at-a-glance view, showing the system as a
single high-level process, with its relationship to external entities. It should be easily
19
understood by a wide audience, including stakeholders, business analysts, data analysts and
developers.
Level 0 :-
Provides a more detailed breakout of pieces of the Context Level Diagram. You will highlight
the main functions carried out by the system, as you break down the high-level process of the
Then goes one step deeper into parts of Level 1. It may require more text to reach the
9. What is an ER diagram?
An Entity Relationship (ER) Diagram is a type of flowchart that illustrates how “entities”
such as people, objects or concepts relate to each other within a system. ER Diagrams are
most often used to design or debug relational databases in the fields of software
engineering, business information systems, education and research. Also known as ERDs
or ER Models, they use a defined set of symbols such as rectangles, diamonds, ovals and
connecting lines to depict the inter connected of entities, relationships and their attributes.
They mirror grammatical structure, with entities as nouns and relationships as verbs.
23
ER Diagrams are composed of entities, relationships and attributes. They also depict
9.1.1 Entity:-
A definable thing such as a person, object, concept or event that can have data stored about it.
Think of entities as nouns. Examples: a customer, student, car or product. Typically shown as
a rectangle.
Entity
Fig 6
A group of definable things, such as students or athletes, whereas the entity would be the
Same as an entity type, but defined at a particular point in time, such as students enrolled in a
class on the first day. Other examples: Customers who purchased last month, cars currently
registered in Florida. A related term is instance, in which the specific person or car would be
Entities are categorized as strong, weak or associative. A strong entity can be defined solely by
its own attributes, while a weak entity cannot. An associative entity associates entities (or
Associative Entity
Weak Entity
Fig 7
Refers to an attribute that uniquely defines an entity in an entity set. Entity keys can be super,
candidate or primary. Super key: A set of attributes (one or more) that together define an entity
in an entity set.
A minimal super key, meaning it has the least possible number of attributes to still be a super
key. An entity set may have more than one candidate key.
A candidate key chosen by the database designer to uniquely identify the entity set. Foreign
9.1.8 Relationship :-
How entities act upon each other or are associated with each other. Think of relationships as
verbs. For example, the named student might register for a course. The two entities would be
the student and the course, and the relationship depicted is the act of enrolling, connecting the
two entities in that way. Relationships are typically shown as diamonds or labels directly on
Relationship Weak
Relationship
Fig 8
9.1.10 Attribute
Attribute
Primary Key Attribute
Fig 9
value.
26
Simple:
Means the attribute value is atomic and can‟t be further divided, such as a phone number.
Composite:
Derived:
Attributed is calculated or otherwise derived from another attribute, such as age from a
birthdate.
Multi-value:
More than one attribute value is denoted, such as multiple phone numbers for a person.
Single-value:
Just one attribute value. The types can be combined, such as: simple single-value attributes or
Fig 10
27
RDBMS stands for Relational Database Management System. RDBMS is the basis for
SQL, and for all modern database systems like MS SQL Server, IBM, DB2, Oracle,
28
database management system (DBMS) that is based on the relational model as introduced
by E. F. Codd.
The data in an RDBMS is stored in database objects which are called as tables. This table
is basically a collection of related data entries and it consists of numerous columns and
rows. Remember, a table is the most common and simplest form of data storage in a
relational database.
Every table is broken up into smaller entities called fields. The fields in the CUSTOMERS
table consist of ID, NAME, AGE, ADDRESS and SALARY. A field is a column in a table
that is designed to maintain specific information about every record in the table.
A record is also called as a row of data is each individual entry that exists in a table. For
A column is a vertical entity in a table that contains all information associated with a
specific field in a table. For example, a column in the CUSTOMERS table is ADDRESS,
A NULL value in a table is a value in a field that appears to be blank, which means a field
with a NULL value is a field with no value. It is very important to understand that a NULL
value is different than a zero value or a field that contains spaces. A field with a NULL
29
value is the one that has been left blank during a record creation.
Constraints are the rules enforced on data columns on a table. These are used to limit the
type of data that can go into a table. This ensures the accuracy and reliability of the data in
the database. Constraints can either be column level or table level. Column level
constraints are applied only to one column where as, table level constraints are applied to
Enforces valid entries for a given column by restricting the type, the format, or the range
of values.
Enforces some specific business rules that do not fall into entity, domain or referential
integrity.
are two reasons of this normalization process − Eliminating redundant data, for example,
30
storing the same data in more than one table. Ensuring data dependencies make sense.
Both these reasons are worthy goals as they reduce the amount of space a database
consumes and ensures that data is logically stored. Normalization consists of a series of
Normalization guidelines are divided into normal forms; think of a form as the format or
the way a database structure is laid out. The aim of normal forms is to organize the
database structure, so that it complies with the rules of first normal form, then second
It is your choice to take it further and go to the fourth normal form, fifth normal form and
so on, but in general, the third normal form is more than enough.
11. MySQL :-
pronounced "sequel."
MySQL is supporting many different platforms including Microsoft Windows, the major
MySQL has free and paid versions, depending on its usage (non-commercial/commercial)
and features. MySQL comes with a very fast, multi-threaded, multi-user and robust SQL
database server.
31
11.1 History :-
1994. First internal release on 23rd May 1995. Windows Version was released on
Version 3.23: beta from June 2000, production release January 2001.
Version 4.0: beta from August 2002, production release March 2003 (unions).
Version 4.01: beta from August 2003, Jyoti adopts MySQL for database tracking.
Version 4.1: beta from June 2004, production release October 2004.
Version 5.0: beta from March 2005, production release October 2005.
11.2 Features :-
High Performance.
High Availability.
Management Ease.
11.4 History :-
1989 - Microsoft, Sybase, and Aston-Tate release SQL Server 1.0 for OS/2.
1990 - SQL Server 1.1 is released with support for Windows 3.0 clients.
2001 - Microsoft releases XML for SQL Server Web Release 1 (download).
2002 - Microsoft releases SQLXML 2.0 (renamed from XML for SQL Server).
11.5 Features :-
High Performance
High Availability
Database mirroring
Database snapshots
CLR integration
Service Broker
DDL triggers
Ranking functions
XML integration
33
TRY CATCH
Database Mail
Usertype :-
Siteuser :-
34
Vendorappliedlist :-
` Brand :-
Product :-
Product-Specifications :-
35
Product-Image :-
Cart :-
36
Contact Us :-
Customer-Detail :-
37
1. UserType
2. Siteuser
38
3. Vendorappliedlist
4. Brand
39
5. Product :-
6. Product-Specifications
40
7. Product-Image Upload
8. Cart
41
9. Contact Us
Hardware Requirement:-
Memory : 1 GB RAM
Software Requirement:-
The overall speed or clock speed of the computer and how fast it is capable of processing data
is managed by the computer processor (CPU). The computer will be much faster and more
43
powerful when it is capable of executing more instructions every second. For example, the first
computer processor was the Intel 4004, which was only a 740 kHz processor and capable of
processing approximately 92,000 instructions per second. Today's processors are multi-core
GHz processors capable of processing over 100 billion instructions per second.
12.1.2 Cache
Although today's computers can execute billions of instructions every second, the processor is
usually waiting for those instructions from the slower types of memory in the computer.
Because RAM and the hard drive are slower than the CPU, computer processors and
motherboards use cache to transfer data between the processor, memory, and components in
the computer.
Cache is the fastest type of memory and a computer with more L2 cache or L3 cache is
capable of storing more instructions and send those instructions to the processor more
efficiently.
A computer with more memory (RAM) will be capable of storing more programs that are
If your computer runs out of memory, the computer must swap unused data stored in memory
By adding this extra step and because the hard drive is the slowest type of memory your
computer can become much slower if it does not have enough memory.
44
The bus speed of the motherboard can increase or decrease the speed at which data is being
For example, a Front Side Bus (FSB) of 66 MHz is going to be much slower than a 400 MHz
FSB. If the computer has a slow bus, the processor has to wait longer for the instructions,
RAM (Random Access Memory) is the internal memory of the CPU for storing data, program,
and program result. It is a read/write memory which stores data until the machine is working.
Access time in RAM is independent of the address, that is, each storage location inside the
memory is as easy to reach as other locations and takes the same amount of time. Data in the
The word static indicates that the memory retains its contents as long as power is being
supplied. However, data is lost when the power gets down due to volatile nature. SRAM chips
use a matrix of 6-transistors and no capacitors. Transistors do not require power to prevent
There is extra space in the matrix, hence SRAM uses more chips than DRAM for the same
amount of storage space, making the manufacturing costs higher. SRAM is thus used as cache
45
Long life
No need to refresh
Faster
Large size
Expensive
DRAM, unlike SRAM, must be continually refreshed in order to maintain the data. This is
done by placing the memory on a refresh circuit that rewrites the data several hundred times
per second. DRAM is used for most system memory as it is cheap and small. All DRAMs are
made up of memory cells, which are composed of one capacitor and one transistor.
Used as RAM
Smaller in size
Less expensive
A hard disk drive (HDD), hard disk, hard drive or fixed disk is a data storage device that uses
magnetic storage to store and retrieve digital information using one or more rigid rapidly
The platters are paired with magnetic heads, usually arranged on a moving actuator arm, which
read and write data to the platter surfaces. Data is accessed in a random-access manner,
meaning that individual blocks of data can be stored or retrieved in any order and not only
sequentially. HDDs are a type of non-volatile storage, retaining stored data even when
powered off.
The primary characteristics of an HDD are its capacity and performance. Capacity is specified
in unit prefixes corresponding to powers of 1000: a 1-terabyte (TB) drive has a capacity of
1,000 gigabytes (GB; where 1 gigabyte = 1 billion bytes). Typically, some of an HDD's
capacity is unavailable to the user because it is used by the file system and the computer
operating system, and possibly inbuilt redundancy for error correction and recovery.
Performance is specified by the time required to move the heads to a track or cylinder (average
access time) plus the time it takes for the desired sector to move under the head (average
latency, which is a function of the physical rotational speed in revolutions per minute), and
The two most common form factors for modern HDDs are 3.5-inch, for desktop computers,
and 2.5-inch, primarily for laptops. HDDs are connected to systems by standard interface
cables such as PATA (Parallel ATA), SATA (Serial ATA), USB or SAS (Serial Attached
SCSI) cables.
47
13.1 Java
13.1.1 Introduction:-
Java is a new and popular language created by sun Microsystems. The best news about java is
that it is object oriented architecture, interpreted, robust, secure, portable, high performance,
With java, we can develop a single application i.e. immediately usable on multiple platforms.
Imagine the countless hours that will save by being able to develop a single application usable
Java produces two program types‟ application & Applet. Applications are standard one & can
be run directly from me command line. Applets requires on external program to provide an
Java defines data as objects with methods that support the objects. Java is purely objects. Java
is purely object oriented & provides abstraction, encapsulation, inheritance & polymorphism.
Even a very basic program has a class. Any code written in java is inside a class. Java is tuned
to the web, java programs can be built in java, that user‟s resource from any other computer.
Java is the both interpreted & compiled. The code is complied. The code is compiled with a
byte code i.e. binary & platform independent. When a program has to execute the code is
fetched into management & interpreted on the user‟s machines as on interpreted language, java
When a piece of code is compiled all errors are listed together. A program is executed only
when all the errors have been rectified. An interpreter, on the other hand, verifies the code &
48
Compilation is the process of converting the code into a language that the compiler
understands machines language. When compiling a program using a compiler, the compiler
checks for syntactical (grammatical) errors. In code and lists all the errors on the screen. The
errors are rectified and the program is recompiled to get the machine language code. Java
compilers compile the code to a byte code that is understood by the java environment.
Byte code is result of compiling a java program this code can be executed on any platform. In
other words due to the byte cod compilation processes an interpretation by a browser, java
programs can be executed on a variety of hardware and software. The only requirement is that
the system should have a java enabled internet browser. A java compiler is written in java and
the run time environment, the interpreter is written in c. the java interpreter can execute java
code directly on any machine, on which java a interpreter has been installed.
A java program can run on any machine that has a java interpreter. The byte code supports
connection to multiple databases. Java code is portable. Therefore, other people can use
programs that you write in java even if they have different machines with different operating
system.
Due to strong type checking done by java on the user‟s machine any changes to the program
are tagged as errors and program will not execute, java is there secure.
Java programs are comparable in speed to the programs written in other compiler based
languages like c and c++. Java is faster than other interpreter based languages like basic sense
Sun Micro Systems began a project for software to run TV and VCR sets -i.e., Interactive TV
& VCR. A team of Software Engineers led by James Gosling others laid specifications for this
project in January 1991. By September 1992 the basic system was drafted. These interactive
sets were called Set-top boxes. The hardware was called *7, O/S was names Green and the
Later the language was renamed Java, as OAK was already registered. Meanwhile in 1993,
the development of MOSAIC (Browser) led to the widespread use of WWW. Gosling realized
by chance that Java was well suited for the Web because it was secure and most importantly
architecture neutral.
In September 1994 a browser called Hot Java was developed entirely in Java on May 23rd
1995 Java was formally released.Seeing the immense potential software companies began to
license the technology to develop their products in Java. The Java Development Kit 1.0 was
released on January 23rd 1996. Sun‟s game plan is to popularize Java. Java is freely
Java is loosely based on C++ syntax, and is meant to be Object Oriented. It however differs
from C++ in many ways. Structure of Java is midway between an interpreted and a compiled
language. Java programs are compiled by the Java compiler into „Byte codes‟, which are
secure and portable across different platforms. These byte codes are essentially instructions
encapsulated in a single byte, to what is known as a Java Virtual machine (JVM) which resides
in a standard browser.
For that matter any application can have JVM built –in, JVM verifies these byte codes when
down loaded by the browser for integrity. JVMs are available for almost all operating systems
50
now. JVM converts these byte codes into machine specific instructions at runtime.
Java is truly an Object Oriented language, since technology is best suited for distributed
client/server systems on the Net. It fully incorporates the concept of reusable component
software. With the exception of primitive data types, every thing in Java is an object. Even the
primitive types can be encapsulated within objects of necessary. Four fundamental aspects of
Encapsulation – Instance variables and methods for a class are packaged together, thus
Inheritance – Subclasses depicting newer behavior of existing classes is allowed. But multiple
Polymorphism – Same message sent to different object results in a behavior dependent on the
For example, if you send a „move‟ message to an „animal‟ object you would not want to
concerned about the nature of the animal you are referring to. If it is a rabbit it should hop and
Dynamic binding – As explained the programmed doesn‟t need to worry about the object type
at coding time, the type of the object is resolved only at runtime and this is especially
important for Java because Java objects can come from any one and may have come from any
where.
Like in C++, Java supports public and protected variables. Java has a constructor method to
initialize when an object instance is created from a class. Java supports most of the concepts of
classes that a standard object oriented language provides. There is no need for an explicit
51
destructor. Java supports the concept of abstract class and abstract methods. Abstract classes
define a generic class. They are at the highest level of class hierarchy.
Each development and maintenance project should have a Software Quality Assurance Plan
that specifies its goals.the SQA tasks t0 be performed.the standard against which the
The IEEE Standards for the Software Quality Assurance Plans States that the Plan should
I. Purpose
2. Refrence documents
3. Managenment
4. Documentation
7. Configuration Management
The purpose of this Software Quality Assurance(SQA) Plan is to establish the goals.
software quality assurance thorughoput the project life cycle. This plan establishes the
Specifically. This SQA Plan will show that the SQA function is in place for this
project.It will show that the SQA group has a reporting channel to senior management that
is independent of the project manager, the projects software engineering group and
The goal of the SQA program is to verify that all software and Documentation to be
2. Reference documents:
3. Management:
An IEEE standard lays down three aspects that should be covered in the Software Quality
Assurance Plan:
Organization:
The organization section includes the roles of the team members. Their hierarchy etc. It is
important that the head of the Software Quality Assurance (SQA)function in the
organization has the adequate authority to be able to perform independent verification that
53
The following describes the functional groups that influence and control software quality.
items:
Identify an individual or group independent from the Project to audit and report on
Management Plan.
the software.
Verifying the quality factors are implemented in the system (software and
hardware).
lmplementing the quality program in accord Laptech assurance with this SQA
Plan.
improvement.
Tasks :-
taking place. One or more SQA tasks can be performed concurrently until a task is
completed.
delivery Process
b) Responsiblities :
The project manager and design/development teams have primary responsibility for the
Approve the plan of the audits for the project which are to be carried out by quality
personnel.
Resolve any disagreement between the project manager and quality personnel on
requirements of the quality plan and quality procedures are being satisfied.
Carry out planned internal audits of the project to assess compliance with quality
objectives.
Agree on corrective action with the project manager for any discrepancies. non-
56
Documentation :-
The basic purpose of the documentation section of the Software Quality Assurance Plan is
Reference to Software Standards (ISO. (MM. IEEE etc) and procedures mentioned
assigned to the project will participate in quality assurance. This section describes
the procedures used by SQA to verify that the quality assurance provisions of this
SQA Plan and applicable standards, practices, conventions, and metrics are met. The
following measurements will be made and used to determine the cost and schedule
status
57
The review and audits sections of Software Quality Assurance Plan will state which
technical and managerial reviews will be undertaken and how they will be carried out.
The ANSI standard suggests that the following would be a minimum set of reviews:
The purpose of this review is to approve the software detailed design document as a basis
Software Verification Review: The purpose of this review is to approve the test plan. It is
Functional Audit: This is held to verify that all the requirements in the software
Physical Audit: This is held to verify that the software and its documentation are
In-Process Audit: In-Process audits of a sample design are held to verify the consistency
of the design.
Configuration Management:
This section of the Software Quality Assurance plan describes the system, which ensures
that software problems are documented and resolved. It should be a closed-loop system.
All the problems should be promptly reported at appropriate level, acted upon and
resolved. Each problem should be analyzed to determine its significance and causes and
classified by category and each problem must have severity level and a priority number.
For each problem, some corrective action and a target completion date should be
identified. The appropriate level of management should be made aware of the problems
and adverse trends. The corrective action taken will be evaluated to ensure that it solved
the problem without introducing any new evaluated to ensure that it solved the problem
without introducing any new problems. Management should monitor the status of all
unresolved problems.
59
Tools - SQA software tools include, but are not limited to, operating system utilities,
folder/files, software traceability matrices, test drivers, test case generators, static or
Methodologies - methodologies are an integrated set of the above tools and technique&
The methodologies should be well documental for accomplishing the task or activity and
Code Control :-
version
60
Media Control:
The Media Control section of the Software Quality Assurance Plan will describe how the
factors:
Fire Damage
Water Damage
Energy Variations
Structural Damage
Pollution
Unauthorized Intrusion
Misuse of Software.
Supplier Control :-
Prior to any purchase of software to support the development effort. SQA and project
members will define and provide complete requirements to the supplier/vendor. The
Software Tool Evaluation Process will be followed. Part of the evaluation process will
require the supplier or vendor to describe their technical support, handling of user
SQA activities are documented by records and reports that provide a history of product
quality throughout the software life cycle. Measurement data collected will be reviewed for
61
The supplementary specification applies to online shopping system. This specification defines
Functionality:
Since it stand alone application, one or more user may use it at a time.
Usability:
Desktop interface
Windows 98/2000/XP/7/8
Technology:
Database : MySql
Reliability:
Performance:
19. References :-
The list of references contains bibliographic information about every source cited in the
report. Research materials are not included in the list of references, but rather in the parts
of the report dealing with the research implementation, data, and methods (see Research
62
Implementation). All sources cited must be relevant to the work in question. Their use
indicates the extent of study and knowledge associated with the report. An attempt should
be made to use original sources for both domestic and foreign works.
Books: -
Newathe
Pankaj Jalote
Search Engine: -
www . google.com
Browser: -
UC Browser
Opera mini
Mozilla Firefox
Google Chrome
63
Index :-
Fig 12 .
Design :-
</asp:Content>
Runat="Server">
<br />
<div class="w3-row">
<div class="w3-col">
<div style="height:25%">
</div>
<script type="text/javascript">
var index = 0;
startslideshow();
function startslideshow() {
var x = document.getElementsByClassName("slides");
x[i].style.display = "none";
index++;
index = 1;
setTimeout(startslideshow, 4000);
</script>
</div>
</div>
<!------------------------Brands--------------------------------------------->
</div>
<!------------------------Brands--------------------------------------------->
<!------------------------Filters--------------------------------------------->
w3-round-large" runat="server"
onselectedindexchanged="drpDwnSortBy_SelectedIndexChanged" AutoPostBack="true">
</asp:DropDownList>
</div>
AutoPostBack="true">
</asp:DropDownList>
onselectedindexchanged="brandfilter_SelectedIndexChanged">
</asp:DropDownList>
</asp:SqlDataSource>
onselectedindexchanged="ramfilter_SelectedIndexChanged"
AutoPostBack="true">
</asp:DropDownList>
runat="server"></asp:TextBox>
</div>
</div>
</div>
68
</div>
</div>
</div>
<!------------------------Filters--------------------------------------------->
<br />
<!------------------------Products---------------------------------------------->
</div>
<!------------------------Products---------------------------------------------->
<script>
</script>
</asp:Content>
Back End:-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
{
69
bool b = LoginManager.IsUserLoggedIn(Session);
if (b)
btlogin.Visible = false;
btlogout.Visible = true;
if (!this.IsPostBack)
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
DataSet1.productsDataTable dt = da.GetData();
DataSet1.productsRow dr = (DataSet1.productsRow)dt.Rows[i];
if(dr.status.Equals("active"))
productslist.InnerHtml += ""+productdisplay.productsDiv(dr.sno,Session);
if (i <= brandName.Count - 1)
else
"</b></div></div></a>";
brands.InnerHtml = output+"";
if (value == 0)
return;
71
if (value == 1)
brandfilter.Visible = true;
ramfilter.Visible = false;
pricefilter.Visible = false;
godiv.Visible = false;
if (value == 2)
brandfilter.Visible = false;
ramfilter.Visible = true;
pricefilter.Visible = false;
godiv.Visible = false;
if (value == 3)
brandfilter.Visible = false;
ramfilter.Visible = false;
pricefilter.Visible = true;
godiv.Visible = true;
if (value == 0)
return;
if (value == 1)
SortPriceLowToHigh();
return;
if (value == 2)
SortPriceHighToLow();
return;
if (value == 3)
SortNewest();
return;
if (value == 4)
{
73
SortOldest();
return;
productslist.InnerHtml = "";
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
DataSet1.productsDataTable dt = da.PriceLowToHigh();
DataSet1.productsRow dr = (DataSet1.productsRow)dt.Rows[i];
productslist.InnerHtml = "";
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
DataSet1.productsDataTable dt = da.PriceHighToLow();
DataSet1.productsRow dr = (DataSet1.productsRow)dt.Rows[i];
productslist.InnerHtml = "";
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
DataSet1.productsDataTable dt = da.GetData();
DataSet1.productsRow dr = (DataSet1.productsRow)dt.Rows[i];
if (dr.status.Equals("active"))
productslist.InnerHtml = "";
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
75
DataSet1.productsDataTable dt = da.GetOldestFirst();
DataSet1.productsRow dr = (DataSet1.productsRow)dt.Rows[i];
if (value == 0)
return;
choosebrand(value);
productslist.InnerHtml = "";
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
DataSet1.productsDataTable dt = da.GetDataByBrandNo(brandno);
DataSet1.productsRow dr = (DataSet1.productsRow)dt.Rows[i];
if (value.Equals("0"))
return;
chooseram(value);
productslist.InnerHtml = "";
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
DataSet1.productsDataTable dt = da.GetProductByRAM(ram);
DataSet1.productsRow dr = (DataSet1.productsRow)dt.Rows[i];
}
77
return;
priceFilteredDisplay(from, to);
productslist.InnerHtml = "";
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
DataSet1.productsRow dr = (DataSet1.productsRow)dt.Rows[i];
}}
78
Customer Registration:-
Fig 13
Design :-
AutoEventWireup="true" CodeFile="customerregistartion.aspx.cs"
Inherits="vendorregistration" %>
</asp:Content>
Runat="Server">
<div>
<br />
<div class="w3-row">
<br />
</div>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br
</div>
<br />
<br />
<br />
</div>
runat="server">
</asp:RadioButtonList>
runat="server"></asp:TextBox>
No.:"></asp:Label>
runat="server"></asp:TextBox>
ID="txtpassword" runat="server"></asp:TextBox>
runat="server"></asp:TextBox>
runat="server"></asp:TextBox>
<br />
<center>
</center>
<br />
</div>
<br />
</div>
</div>
</div>
<br />
</div>
</div>
</div>
</asp:Content>
82
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
bool b = LoginManager.IsUserLoggedIn(Session);
if (b)
if (type.Equals("Admin"))
Response.Redirect("adminDashBoard.aspx");
else
if (type.Equals("Vendor"))
Response.Redirect("vendorDashBoard.aspx");
else
Response.Redirect("index.aspx");
}
83
Validations.totalResetTextboxs(txtname,txtemail,txtuserid,txtpassword,txtaddress,txtcontact);
try
if (txtcontact.Text.Equals("") || txtcontact.Text.Equals("null"))
9999999999)
name = txtname.Text;
84
if (name.Equals(""))
gender = rdgender.SelectedValue;
if (gender.Equals(""))
email = txtemail.Text;
if (email.Equals(""))
bool b = Validations.IsEMail(email);
if (!b)
userid = txtuserid.Text;
if (userid.Equals(""))
if (UserUtilities.CheckExistingUser(userid))
password = txtpassword.Text;
if (password.Equals(""))
if (password.Length < 6)
address = txtaddress.Text;
if (address.Equals(""))
DataSet1TableAdapters.siteuserTableAdapter da = new
DataSet1TableAdapters.siteuserTableAdapter();
address);
86
catch(Exception x)
Validations.setError(lblmain, x.Message);
Vendor Registration :-
87
Fig 14
Design :-
</asp:Content>
Runat="Server">
<br />
<div class="w3-row">
<br />
</div>
<div class="w3-row">
<br />
</div>
</div>
<br />
</div>
</div>
</div>
<div class="w3-row">
runat="server"></asp:TextBox>
</div>
runat="server"></asp:TextBox>
</div>
</div>
<div class="w3-row">
runat="server">
</asp:RadioButtonList></center>
</div>
runat="server"></asp:TextBox>
</div>
</div>
<div class="w3-row">
90
runat="server"></asp:TextBox>
</div>
runat="server"></asp:TextBox>
</div>
</div>
<hr />
</div>
<div class="w3-row">
runat="server"></asp:TextBox>
91
</div>
runat="server"></asp:TextBox>
</div>
</div>
<div class="w3-row">
runat="server"></asp:TextBox>
</div>
runat="server"></asp:TextBox>
</div>
</div>
<div class="w3-row">
92
runat="server"></asp:TextBox>
</div>
runat="server"></asp:TextBox>
</div>
</div>
<br />
</div>
</div>
93
</div>
</div>
<br />
</div>
</div>
<script>
$(function () {
$(function () {
$("#ContentPlaceHolder1_txtdob").datepicker({
changeMonth: true,
changeYear: true,
yearRange: '1990:2050',
dateFormat: 'dd-M-yy',
defaultDate: '20-Jun-1990'
});
});
});
</script>
</asp:Content>
94
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
bool b = LoginManager.IsUserLoggedIn(Session);
if (b)
if (type.Equals("Admin"))
Response.Redirect("adminDashBoard.aspx");
else
if (type.Equals("Vendor"))
Response.Redirect("vendorDashBoard.aspx");
else
Response.Redirect("index.aspx");
95
try
if (vendorname.Equals(""))
if (dob.Equals(""))
if (gender.Equals(""))
if(state.Equals(""))
96
if (contact.Equals(""))
if (email.Equals(""))
bool b = Validations.IsEMail(email);
if (!b)
97
if (companyname.Equals(""))
if(VendorUtilities.CheckExistingVendor(companyname))
if (companyemail.Equals(""))
bool br = Validations.IsEMail(companyemail);
if (!br)
if (companycontactno.Equals(""))
if (companycontactno.Equals(""))
if (companygstno.Equals(""))
if (companyregno.Equals(""))
99
if (companyaddress.Equals(""))
DataSet1TableAdapters.vendorappliedlistTableAdapter da = new
DataSet1TableAdapters.vendorappliedlistTableAdapter();
Response.Redirect("login.aspx");
catch (Exception x)
Validations.setError(lblmain, x.Message);
Validations.totalResetTextboxs(txtvendorname,txtdob,txtstate,txtcontactno,txtemail
,txtcompanyname,txtcompanyemail,txtcompanyaddress,txtcompanygstno,txtcompa
nyregno,txtcompanycontactno);
LogIn Page :-
Fig 15
Design :-
</asp:Content>
101
Runat="Server">
<div>
<br />
<div class="w3-row">
<div class="w3-row">
</div>
<br />
Text=""></asp:Label></center>
style="margin-top:-3px;color:ButtonShadow">Password :</p></div>
ID="Txtusername" runat="server"></asp:TextBox>
<br />
</div>
</div>
<br />
/></div>
Up</a></div>
</div>
<br />
</div>
</div>
</div>
</asp:Content>
103
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
bool b = LoginManager.IsUserLoggedIn(Session);
if (b)
if (type.Equals("Admin"))
Response.Redirect("adminDashBoard.aspx");
else
if (type.Equals("Vendor"))
Response.Redirect("vendorDashBoard.aspx");
else
Response.Redirect("index.aspx");
104
Response.Redirect("siteuser.aspx");
try
if (username.Trim().Equals("") || username.Trim().Equals(null))
if (password.Trim().Equals("") || password.Trim().Equals(null))
if (!b)
catch(Exception x)
Validations.setError(lblmessage, x.Message);
Customer Profile :-
Fig 16
Design :-
</asp:Content>
Runat="Server">
<div class="w3-row">
<br />
</div>
<h2><b>Profile :-</b></h2>
</div><br />
<div class="w3-row">
large" runat="server"></asp:TextBox>
</div>
round-large" runat="server"></asp:TextBox>
107
</div>
</div>
<div class="w3-row">
round-large" runat="server"></asp:TextBox>
</div>
large" runat="server"></asp:TextBox>
</div>
</div>
<br />
<asp:Button ID="btedit"
</div>
108
<br />
</div>
<br />
</div>
</div>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
LoginManager.protectUserPage(Response, Session);
DataSet1TableAdapters.siteuserTableAdapter sa = new
109
DataSet1TableAdapters.siteuserTableAdapter();
DataSet1.siteuserRow sr = (DataSet1.siteuserRow)st.Rows[0];
if (!this.IsPostBack)
txtname.Text = sr.name;
txtmobile.Text = sr.contact;
txtaddress.Text = sr.address;
txtemail.Text = sr.email;
txtname.ReadOnly = true;
txtmobile.ReadOnly = true;
txtaddress.ReadOnly = true;
txtemail.ReadOnly = true;
btsave.Visible = false;
btedit.Visible = true;
name = txtname.Text;
if (name.Equals(""))
{
110
if (txtmobile.Text.Equals("") || txtmobile.Text.Equals("null"))
9999999999)
address = txtaddress.Text;
if (address.Equals(""))
email = txtemail.Text;
if (email.Equals(""))
bool b = Validations.IsEMail(email);
111
if (!b)
DataSet1TableAdapters.siteuserTableAdapter da = new
DataSet1TableAdapters.siteuserTableAdapter();
txtname.ReadOnly = true;
txtmobile.ReadOnly = true;
txtaddress.ReadOnly = true;
txtemail.ReadOnly = true;
btsave.Visible = false;
btedit.Visible = true;
txtname.ReadOnly = false;
txtmobile.ReadOnly = false;
txtaddress.ReadOnly = false;
txtemail.ReadOnly = false;
btsave.Visible = true;
btedit.Visible = false;
112
}}
Cart Item-List :-
Fig 17
Design:-
</asp:Content>
Runat="Server">
<div class="w3-row">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<div class='w3-padding'>
target="_blank">
</div>
</a>
target="_blank">
<b><%#products.getDisplayName(Convert.ToInt32(Eval("productno")))
%></b><br/>
</div>
114
</a>
s4'><%#Eval("quantity") %></div>
</div>
<div>
products.getTotalPrice(Convert.ToInt32(Eval("quantity")),Convert.ToInt32(Eval("
productno"))) %>/-
</div>
</div>
<br/>
</div>
</div>
</ItemTemplate>
115
</asp:TemplateField>
</Columns>
</asp:GridView>
<SelectParameters>
</SelectParameters>
</asp:SqlDataSource>
</div>
<div>
</div>
<a href="buynow.aspx?type=cart">
green w3-border-green">
<b>Proceed To Pay</b>
</div>
</a>
</div>
</div>
</div>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
117
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
LoginManager.protectUserPage(Response, Session);
DataSet1TableAdapters.cartTableAdapter da = new
DataSet1TableAdapters.cartTableAdapter();
if (dt.Rows.Count <= 0)
Response.Redirect("index.aspx");
DataSet1.cartRow dr = (DataSet1.cartRow)dt.Rows[i];
ttlquantity+=dr.quantity;
ttlAmount+= (p.price-p.discount)*dr.quantity;
}
118
Button b = (Button)sender;
int sno=Convert.ToInt32(b.CommandArgument);
DataSet1TableAdapters.cartTableAdapter da = new
DataSet1TableAdapters.cartTableAdapter();
DataSet1.cartDataTable dt = da.GetDataBySno(sno);
DataSet1.cartRow dr = (DataSet1.cartRow)dt.Rows[0];
int q=Convert.ToInt32(dr.quantity);
if (b.CommandName.Equals("less"))
if (q > 1)
da.UpdateQuantity(q - 1, sno);
else
da.DeleteItemWithSno(sno);
else
da.UpdateQuantity(q + 1, sno);
CartsList.DataBind();
}}
119
Buy Now :-
Fig 18
Design :-
</asp:Content>
Runat="Server">
<br />
<i>Please Send the Screenshot of payment with Order Id/Bill No. on +91
7800357511</i><br />
</div>
</div>
</div>
<div class="w3-row">
<br />
</div>
<h3>Product Name</h3>
</div>
<h3>Quantity</h3>
</div>
<h3>Price</h3>
</div>
<br />
</div>
</div>
<div class="w3-row">
<br />
</div>
</div>
</div>
</div>
<br />
</div>
</div>
122
<div class="w3-row">
<br />
</div>
<br />
</div>
Total
</div>
</div>
<br />
</div>
</div>
<br />
<div>
<div class="w3-row">
<br />
</div>
123
<div class="w3-row">
<br />
</div>
</div>
<br />
<br />
<br />
</div>
</div>
<br />
<br />
125
<br />
</asp:RadioButtonList>
</div>
</div>
<br />
<center>
onclick="Button1_Click"/>
</center>
<br />
</div>
<br />
</div>
</div>
126
</div>
<br />
</div>
</div>
</div>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
string type="";
LoginManager.protectUserPage(Response, Session);
type=Request.QueryString["type"];
127
DataSet1TableAdapters.siteuserTableAdapter sa = new
DataSet1TableAdapters.siteuserTableAdapter();
DataSet1.siteuserRow sr = (DataSet1.siteuserRow)st.Rows[0];
txtname.Text = sr.name;
txtmobile.Text = sr.contact;
txtaddress.Text = sr.address;
if (type.Equals("cart"))
DataSet1TableAdapters.cartTableAdapter da = new
DataSet1TableAdapters.cartTableAdapter();
string quantity="";
string name="";
DataSet1.cartRow dr = (DataSet1.cartRow)dt.Rows[i];
//cart calculations;
else
//product details;
lblproductname.Text= products.getDisplayName(pno);
lblquantity.Text = "1";
lblprice.Text="Rs. "+(p.price-p.discount)+"/-";
try
{
129
DataSet1TableAdapters.customerdetailTableAdapter da = new
DataSet1TableAdapters.customerdetailTableAdapter();
name = txtname.Text;
mobile = txtmobile.Text;
address = txtaddress.Text;
city = txtcity.Text;
pincode = txtpincode.Text;
state = txtstate.Text;
landmark = txtlandmark.Text;
mode = rdpay.SelectedValue;
if (mode.Equals("Paytm"))
divPaytm.Visible = true;
return;
mode,System.DateTime.Now);
DataSet1.customerdetailDataTable dt = da.GetNewSno();
DataSet1.customerdetailRow dr = (DataSet1.customerdetailRow)dt.Rows[0];
DataSet1TableAdapters.cartTableAdapter ca = new
DataSet1TableAdapters.cartTableAdapter();
if (type.Equals("product"))
else
DataSet1.cartRow cr = (DataSet1.cartRow)ct.Rows[i];
Response.Redirect("receipt.aspx?id="+newsno);
}
131
DataSet1TableAdapters.customerdetailTableAdapter da = new
DataSet1TableAdapters.customerdetailTableAdapter();
name = txtname.Text;
if (name.Equals(""))
if (contact.Equals(""))
}
132
address = txtaddress.Text;
if (address.Equals(""))
city = txtcity.Text;
if (city.Equals(""))
pincode = txtpincode.Text;
if (pincode.Equals(""))
state = txtstate.Text;
if (state.Equals(""))
landmark = txtlandmark.Text;
if (landmark.Equals(""))
{
133
mode = rdpay.SelectedValue;
mode,System.DateTime.Now);
DataSet1.customerdetailDataTable dt = da.GetNewSno();
DataSet1.customerdetailRow dr = (DataSet1.customerdetailRow)dt.Rows[0];
DataSet1TableAdapters.cartTableAdapter ca = new
DataSet1TableAdapters.cartTableAdapter();
if (type.Equals("product"))
else
DataSet1.cartRow cr = (DataSet1.cartRow)ct.Rows[i];
134
Response.Redirect("receipt.aspx?id=" + newsno);
divPaytm.Visible = false;
Validations.totalResetTextboxs(txtname,txtmobile,txtstate,txtpincode,txtlandmark,txtcity,txtad
dress);
}
135
Reciept :-
Fig 19
Design :-
Inherits="receipt" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
136
<br />
<table width="100%">
<tr >
<td width="70%">
<h1><b>Lap_Tech</b></h1>
<h3>Varanasi,221008<br />8318989714</h3>
</td>
Text="Your Date"></asp:Label>
</td>
</tr>
</table>
<br />
spacing:0">
<tr>
<td colspan="4">
137
</td>
</tr>
<tr>
<b>
Name:<br />
Address:<br />
Distt:<br />
State:<br />
</b>
</td>
:"></asp:Label><br />
/>
</td>
<b>
138
Landmark:<br />
PIN:<br />
</b>
</td>
ID"></asp:Label><br />
:"></asp:Label><br />
:"></asp:Label><br />
</td>
</tr>
</table>
<br />
<div>
<tr>
139
right:1px; border-right-style:solid"><b>Sno.</b></td>
right:1px; border-right-style:solid"><b><center>Product</center></b></td>
border-right:1px; border-right-style:solid"><b>Quantity(Pcs.)</b></td>
border-right:1px; border-right-style:solid"><b>Rate</b></td>
style:solid"><b>Total</b></td>
</tr>
<tr>
Text="Label"></asp:Label></td>
Text="Label"></asp:Label></center></td>
Text="Label"></asp:Label></center></td>
Text="Label"></asp:Label></td>
runat="server" Text="Label"></asp:Label></td>
</tr>
<tr>
right:1px; border-right-style:solid">
CGST(9%)<br />
SGST(9%)<br />
</td>
</td>
</tr>
</table>
</div>
</div><br />
gray'>Print</div></center>
</form>
<script type="text/javascript">
function doPrint() {
printbtn.style.visibility = "hidden";
window.print();
printbtn.style.visibility = "visible";
</script>
</body>
</html>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
{
142
try
DataSet1TableAdapters.customerdetailTableAdapter da = new
DataSet1TableAdapters.customerdetailTableAdapter();
DataSet1.customerdetailDataTable dt = da.GetDataBySno(orderNO);
if (dt.Rows.Count <= 0)
DataSet1.customerdetailRow dr = (DataSet1.customerdetailRow)dt.Rows[0];
DateTime d = (dr.date);
lblCustId.Text=""+Session["userid"];
displayItems(orderNO);
143
catch(Exception ex)
Response.Write(""+ex.Message);
//Response.Redirect("index.aspx");
DataSet1TableAdapters.cartTableAdapter da = new
DataSet1TableAdapters.cartTableAdapter();
DataSet1.cartRow dr = (DataSet1.cartRow)dt.Rows[i];
grandTotal += ttl;
}
145
Fig 20
Design :-
</asp:Content>
Runat="Server">
<br />
<br />
</div>
146
runat="server" AutoGenerateColumns="False"
ForeColor="Black" GridLines="Vertical">
<Columns>
SortExpression="companyname" />
SortExpression="registrationno" />
<asp:TemplateField HeaderText="Details">
<ItemTemplate>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</asp:SqlDataSource>
</div>
<br />
</div>
</div>
</asp:Content>
148
Fig 21
Design :-
%>
</asp:Content>
Runat="Server">
<br />
<div class="w3-row">
<br />
149
</div>
<br />
<h1><b>Details of Vendor</b></h1>
</div>
<div class="w3-row">
<h3>Name :-</h3>
Text=""></asp:Label><br />
</div>
<h3>DOB :-</h3>
Text=""></asp:Label>
</div>
<h3>Gender :-</h3>
Text=""></asp:Label>
</div>
</div>
<div class="w3-row">
<h3>State :-</h3>
Text=""></asp:Label><br />
</div>
Text=""></asp:Label><br />
</div>
<h3>Email :-</h3>
Text=""></asp:Label><br />
</div>
</div>
</div>
<div class="w3-row">
Text=""></asp:Label><br />
</div>
Text=""></asp:Label><br />
</div>
Text=""></asp:Label><br />
</div>
</div>
<div class="w3-row">
Text=""></asp:Label><br />
</div>
152
Text=""></asp:Label><br />
</div>
Text=""></asp:Label><br />
</div>
</div>
</div>
<br />
</div>
</div>
</div>
153
<hr />
<br />
</div>
</div>
<br />
runat="server"></asp:TextBox>
<br />
154
</div>
<br />
</div>
</div>
</div>
<br />
</div>
</div>
</div>
<br />
</div>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
155
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
int sno;
LoginManager.protectAdminPage(Response, Session);
sno = Convert.ToInt32(Request.QueryString["sno"]);
DataSet1TableAdapters.vendorappliedlistTableAdapter da = new
DataSet1TableAdapters.vendorappliedlistTableAdapter();
DataSet1.vendorappliedlistDataTable dr = da.GetDataBySerialNo(sno);
DataSet1.vendorappliedlistRow dt = (DataSet1.vendorappliedlistRow)dr.Rows[0];
txtname.Text = dt.name;
txtgender.Text = dt.gender;
txtstate.Text = dt.state;
txtcontactno.Text = dt.contactno;
txtemail.Text = dt.email;
txtcompanyname.Text = dt.companyname;
txtcompanyemail.Text = dt.companyemail;
156
txtcompanyaddress.Text = dt.companyaddress;
txtgstno.Text = dt.gstin;
txtregno.Text = dt.registrationno;
txtcompanycontactno.Text = dt.companycontactno;
passworddiv.Visible = true;
int vendorsno=VendorUtilities.GetVendorsno();
name = txtname.Text;
gender = txtgender.Text;
email = txtemail.Text;
userid = txtuser.Text;
if (UserUtilities.CheckExistingUser(userid))
password = txtpassword.Text;
if(password.Equals(""))
157
if (password.Length < 6)
contact = txtcontactno.Text;
address = txtcompanyaddress.Text;
DataSet1TableAdapters.siteuserTableAdapter da = new
DataSet1TableAdapters.siteuserTableAdapter();
address);
VendorUtilities.MakeVendorActive(sno);
lblmain.Text = "Verified";
Response.Redirect("adminDashBoard.aspx");
Validations.totalResetTextboxs(txtuser,txtpassword);
{
158
VendorUtilities.RejectVendor(sno);
Vendor Dashbord :-
Fig 22
Design :-
AutoEventWireup="true" CodeFile="VendorDashBoard.aspx.cs"
Inherits="VendorDashBoard" %>
</asp:Content>
Runat="Server">
<div class="w3-row">
Dashboard</b></h2></center>
</div>
<div class="w3-padding">
</div>
</div>
<br />
<div class="w3-row">
<p>Add Product</p>
</div>
</a>
160
<a href="updateproduct.aspx">
<p>Update Product</p>
</div>
</a>
<a href="vendorprofile.aspx">
<p>View Profile</p>
</div></a>
</div>
</div>
<div class="w3-row">
<a href="removeproduct.aspx">
<p>Remove Product</p>
161
</div>
</a>
<p>Order List</p>
</div>
<a href="productslist.aspx">
<p>Product List</p>
</div>
</a>
</div>
</div>
</div>
</asp:Content>
162
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
try
LoginManager.protectVendorPage(Response, Session);
DataSet1TableAdapters.vendorappliedlistTableAdapter();
Session["userid"]));
if (incomplete.Count > 0)
if (incomplete.Count == 1)
if (type.Equals("specification"))
redirect = "productspecificationsentry.aspx?pno="+incomplete[0];
else
else
redirect = "incompleteProducts.aspx?vno="+vendorno;
incompleteProducts.Visible = true;
Response.Write(""+ex.Message);
\
164
Fig 23
Design :-
%>
</asp:Content>
Runat="Server">
<div>
<br />
<div class="w3-row">
165
<br />
</div>
<div class="w3-row">
<h1>Step 1 >>></h1>
</div>
<h1>Step 2 >>></h1>
</div>
<h1>Step 3 >>></h1>
</div>
</div>
</div>
<br />
</div>
</div>
<br />
<div class="w3-row">
<b>Product's Details</b>
</div>
</div>
<br />
<b>Brand Name</b>
<br />
DataSourceID="SqlDataSource1" DataTextField="brandname"
DataValueField="sno" AppendDataBoundItems="true">
Selected="true"></asp:ListItem>
</asp:DropDownList>
</asp:SqlDataSource>
<br />
<b>Price</b>
<br />
</div>
<b>Model No</b>
<br />
<br />
<b>Discounts</b>
<br />
</div>
ID="btsubmit"
168
</div>
Enabled="false" ID="btnext"
</div>
</div>
</div>
<br />
</div>
</div>
</div>
</div>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
169
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
LoginManager.protectVendorPage(Response, Session);
try
String modelno;
if (Convert.ToInt32(ddbrand.SelectedValue) == 0)
brandno = Convert.ToInt32(ddbrand.SelectedValue);
modelno = txtmodelno.Text;
if (modelno.Equals("") || modelno.Equals("null"))
170
if (txtprice.Text.Equals(null) || txtprice.Text.Equals(""))
price = (float)Convert.ToDouble(txtprice.Text);
if (txtdiscounts.Text.Equals("")|| txtdiscounts.Text.Equals(null))
discount = (float)Convert.ToDouble(txtdiscounts.Text);
vendorno =
VendorUtilities.GetVendornobyname(LoginManager.currentuser(Session));
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
btnext.Enabled = true;
btsubmit.Enabled = false;
//Response.Redirect("productspecificationsentry.aspx?pno="+productUtilities.getLastProduct
No());
171
catch (Exception x)
Validations.setError(lblmain, x.Message);
Response.Redirect("productspecificationsentry.aspx?pno=" +
productUtilities.getLastProductNo());
}
172
Product Specification :-
Fig 24
Design :-
AutoEventWireup="true" CodeFile="productspecificationsentry.aspx.cs"
Inherits="newproducts" %>
</asp:Content>
Runat="Server">
<br />
<div class="w3-row">
<br />
173
</div>
<div class="w3-row">
<h1>Step 1 >>></h1>
</div>
<h1>Step 2 >>></h1>
</div>
<h1>Step 3 >>></h1>
</div>
</div>
</div>
<br />
</div>
</div>
<div class="w3-row">
<br />
</div>
round-xlarge">
</div>
</div>
<div class="w3-row">
</div>
</div>
</div>
<br />
<div class="w3-row">
</div>
</div>
</div>
<div class="w3-row">
BackColor="White"
CellPadding="3"
AutoGenerateColumns="False" DataKeyNames="sno">
<Columns>
SortExpression="attributename" />
SortExpression="attributevalue" />
</Columns>
176
ForeColor="White" />
</asp:GridView>
@productno)"
<SelectParameters>
<asp:QueryStringParameter Name="productno"
</SelectParameters>
</asp:SqlDataSource>
</div>
<br />
<div class="w3-row">
177
<div class="w3-col">
black"
</div>
</div>
</div>
<br />
</div>
</div>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
{
178
int productno;
LoginManager.protectVendorPage(Response, Session);
productno = Convert.ToInt32(Request.QueryString["pno"]);
attributename = txtattributename.Text;
attributevalue = txtattributevlaue.Text;
DataSet1TableAdapters.specifictaionsTableAdapter da = new
DataSet1TableAdapters.specifictaionsTableAdapter();
btnext.Enabled = true;
GridView1.DataBind();
Response.Redirect("productimageupload.aspx?pno="+productno);
}
179
Fig 25
Design :-
AutoEventWireup="true" CodeFile="productimageupload.aspx.cs"
Inherits="productimageupload" %>
</asp:Content>
Runat="Server">
<div class="w3-row">
<br />
180
</div>
<div class="w3-row">
<h1>Step 1 >>></h1>
</div>
<h1>Step 2 >>></h1>
</div>
<h1>Step 3 >>></h1>
</div>
</div>
</div>
<br />
</div>
</div>
<br />
<div class="w3-row">
<br />
</div>
181
id="btChoose" onclick="trigger()"/>
<div class="w3-row">
onclick="btupload_Click" />
</div>
</div>
<script>
function trigger() {
document.getElementById("ContentPlaceHolder1_imageupload").click();
function showimage() {
var f = document.getElementById("ContentPlaceHolder1_imageupload");
</script>
<br />
</div>
</div>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
int productno;
LoginManager.protectVendorPage(Response, Session);
productno = Convert.ToInt32(Request.QueryString["pno"]);
try
DataSet1TableAdapters.productimageTableAdapter da = new
DataSet1TableAdapters.productimageTableAdapter();
if (!Directory.Exists(folder))
Directory.CreateDirectory(folder);
da.Insert(productno, src);
else
Response.Redirect("VendorDashBoard.aspx");
}
185
Vendor Profile :-
Fig 26
Design :-
</asp:Content>
Runat="Server">
<br />
<div class="w3-row">
<br />
</div>
186
<div class="w3-row">
<br />
</div>
<h2><b>Vendor Profile</b></h2>
</div>
<br />
</div>
</div>
</div>
<div class="w3-row">
runat="server"></asp:TextBox>
</div>
187
runat="server"></asp:TextBox>
</div>
</div>
<div class="w3-row">
runat="server"></asp:TextBox>
</div>
runat="server"></asp:TextBox>
</div>
</div>
<hr />
</div>
<div class="w3-row">
runat="server"></asp:TextBox>
</div>
runat="server"></asp:TextBox>
</div>
</div>
<div class="w3-row">
runat="server"></asp:TextBox>
</div>
189
runat="server"></asp:TextBox>
</div>
</div>
<div class="w3-row">
runat="server"></asp:TextBox>
</div>
runat="server"></asp:TextBox>
</div>
</div>
<br />
</div>
</div>
</div>
<br />
</div>
</div>
<script>
$(function () {
$(function () {
$("#ContentPlaceHolder1_txtdob").datepicker({
changeMonth: true,
changeYear: true,
yearRange: '1990:2050',
dateFormat: 'dd-M-yy',
defaultDate: '20-Jun-1990'
});
191
});
});
</script>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
try
LoginManager.protectVendorPage(Response, Session);
DataSet1TableAdapters.vendorappliedlistTableAdapter da = new
DataSet1TableAdapters.vendorappliedlistTableAdapter();
DataSet1.vendorappliedlistDataTable dt = da.GetDataByUserId("" +
192
Session["userid"]);
DataSet1.vendorappliedlistRow dr = (DataSet1.vendorappliedlistRow)dt.Rows[0];
if (!this.IsPostBack)
txtvendorname.Text = dr.name;
txtcontactno.Text = dr.contactno;
txtemail.Text = dr.email;
txtstate.Text = dr.state;
txtcompanyname.Text = dr.companyname;
txtcompanyemail.Text = dr.companyemail;
txtcompanyaddress.Text = dr.companyaddress;
txtcompanygstno.Text = dr.gstin;
txtcompanyregno.Text = dr.registrationno;
txtcompanycontactno.Text = dr.contactno;
txtvendorname.ReadOnly = true;
txtcontactno.ReadOnly = true;
txtemail.ReadOnly = true;
txtstate.ReadOnly = true;
txtcompanyname.ReadOnly = true;
txtcompanyemail.ReadOnly = true;
txtcompanyaddress.ReadOnly = true;
txtcompanygstno.ReadOnly = true;
193
txtcompanyregno.ReadOnly = true;
txtcompanycontactno.ReadOnly = true;
txtvendorname.ReadOnly = false;
txtcontactno.ReadOnly = false;
txtemail.ReadOnly = false;
txtstate.ReadOnly = false;
txtcompanyname.ReadOnly = false;
txtcompanyemail.ReadOnly = false;
txtcompanyaddress.ReadOnly = false;
txtcompanygstno.ReadOnly = false;
txtcompanyregno.ReadOnly = false;
txtcompanycontactno.ReadOnly = false;
btsave.Visible = true;
btedit.Visible = false;
}
194
try
name = txtvendorname.Text;
contact = txtcontactno.Text;
address = txtstate.Text;
email = txtemail.Text;
DataSet1TableAdapters.siteuserTableAdapter da = new
DataSet1TableAdapters.siteuserTableAdapter();
DataSet1TableAdapters.vendorappliedlistTableAdapter ds = new
DataSet1TableAdapters.vendorappliedlistTableAdapter();
"");
txtvendorname.ReadOnly = true;
txtcontactno.ReadOnly = true;
txtstate.ReadOnly = true;
txtemail.ReadOnly = true;
btsave.Visible = false;
btedit.Visible = true;
Remove Product :-
Fig 27
Design :-
</asp:Content>
Runat="Server">
AutoGenerateColumns="False"
ForeColor="#333333" GridLines="None">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<div class='w3-padding'>
/></div>
</a>
products.getDisplayName(Convert.ToInt32(Eval("sno"))) %></b></div>
</a>
197
</div>
</div>
</div>
<br/>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
([vendorno] = (select sno from vendorappliedlist where siteuserno=(select sno from siteuser
<SelectParameters>
</SelectParameters>
</asp:SqlDataSource>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
Button b = (Button)sender;
DataSet1TableAdapters.productsTableAdapter da = new
DataSet1TableAdapters.productsTableAdapter();
da.UpdateProductStatus("Inactive", sno);
GridView1.DataBind();
}
200
Product List :-
Fig 28
Design :-
</asp:Content>
Runat="Server">
AutoGenerateColumns="False"
ForeColor="#333333" GridLines="None">
201
<Columns>
<asp:TemplateField>
<ItemTemplate>
<div class='w3-padding'>
</div>
</a>
<b><%# products.getDisplayName(Convert.ToInt32(Eval("sno")))
%></b><br/>
</div>
</a>
</div>
202
</div>
<br/>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
([vendorno] = (select sno from vendorappliedlist where siteuserno=(select sno from siteuser
<SelectParameters>
</SelectParameters>
</asp:SqlDataSource>
</asp:Content>
Update Product :-
Fig 29
Design :-
</asp:Content>
Runat="Server">
AutoGenerateColumns="False"
ForeColor="#333333" GridLines="None">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<div class='w3-padding'>
alt="pIm" src="<%#
</a>
products.getDisplayName(Convert.ToInt32(Eval("sno"))) %></b></div>
</a>
</div>
Product</b> </div></a>
</div>
</div>
<br/>
</div>
</div>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
([vendorno] = (select sno from vendorappliedlist where siteuserno=(select sno from siteuser
<SelectParameters>
</SelectParameters>
</asp:SqlDataSource>
</asp:Content>
Admin Dashbord :-
Fig 30
207
Design :-
AutoEventWireup="true" CodeFile="adminDashBoard.aspx.cs"
Inherits="adminDashBoard"%>
</asp:Content>
Runat="Server">
<div>
<br />
<br />
</div>
<div class="w3-row">
<center><h3><b>Admin's Dashboard</b></h3></center>
</div>
<div class="w3-row">
<br />
</div>
208
<a href="Brandsentry.aspx">
w3-card-4">
</div></a>
<br />
</div>
<a href="vendorlisttable.aspx">
w3-card-4">
<p>Vendor Approvals</p>
</div></a>
<br />
</div>
w3-card-4">
<p>Total Order</p>
</div>
209
</div>
<div class="w3-row">
<br />
</div>
w3-card-4">
<p>Manage Product</p>
</div>
<br />
</div>
w3-card-4">
<p>Product List</p>
</div>
<br />
</div>
210
w3-card-4">
<p>Ordered List</p>
</div>
</div>
</div>
</div>
<br />
</div>
</div>
</asp:Content>
211
Contact Us :-
Fig 31
Design :-
</asp:Content>
Runat="Server">
<br />
<div class="w3-row">
<div class="w3-row">
NO.:"></asp:Label>
9415908165
<br />
<br />
BACHACHAV VARANASI
</div>
<div class="w3-row">
</div>
<br />
<br />
<br />
<br />
hover-white"
</div>
</div>
</div>
214
<div class="w3-row">
</div>
</div>
</div>
</div>
<div class="w3-hide">
<iframe
src="https://www.google.com/maps?q=SHEPA+campus+varanasi&output=embed&hl=en&z=
15" width="100%"></iframe>
</div>
</asp:Content>
Back-End :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
try
name = txtname.Text;
if (name.Equals(""))
if (txtmobile.Text.Equals("") || txtmobile.Text.Equals("null"))
email = txtemail.Text;
216
if (email.Equals(""))
bool b = Validations.IsEMail(email);
if(!b)
message = txtmessage.Text;
if(message.Equals(""))
DataSet1TableAdapters.contactusTableAdapter da = new
DataSet1TableAdapters.contactusTableAdapter();
catch(Exception ex)
lblmain.Text=ex.Message;
}}}