Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
34 views56 pages

Master Copy of Rohit Group 506 Complete Project

The document is a practical workbook submitted by students of Marwari College, detailing their project on an Event Hall Booking System and Online Shopping System developed using ASP.NET. It outlines the project's objectives, features, tools used, and the development process, emphasizing the automation of booking processes and user-friendly interfaces. The project aims to enhance efficiency and reduce errors in event hall bookings and online shopping experiences.

Uploaded by

dr.sureshpanday
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views56 pages

Master Copy of Rohit Group 506 Complete Project

The document is a practical workbook submitted by students of Marwari College, detailing their project on an Event Hall Booking System and Online Shopping System developed using ASP.NET. It outlines the project's objectives, features, tools used, and the development process, emphasizing the automation of booking processes and user-friendly interfaces. The project aims to enhance efficiency and reduce errors in event hall bookings and online shopping experiences.

Uploaded by

dr.sureshpanday
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 56

BACHELOROF COMPUTER APPLICATION

MARWARI COLLEGE , BHAGALPUR


Tilkamanjhi Bhagalpur University , Bhagalpur

Practical Workbook on (506)


Event hall booking System
&
Online shopping System
Submitted To
Department of Computer Application,
Marwari College Bhagalpur
Submitted By Our Team Members
Name University Roll Univ. Reg. No.
Rohit Sinha 2236061 224360067/2022

Rishav Raj 2236058 224360064/2022

Anshu Kumar 2236013 224360014/2022

Under The Guidence Of


Shraban Sir
Bachelor Of Computer Application,
Marwari College Bhagalpur

This is to certify that the practical work book on Event


hall booking System & online shopping system is the
original work done by Rohit Sinha, Rishav Raj & Anshu
Kumar under the supervision and guidance of Shraban
Sir.
This Practical Book has been prepared in the partial
fulfilment of the award of the degree called “Bachelor of
Computer Application”.

…………………………… …………………………… …………………….……..

Faculty Signature Co-ordinate Signature Examiner Signature


Event hall
booking
sytstem
TOOLS & ENVIRONMENT USED

OPERATING SYSTEM : MICROSOFT WINDOW 11

FRONT END : ASP.NET


Event Hall Booking System
CONTENT

• Acknowledgment
• Introduction
• Objective
• Tools
• Analysis And Design
• Coading

ACKNOWLEDGEMENT

I acknowledge with gratitude the support and guidance received


from my project guide Shraban Sir , during the
development of the Online shopping system and Event hall
booking system . Their expertise and encouragement played a
pivotal role in the project's success.

I also extend my thanks to My Team for their valuable


suggestions and feedback throughout the project. The
resources and facilities provided by our college , were
instrumental in completing this project.

This project has not only honed my skills in Asp.net


programming but also deepened my understanding of
software development principles. I appreciate the
opportunity to work on this project, which has been a valuable
learning experience.

Thank you to everyone who contributed to this project's


success. I am grateful for the experience and knowledge
gained, which will undoubtedly benefit me in my future
endeavors.

Sincerely,

Anshu Kumar

PREFACE

The development of a Online shopping System and Event


hall booking system application using Asp.net
programming language has been a rewarding and
enriching experience. Under the guidance of Shraban
Sir, I was able to explore the vast capabilities of Asp.net
and its applications in real-world scenarios.

This project aimed to design and implement a


userfriendly and efficient system for managing
Online shopping System and Event hall booking
System.
Through this project, I gained hands-on experience in
programming concepts, data structures, and software
development methodologies.

The project's success can be attributed to the valuable


insights and suggestions received during its
development. This project report documents the
development process, design decisions, and
functionality of the Online shopping System and Event
hall Booking System application, serving as a valuable
resource for future developers and researchers in the
field of computer science.

Introduction

The Event Hall Booking System is a web-based application


designed using ASP.NET to facilitate the seamless booking of event
halls for various occasions, such as weddings, conferences,
meetings, and parties. This system provides a comprehensive
platform for both event organizers and hall administrators, ensuring
that users can easily book venues, manage reservations, and
receive instant confirmations, all while streamlining administrative
tasks for the hall managers.

In this project, ASP.NET is used to develop both the backend and


frontend components of the system. By leveraging the powerful
features of ASP.NET, this system aims to provide a scalable, secure,
and user-friendly solution for event hall bookings. The application is
designed to automate the entire process of searching for halls,
managing availability, making payments, and handling user data,
reducing the likelihood of errors and enhancing the user
experience.
Project Overview
The Event Hall Booking System is a web-based application
developed using ASP.NET aimed at simplifying the process of
booking event halls for various occasions like conferences,
weddings, parties, meetings, and other events. This platform offers
both event organizers and hall administrators an intuitive and
efficient system to manage hall bookings, availability, payments,
and other essential aspects related to event venue reservations.

The application allows users to search for available event halls,


make bookings, handle payments securely, and receive instant
notifications. For administrators, it provides tools to manage event
halls, track bookings, and generate reports, all in a centralized
platform. By automating various tasks, the system reduces manual
errors, increases productivity, and enhances the user experience.

About the Project: Event Hall Booking System


The Event Hall Booking System is a comprehensive web-based
solution developed using ASP.NET to automate the process of
booking event halls for various events, such as conferences,
weddings, meetings, parties, and more. The goal of this project is
to provide a user-friendly platform that simplifies the hall booking
process for both event organizers and administrators. It streamlines
the tasks of searching for available event spaces, managing
bookings, handling payments, and sending notifications.

This system will eliminate the need for manual booking procedures,
reduce the risk of double bookings, and make the process of
managing event halls more efficient. By integrating real-time data,
secure payment options, and a clean user interface, this system
ensures a smooth experience for users while also providing hall
administrators with essential tools to manage and monitor
bookings effectively.
 Problem Statement:
 Booking event halls manually often leads to errors, such as double
bookings or administrative oversights. Furthermore, there is a lack
of real-time availability information, which can result in confusion
for both customers and administrators. Event organizers may also
struggle to manage the logistical aspects of their events, such as
payments, booking confirmations, or cancellations, leading to
inefficiencies and frustration. The Event Hall Booking System aims
to solve these problems by providing a fully automated platform
that handles all aspects of the booking process.

 Project Objective:

 The primary objective of the Event Hall Booking System is to


provide an efficient, user-friendly, and secure platform for event
organizers to book event spaces with ease, while offering hall
administrators a tool to manage bookings and monitor hall usage.
The system is designed to:

• Simplify the process of finding and booking event halls.


• Ensure real-time availability updates to avoid booking
conflicts.
• Provide secure payment processing.
• Automate notifications for booking confirmations,
cancellations, and updates.
• Offer insightful reporting tools for hall administrators to track
bookings, revenue, and trends.

 Key Features:
• User Registration and Authentication: Secure user login and
role-based access for event organizers and administrators.
• Event Hall Search and Booking: Users can search for event
halls based on various parameters such as date, location,
capacity, and amenities.

• Booking Management: Admins can manage and track event


hall bookings, approve or reject requests, and handle
cancellations.

• Online Payment Integration: Secure payment gateway for


processing booking payments.

• Booking Confirmation and Notifications: Automated


email/SMS confirmations sent to users and administrators
upon booking.

• Hall Details & Reviews: Event halls have detailed information,


photos, and user ratings/reviews to help customers make
informed decisions.

• Admin Panel: Provides hall administrators with tools to


manage bookings, users, halls, and generate various reports.

• Cancellation & Rescheduling: Users can cancel or


reschedule bookings based on hall policies, and admins can
approve or decline such requests.

Tools Used in the Event Hall Booking System


The Event Hall Booking System relies on a variety of
development tools, frameworks, and technologies to create a
secure, efficient, and user-friendly platform. Below is a
breakdown of the tools used for building and maintaining the
system:

1. Development Tools and Frameworks:

ASP.NET Core MVC:

o Purpose: The primary framework for developing the backend


of the application. ASP.NET Core MVC is used for creating
the Model-View-Controller architecture, which helps in
separating the application logic from the UI, improving
maintainability and scalability.

o Features:

 Routing, request handling

 Built-in security features (authentication,


authorization)

 Easy integration with databases via Entity


Framework. Entity Framework Core:

o Purpose: Used as the Object-Relational Mapper (ORM) to interact


with databases. It simplifies data access by allowing developers
to work with database records using object-oriented code rather
than SQL.

o Features:

 Automates database interactions, such as queries


and updates.

 Supports migrations to manage database schema


changes.

• HTML/CSS/JavaScript:

o Purpose: These are the core technologies used to build the


structure (HTML), design and styling (CSS), and interactivity
(JavaScript) of the front end.

o Tools/Frameworks:

 Bootstrap: A front-end framework for developing


responsive and mobile-first websites.

o Features:

 Efficient handling of state management for


dynamic data such as booking status.
 Easy integration with APIs for real-time data
fetching.

• Entity Framework Core (EF Core):

o Purpose: Used as the Object-Relational Mapping (ORM)


framework to connect and interact with the database. o
Features:
 Simplifies querying the database using LINQ
(Language Integrated Query).
 Supports migrations for database versioning and
management.

3. Authentication & Authorization:

ASP.NET Identity:

o Purpose: Provides authentication and authorization


capabilities for the system. It handles user registration,
login, password management, and role-based access
control. o Features:

 Supports registration, login, password reset


functionality.

 Integrates with external authentication providers


(e.g., Google, Facebook).

 Role-based authorization (Admin, User).

5. Notification Services:

• SendGrid (Email Notifications):

o Purpose: To send automated email notifications for booking


confirmations, cancellations, and reminders.

o Features:

 Easy integration with ASP.NET Core.


 Allows for bulk email sending and tracking.

• Twilio (SMS Notifications):

o Purpose: If SMS notifications are required, Twilio can be used


to send event reminders, booking confirmations, and
cancellations.

o Features:

 Easy to integrate into ASP.NET Core.

 Secure and reliable messaging service.

6. Development and Collaboration Tools:

• Visual Studio / Visual Studio Code:

o Purpose: These IDEs (Integrated Development


Environments) are used for writing and debugging
code for ASP.NET Core applications. Visual Studio offers
extensive support for .NET-based applications, while
Visual Studio Code is a lightweight alternative for
development with various extensions.

• GitHub / GitLab / Bitbucket:

o Purpose: These version control platforms are used for


collaboration and source code management, ensuring
that the development team can track changes,
collaborate, and roll back if necessary.

o Features:

 Source code versioning and history.

 Collaboration tools for team members.

• ASP.NET Core Reporting:

o Purpose: For generating administrative reports on bookings,


revenue, and hall usage.
o Features:

 Allows admins to view booking statistics and


trends.

 Custom report generation (e.g., bookings by


month, revenue analysis).

ANALYSIS AND DESIGN


*Login page
Registration page

MAIN PAGE
*DEVELOPERS CONTECT FORM
*ABOUT FORM

CODING : LOGIN
using System; using
System.Collections.Generic; using
System.Linq; using System.Web;
using System.Web.UI; using
System.Web.UI.WebControls; using
System.Data.SqlClient; using
System.Data;

namespace eventhallbookingsystem
{
public partial class WebForm3 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data
Source=DESKTOPRT641H6\\SQLEXPRESS; Initial Catalog=eventDb; Integrated
Security=True;"); SqlDataAdapter sda = new SqlDataAdapter("Select * from
registertb where email='" + TextBox1.Text + "' and password='" + TextBox2.Text + "'",
con); DataTable dt = new DataTable();
sda.Fill(dt);
if (TextBox1.Text == "[email protected]" & TextBox2.Text == "1256")
{
Session["admin"] = TextBox1.Text;
Label1.Text = "Admin Login Successfully.";
Label1.ForeColor = System.Drawing.Color.DarkGreen;
TextBox1.Text = "";
TextBox2.Text = "";
}
else if (dt.Rows.Count == 1)
{
Session["username"] = TextBox1.Text;
Session["byitem"] = null;
Label1.Text = "Login Successfull";
Label1.ForeColor = System.Drawing.Color.Green;
TextBox1.Text = "";
TextBox2.Text = "";
}
else
{
Label1.Text = "User Name and Password does not matched";
Label1.ForeColor = System.Drawing.Color.Red;
}
}

protected void LinkButton1_Click(object sender, EventArgs e)


{
Response.Redirect("Register.aspx");
}
}
}

REGISTRATION
using System; using
System.Collections.Generic; using
System.Linq; using System.Web;
using System.Web.UI; using
System.Web.UI.WebControls;
using System.Data; using
System.Data.SqlClient;

namespace eventhallbookingsystem
{
public partial class WebForm4 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection("Data Source=DESKTOP-RT641H6\\SQLEXPRESS;
Initial Catalog=eventDb; Integrated Security=True;"); con.Open();
SqlCommand cmd = new SqlCommand("insert into registertb" +
"(fname,lname,email,gender,address,phone,password)values(@fname,@lname,@email,@gender,
@address,@phone,@password)", con);
cmd.Parameters.AddWithValue("@fname", TextBox1.Text);
cmd.Parameters.AddWithValue("@lname", TextBox2.Text);
cmd.Parameters.AddWithValue("@email", TextBox3.Text);
cmd.Parameters.AddWithValue("@gender", DropDownList1.SelectedItem.Value);
cmd.Parameters.AddWithValue("@address", TextBox4.Text);
cmd.Parameters.AddWithValue("@phone", TextBox5.Text);
cmd.Parameters.AddWithValue("@password", TextBox6.Text);
cmd.ExecuteNonQuery(); con.Close();
ClearText();
Label1.Text = "Register Successfully";
ClearText();
}
private void ClearText()
{
TextBox1.Text = String.Empty;
TextBox2.Text = String.Empty;
TextBox3.Text = String.Empty;
TextBox4.Text = String.Empty;
TextBox5.Text = String.Empty;
TextBox6.Text = String.Empty;
}
}
}

MAIN FORM
using System;
using System.Collections.Generic;
using System.Linq; using
System.Web; using
System.Web.UI; using
System.Web.UI.WebControls;
namespace
eventhallbookingsystem
{
public partial class WebForm6 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

CONTECT FORM
using System; using
System.Collections.Generic; using
System.Linq; using System.Web;
using System.Web.UI; using
System.Web.UI.WebControls;

namespace eventhallbookingsystem
{
public partial class WebForm5 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
}
}

ABOUT FORM
using System;
using System.Collections.Generic;
using System.Linq; using
System.Web; using System.Web.UI;
using System.Web.UI.WebControls;

namespace eventhallbookingsystem
{
public partial class WebForm6 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
}
}
* SECOND PROJECT

.. ONLINE
SHOPPING
SYSTEM ..
FRONT END : ASP.NET
Online shooping System

CONTENT

• Acknowledgment
• Introduction
• Objective
• Tools
• Analysis And Design
• Coading

Acknowledgment
___________________________________________________________
I acknowledge with gratitude the support and guidance
received from my project guide Shraban Sir , during the
development of the Online shopping system and Event hall
booking system . Their expertise and encouragement played
a pivotal role in the project's success.

I also extend my thanks to My Team for their valuable


suggestions and feedback throughout the project. The
resources and facilities provided by our college , were
instrumental in completing this project.
This project has not only honed my skills in Asp.net
programming but also deepened my understanding of
software development principles. I appreciate the
opportunity to work on this project, which has been a
valuable learning experience.

Thank you to everyone who contributed to this project's


success. I am grateful for the experience and knowledge
gained, which will undoubtedly benefit me in my future
endeavors.

Sincerely,

Ram Nitish Kumar

PREFACE

The development of a Online shopping System and Event


hall booking system application using Asp.net
programming language has been a rewarding and
enriching experience. Under the guidance of Shraban
Sir, I was able to explore the vast capabilities of Asp.net
and its applications in real-world scenarios.

This project aimed to design and implement a


userfriendly and efficient system for managing
Online shopping System and Event hall booking
System.
Through this project, I gained hands-on experience in
programming concepts, data structures, and software
development methodologies.
The project's success can be attributed to the valuable
insights and suggestions received during its
development. This project report documents the
development process, design decisions, and
functionality of the Online shopping System and Event
hall Booking System application, serving as a valuable
resource for future developers and researchers in the
field of computer science.

______________Introduction______________________

INTRODUCTION TO ONLINE SHOPPING SYSTEM


The Online Shopping System is a digital platform that enables users to browse,
select, and purchase products or services from the comfort of their homes. With
the rapid advancement of technology and the widespread use of the internet,
online shopping has become an essential part of modern consumer behavior. It
provides convenience, a wide range of products, secure payment options, and
doorstep delivery, making it a preferred choice over traditional shopping
methods.

An online shopping system typically consists of various components, including


a user-friendly interface, product catalog, shopping cart, payment gateway, and
order management system. Customers can easily search for products, compare
prices, read reviews, and make secure transactions. Businesses also benefit from
online shopping systems as they can reach a larger audience, reduce operational
costs, and provide a seamless shopping experience.

This system is widely used by e-commerce platforms such as Amazon, eBay,


Alibaba, and Flipkart, as well as small and medium-sized businesses that want
to expand their market presence. With the integration of modern technologies
like AI, data analytics, and automation, online shopping systems continue to
evolve, offering personalized recommendations, chatbots for customer support,
and faster delivery services.

In conclusion, the Online Shopping System has revolutionized the retail


industry, providing efficiency, convenience, and accessibility to consumers
worldwide. It continues to grow and adapt to changing consumer demands,
making it an essential part of the digital economy.
PROJECT OVERVIEW: ONLINE SHOPPING SYSTEM

1. PROJECT TITLE:-ONLINE SHOPPING SYSTEM


2. PROJECT DESCRIPTION:

The Online Shopping System is a web-based application that allows customers


to browse, select, and purchase products online. This system provides a
seamless shopping experience with features like product categorization, a
shopping cart, secure payment integration, and order tracking. The platform is
designed to be user-friendly, efficient, and secure, catering to both customers
and administrators.

3. OBJECTIVES:

• To develop a convenient and efficient online shopping platform.


• To provide users with a secure and reliable shopping experience.
• To integrate various payment options for easy transactions.
• To enable sellers to manage product listings, orders, and customer interactions.
• To enhance the overall e-commerce experience using modern technologies.

4. FEATURES OF THE SYSTEM:

FOR CUSTOMERS:

• User Registration & Login


• Product Search & Filtering
• Shopping Cart & Wishlist
• Secure Payment Gateway Integration
• Order History & Tracking
• Customer Reviews & Ratings FOR ADMINISTRATORS:

• Product Management (Add, Update, Delete Products)


• Order Management
• User Management Sales Reports & Analytics

5. TECHNOLOGIES USED:
• Frontend: HTML, CSS, JavaScript (React/Angular)
• Backend: PHP, Node.js, or Python (Django/Flask)
• Database: MySQL, MongoDB, or Firebase
• Payment Gateway: PayPal, Stripe, Razorpay
• Hosting: AWS, Firebase, or Heroku

6. EXPECTED OUTCOMES:

• A fully functional e-commerce platform with an intuitive user interface.


• Secure and efficient online transactions.
• A robust product management and order processing system.
• Improved customer experience through recommendations and reviews.

7. CONCLUSION:

This project aims to develop a scalable and user-friendly Online Shopping


System that benefits both consumers and business owners. By leveraging the
latest web technologies, it ensures a smooth and secure shopping experience
while offering advanced features for business growth.

Objectives
_____________________________________
The Online Shopping System is designed to enhance the shopping experience by providing
a seamless, efficient, and secure platform for both customers and administrators. The key
objectives of this project are:

1. To Develop a User-Friendly Platform o Create an intuitive and easy-to-


navigate interface for customers.
o Ensure a smooth shopping experience with simple product searches,
filtering, and checkout processes.
2. To Facilitate Secure Online Transactions o Implement secure payment
gateways (PayPal, Stripe, Razorpay, etc.).
o Protect customer data through encryption and authentication
mechanisms.
3. To Enable Efficient Product Management o Allow sellers/admins to add,
update, and remove products.
o Implement inventory management to track product availability. 4. To
Improve Order and Delivery Management o Provide real-time order
tracking for customers.
o Notify users about order status updates (confirmation, shipping,
delivery).
5. To Enhance Customer Engagement and Experience o Enable
customer reviews, ratings, and feedback.
o Provide personalized product recommendations using AI-based
algorithms.
6. To Offer Multiple Payment Options o Support various payment methods
(credit/debit cards, digital wallets, COD).
o Ensure compliance with financial security standards.
7. To Provide a Scalable and Reliable System o Use modern technologies for
scalability and high performance.
o Ensure the system can handle multiple users simultaneously.

8. To Generate Reports and Analytics for Business Growth o Provide sales and customer
analytics to help businesses make informed decisions. o Track user behavior for
improved marketing strategies.

CONCLUSION:

This Online Shopping System aims to revolutionize the shopping experience


by providing a fast, secure, and convenient platform for customers while helping
businesses efficiently manage their operations.
__________________________________________________________

Tool
Here are the tools and features used in this online shopping system based on the
screenshots:

1. User Registration & Login o Allows users to sign up with their


personal details.
o Secure login functionality for customers and admin.
2. Product Categories o Products are classified into categories
(Clothes, Shoes, Shorts) for easy browsing.
3. Product Listings & Search o Displays a list of available
products with prices and images.
o Search bar for finding specific products.
4. Shopping Cart & Orders o Users can add products to their cart
and place orders.
o Order summary page showing purchased items, quantity, and price.
5. Payment & Checkout o Users can proceed with payments after
order confirmation.
o View past payments and order history.
6. Admin Dashboard o Admin login panel for managing the store.
o Add, edit, and delete categories and products. o Manage stock
availability and view sales reports.
o Track customer orders and payments.
7. Feedback System o Customers can provide feedback on their
shopping experience.

Features:
_________________________________________________________________ Here

are the key features of the Online Shopping System:

1. USER MANAGEMENT

• User registration with personal details.


• Secure login for customers and admin.
• Profile management (update information, change password).
2. PRODUCT CATALOG & SEARCH

• Products categorized into different sections (Clothes, Shoes,


Shorts, etc.).
• Product images, descriptions, and prices displayed. Search
functionality to find products quickly.
3. SHOPPING CART & ORDER MANAGEMENT

• Add/remove items from the cart.


• Update quantity of selected products.
• Order summary before checkout. Order history for users.
4. PAYMENT SYSTEM

• View payment details.


• Secure checkout process.
5. ADMIN DASHBOARD

• Admin login with secure authentication.


• Manage product categories (add, edit, delete).
• Manage products (add new items, update prices, delete).
• View and manage customer orders.
• Track stock availability and sales.
6. REPORTS & SALES TRACKING
• View reports of products sold.
• Inventory management with stock count. Track revenue
and sales trends.
7. FEEDBACK SYSTEM

• Users can submit feedback on products or services.


• Admin can view and respond to feedback.

About:
1. The Online Shopping System is a web-based application designed to
facilitate buying and selling products online. It provides users with an
easy-touse platform where they can browse products, place orders, and
make payments. The system also includes an admin panel for managing
inventory, orders, and user feedback.
2. PROJECT OVERVIEW

This project is developed to digitize and automate the traditional shopping


experience. It enables customers to explore products across different categories,
place orders, and complete transactions without visiting a physical store. The
system consists of two main modules:

• Customer Module: Users can register, browse products, add


them to the cart, and place orders.
• Admin Module: Admins can manage product listings, track
orders, update stock, and generate sales reports.
3. OBJECTIVES

The main objectives of the Online Shopping System are:


✅ To provide a convenient and user-friendly shopping experience.
✅ To enable customers to browse, select, and purchase products online.
✅ To allow secure transactions using different payment methods.
✅ To provide an admin panel for product, order, and user management.
✅ To generate reports on sales, inventory, and customer feedback.
4. FEATURES OF THE SYSTEM
A. CUSTOMER FEATURES
✅ User Registration & Login – Customers can sign up and log in securely. ✅
Product Browsing – Users can view products by category (Clothes, Shoes,
Shorts, etc.).
✅ Search Functionality – A search bar to find specific products.
✅ Shopping Cart – Users can add products to their cart before purchasing. ✅
Order Management – Customers can review their orders and track their
status.
✅ Payment System – Secure checkout and payment processing.
✅ Feedback System – Users can provide ratings and reviews.
B. ADMIN FEATURES

✅ Admin Login Panel – Secure authentication for administrators.


✅ Product Management – Add, update, and delete product details.
✅ Category Management – Create and manage product categories.
✅ Stock Management – Monitor available and sold quantities.
✅ Order Management – View and update order statuses.
✅ Reports & Analytics – Generate reports on sales, orders, and customer
activity.
✅ User Management – Manage customer accounts and feedback.
5. TOOLS & TECHNOLOGIES USED

✅ Frontend: HTML, CSS, JavaScript (for UI and interactivity).


✅ Backend: PHP, Python, or Java (for handling requests and processing data).
✅ Database: MySQL or PostgreSQL (for storing user data, product details, and
orders).
✅ Frameworks: Laravel (PHP), Django (Python), or Spring Boot (Java) for
faster development.
✅ Hosting: Deployed on a web server like Apache, Nginx, or cloud platforms.
6. SYSTEM WORKFLOW

✅ ⃣ User visits the website and registers/logs in.


✅ ⃣ User browses products and adds desired items to the cart.
✅ ⃣ User proceeds to checkout, selects payment options, and confirms the
order.
✅ ⃣ Admin receives the order, updates stock levels, and processes delivery.
✅ ⃣ User can track their order from the "My Orders" section.
✅ ⃣ Admin monitors sales & inventory and generates reports.
7. ADVANTAGES OF THE SYSTEM

✅ Convenience – Shopping anytime, anywhere.


✅ Fast Transactions – No need to visit a physical store.
✅ Wide Product Range – Users can browse multiple categories easily.
✅ Efficient Inventory Management – Admins can track stock levels.
✅ User-Friendly Interface – Simple and responsive design.
CONCLUSION

The Online Shopping System is an efficient, scalable, and user-friendly


ecommerce solution. It simplifies the online shopping process, improves
customer satisfaction, and provides a powerful admin panel for managing
products, orders, and payments.

Analysis And Design

1. SYSTEM ANALYSIS
System analysis involves understanding the requirements,
functionalities, and structure of the Online Shopping System. It
includes identifying the users, their interactions, and the system
components.

A. USER REQUIREMENTS
The system serves two types of users:

1. Customers (Users) o Register and log in


securely.
o Browse products across different categories.

o Add products to the shopping cart.

o Checkout using different payment methods.

o Track orders and provide feedback.

2. Administrators o Manage product


inventory (add, update, delete
products).
o Handle user accounts and orders. o View reports on sales

and stock.
o Update order statuses.

B. FUNCTIONAL REQUIREMENTS
✅ User Authentication – Secure login and registration.
✅ Product Management – Admins can add, update, and remove
products.
✅ Shopping Cart – Customers can add or remove items from the
cart.
✅ Order Management – Users can place, track, and cancel orders. ✅
Payment Integration – Supports online payments (credit card,
PayPal, etc.).
✅ Feedback System – Users can leave reviews and ratings.
✅ Admin Dashboard – Provides an overview of sales, products, and
orders.

C. NON-FUNCTIONAL REQUIREMENTS
✅ Scalability – The system should handle multiple users and
transactions.
✅ Security – Protect user data, transactions, and credentials.
✅ Performance – Fast loading and optimized database queries.
✅ User-Friendly Interface – Responsive and intuitive UI.

2. SYSTEM DESIGN
A. SYSTEM ARCHITECTURE
The system follows a three-tier architecture:
1. Presentation Layer (Frontend) – User interface built using HTML,
CSS, JavaScript.
2. Application Layer (Backend) – Processes requests using PHP,
Python, or Java.
3. Database Layer – Stores data in MySQL, PostgreSQL, or
MongoDB.

B. USE CASE DIAGRAM ACTORS:

Customer (User) Admin


USE CASES:

• User registration & login


• Product browsing & searching
• Adding products to cart
• Placing orders
• Order management Payment processing
• Admin managing products
• Admin viewing reports

C. ENTITY-RELATIONSHIP (ER) DIAGRAM ENTITIES


& RELATIONSHIPS:

✅ ⃣ Users (User_ID, Name, Email, Password)


✅ ⃣ Products (Product_ID, Name, Price, Stock, Category)
✅ ⃣ Cart (Cart_ID, User_ID, Product_ID, Quantity)
✅ ⃣ Orders (Order_ID, User_ID, Cart_ID, Order_Status, Payment_Status)
✅ ⃣ Payments (Payment_ID, Order_ID, Payment_Method, Amount)
✅ ⃣ Reviews (Review_ID, User_ID, Product_ID, Rating, Comment) ✅
Relationships:
• A User can have multiple Orders.
• A Product can have multiple Reviews. A Cart
can contain multiple Products.

Design:
Coding
Login page code:-
<%@ Page Title="" Language="C#" MasterPageFile="~/User.master"
AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.style2 {
width: 347px;
}
.style3
{
height: 8px;
}
.style4
{
height: 9px;
}
.style5
{
width: 100px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table class="tbl">
<tr>
<td class="tblhead">
User Login Area</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
<br />
<br />
</td>
</tr>
<tr>
<td style="text-align: center">
<table align="center" class="style2" style="border: thin solid #008000">
<tr>
<td class="tblhead" colspan="2">
Login Here</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="lbl">
UserName :
</td>
<td>
<asp:TextBox ID="txtuname" runat="server" CssClass="txt"
Width="140px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtuname" ErrorMessage="Enter UserName"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="lbl">
Password :
</td>
<td>
<asp:TextBox ID="txtpass" runat="server" CssClass="txt" Width="140px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtpass" ErrorMessage="Enter Password"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style4">
</td>
<td class="style4">
&nbsp;</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td align="left" valign="top">
<table class="style5">
<tr>
<td>
<asp:Button ID="btnlogin" runat="server" CssClass="btn" Text="Login"
onclick="btnlogin_Click" />
</td>
<td>
<asp:Image ID="Image3" runat="server" Height="44px"
ImageUrl="~/images/imagesds.jpg" Width="85px" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style3">
</td>
<td align="left" class="style3">
<asp:Label ID="lblerror" runat="server"
ForeColor="#CC0000"></asp:Label>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="text-align: center; color: #272727">
Dont have Username and Password
<asp:HyperLink ID="HyperLink2" runat="server"
NavigateUrl="~/Registration.aspx">Register Now !!</asp:HyperLink>
</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
&nbsp;</td>
</tr>
</table> </asp:Content>
Home code:-
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Home.aspx.cs"
Inherits="Home" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<link href="meera.css" rel="stylesheet" type="text/css" />
<title>Untitled Page</title>
<link href="meera.css" rel="stylesheet" type="text/css" />
<link href="meera.css" rel="stylesheet" type="text/css" /> <link
rel="stylesheet" type="text/css" href="engine1/style.css"
media="screen" />
<style type="text/css">a#vlb{display:none}</style>
<script type="text/javascript" src="engine1/jquery.js"></script>
<style type="text/css">
.style2
{
width: 100%;
height: 47px;
}
.style3
{
width: 380px;
}
.style4
{
width: 541px;
}
.style6
{
width: 122px;
}
.style7
{
width: 996px;
}
.style8
{
width: 554px;
}
.style9
{
width: 383px;
}
</style>
<script language="javascript" type="text/javascript">
// <![CDATA[

function wows0_onclick() {

// ]]>
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="top">
<table class="style7" style="background-color:deepskyblue">
<tr>
<td class="style8">
<h1>Online Shopping</h1>
</td>
<td>
&nbsp;<table class="style9">
<tr>
<td>
<asp:TextBox ID="txtsearch" runat="server"
Width="300px" BorderColor="#272727"
BorderStyle="Solid" BorderWidth="1px"
Height="25px"></asp:TextBox>
</td>
<td>
<asp:Button ID="Button2" runat="server"
Text="Search" onclick="Button2_Click"
Width="78px" CssClass="btn"
CausesValidation="False" Height="30px" />
</td>
<td>
&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</div> <div id="menu">
<table class="style2">
<tr>
<td>
<asp:Button ID="Button3" runat="server" Text="HOME"
CssClass="btnmenu"
CausesValidation="False" PostBackUrl="~/Home.aspx" />
</td>
<td>
<asp:Button ID="Button4" runat="server" Text="SIGN UP"
CssClass="btnmenu"
CausesValidation="False"
PostBackUrl="~/Registration.aspx" />
</td>
<td>
<asp:Button ID="Button6" runat="server" Text="PRODUCT"
CssClass="btnmenu"
CausesValidation="False"
PostBackUrl="~/PRODUCT.aspx" />
</td>
<td>
<asp:Button ID="Button7" runat="server"
Text="FEEDBACK" CssClass="btnmenu"
CausesValidation="False"
PostBackUrl="~/Feedback.aspx" />
</td>
<td>
<asp:Button ID="Button8" runat="server" Text="ADMIN
Login" CssClass="btnmenu"
CausesValidation="False"
PostBackUrl="~/admin/login.aspx" />
</td>
</tr>
</table>
</div>

<div id="second">

<div id="slide"><div id="wowslider-container1">


<div class="ws_images">
<a href="#"><img src="data1/images/i1.jpg" alt="" title="" id="wows0"/></a>
<a href="#"><img src="data1/images/n1.jpg" alt="" title="" id="wows1"/></a>
<a href="#"><img src="data1/images/s1.jpg" alt="" title="" id="wows2"/></a>
<a href="#"><img src="data1/images/i2.jpg" alt="" title="" id="wows3"/></a>
<a href="#"><img src="data1/images/n2.jpg" alt="" title="" id="wows4"/></a>
<a href="#"><img src="data1/images/s2.jpg" alt="" title="" id="wows5"/></a>
<a href="#"><img src="data1/images/i3.jpg" alt="" title="" id="wows6"/></a>
</div>
<div class="ws_bullets"><div>
<a href="#wows0" title=""><img src="data1/tooltips/i1.jpg" alt=""/>1</a>
<a href="#wows1" title=""><img src="data1/tooltips/n1.jpg" alt=""/>2</a>
<a href="#wows2" title=""><img src="data1/tooltips/s1.jpg" alt=""/>3</a>
<a href="#wows3" title=""><img src="data1/tooltips/i2.jpg" alt=""/>4</a>
<a href="#wows4" title=""><img src="data1/tooltips/n2.jpg" alt=""/>5</a>
<a href="#wows5" title=""><img src="data1/tooltips/s2.jpg" alt=""/>6</a> <a
href="#wows6" title=""><img src="data1/tooltips/i3.jpg" alt=""/>7</a>
</div></div>
<a style="display:none" href="http://wowslider.com">Script Image Slider by
WOWSlider.com v1.7</a>
</div>
<script type="text/javascript" src="engine1/script.js"></script></div>
<div id="login" style="background-color: deepskyblue">
<table class="style2">
<tr>
<td width="45%">
<table class="style3">
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
</table>
</td>
<td>
<table class="style4">
<tr>
<td style="text-align: right; color:
#FFFFFF;">
UserName :</td>
<td>
<asp:TextBox ID="txtuname" runat="server"
CssClass="txt"></asp:TextBox></td>
<td style="text-align: right; color:
#FFFFFF;">
Password :</td>
<td>
<asp:TextBox ID="txtupass" runat="server"
CssClass="txt" TextMode="Password"></asp:TextBox></td>
<td>
<asp:Button ID="btnlogin" runat="server"
CssClass="btn" Text="Login"
onclick="btnlogin_Click" CausesValidation="False"
/>
<asp:Label ID="lbll" runat="server"
ForeColor="White"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>

<div id="main">
<div id="cate">
<table class="tbl">
<tr>
<td class="tblhead">
CATEGORY</td>
</tr>
<tr>
<td align="center">
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" ShowHeader="False"
Width="100%" CellPadding="4" ForeColor="#272727"
GridLines="None" onrowcommand="GridView1_RowCommand"

onselectedindexchanged="GridView1_SelectedIndexChanged">
<AlternatingRowStyle BackColor="White" />
<Columns>

<asp:TemplateField>
<ItemTemplate >
<asp:LinkButton runat="server"
Text='<%#Eval("Cname") %>' CssClass="cgrid" ForeColor="#272727"
ID="lnkcate" CommandName="cate" CommandArgument='<%#Eval("Cname")
%>'></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>

</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#FFCC66"
ForeColor="#272727"
HorizontalAlign="Center" />
<RowStyle BorderColor="White" BorderStyle="None"
BorderWidth="0px"
Font-Size="Medium" Height="30px"
HorizontalAlign="Center" BackColor="#FFFBD6"
ForeColor="#272727" />
<SelectedRowStyle BackColor="#FFCC66"
ForeColor="#272727" Font-Bold="True" />
<SortedAscendingCellStyle BackColor="#FDF5AC" />
<SortedAscendingHeaderStyle BackColor="#4D0000" />
<SortedDescendingCellStyle BackColor="#FCF6C0" />
<SortedDescendingHeaderStyle BackColor="#820000"
/>
</asp:GridView>
</td>
</tr>
<tr>
<td align="center">
&nbsp;</td>
</tr>
</table>
</div><div id="item">

<asp:DataList ID="DataList1" runat="server" RepeatColumns="4"


RepeatDirection="Horizontal" onitemcommand="DataList1_ItemCommand1">
<ItemTemplate>
<table style="border: thin solid #339966" width="180">
<tr>
<td class="tblhead">
<asp:Label ID="lblname" runat="server"
Text='<%#Eval("iname") %>'></asp:Label>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center">
<asp:Image ID="Image4" runat="server"
Height="135px" ImageUrl='<%#Eval("image") %>' style="text-align: center"
Width="112px" />
</td>
</tr>
<tr>
<td style="border-top-style: solid;
bordertop-width: thin; border-top-color: #339966">
<table width="100%">
<tr>
<td class="style6">
Price :
<asp:Label ID="lblprice" runat="server"
Text='<%#Eval("price") %>'></asp:Label>
</td>
<td>
<asp:Button ID="Button9" runat="server"
CssClass="btnmenu" CommandArgument='<%#Eval("iid") %>'
Height="25px"
Text="View" Width="70px"
/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</div>
</div> </div>
<div id="foot">All Rights Reserved @Online Shopping 2022</div>
</form>

</body>
</html>
Fpassword:-
<%@ Page Title="" Language="C#" MasterPageFile="~/User.master"
AutoEventWireup="true" CodeFile="FPassword.aspx.cs" Inherits="FPassword"
%>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">

.style4
{
height: 9px;
}
.style6
{
height: 70px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table class="tbl">
<tr>
<td class="tblhead">
Forgot Password Form</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="style6">
<br />
<br />
<br />
</td>
</tr>
<tr>
<td style="text-align: center">
<table align="center" class="style2"
style="border: thin solid #008000; width: 273px;">
<tr>
<td class="tblhead" colspan="2">
Enter your detail</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="lbl">
Email :
</td>
<td>
<asp:TextBox ID="txtemail" runat="server"
CssClass="txt" Width="140px"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtemail"
ErrorMessage="Correct Email" ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="lbl">
Mobile&nbsp; :
</td>
<td>
<asp:TextBox ID="txtmobile" runat="server"
CssClass="txt" Width="140px"
MaxLength="10"></asp:TextBox>
<asp:RequiredFieldValidator
ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtmobile"
ErrorMessage="Correct Mobile Number"

ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style4">
</td>
<td class="style4">
<asp:Label ID="lblpass" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td align="left" valign="top">
<table class="style5">
<tr>
<td>
<asp:Button ID="btnlogin"
runat="server" CssClass="btn" Text="Login"
onclick="btnlogin_Click" />
</td>
<td>
<asp:Image ID="Image3"
runat="server" Height="44px"
ImageUrl="~/images/imagesds.jpg"
Width="85px" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="style3">
</td>
<td align="left" class="style3">
<asp:Label ID="lblerror" runat="server"
ForeColor="#CC0000"></asp:Label>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="text-align: center; color: Green">
Dont have Username and Password
<asp:HyperLink ID="HyperLink2" runat="server"
NavigateUrl="~/Registration.aspx">Register Now !!</asp:HyperLink>
</td>
</tr>
</table>
</asp:Content>

Registration:-
<%@ Page Title="" Language="C#" MasterPageFile="~/User.master"
AutoEventWireup="true" CodeFile="Registration.aspx.cs"
Inherits="User_Registration" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">

.style6
{
color: Green;
text-align: right;
height: 24px;
}
.style7
{
height: 24px;
}

</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table class="tbl">
<tr>
<td class="tblhead" colspan="2">
Registration Form</td>
</tr>
<tr>
<td class="lbl">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="lbl">
Name :
</td>
<td>
<asp:TextBox ID="txtname" runat="server" CssClass="txt"
Width="160px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtname" ErrorMessage="Enter Name"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="lbl">
Surname :
</td>
<td>
<asp:TextBox ID="txtsname" runat="server" CssClass="txt"
Width="160px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtsname" ErrorMessage="Enter Surname"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="lbl">
Address :
</td>
<td>
<asp:TextBox ID="txtadd" runat="server" CssClass="txt"
Width="160px"
TextMode="MultiLine"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="txtadd" ErrorMessage="Enter Address"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td

class="lbl">
City :
</td>
<td>
<asp:TextBox ID="txtcity" runat="server" CssClass="txt"
Width="160px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4"
runat="server"
ControlToValidate="txtcity" ErrorMessage="Enter City"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="lbl">
Pincode :
</td>
<td>
<asp:TextBox ID="txtppin" runat="server" CssClass="txt"
Width="160px"></asp:TextBox>
<asp:RangeValidator ID="RangeValidator1" runat="server"
ControlToValidate="txtppin" ErrorMessage="Enter Pincode"
ForeColor="Red"
MaximumValue="999999" MinimumValue="100000"
Type="Double"></asp:RangeValidator>
</td>
</tr>
<tr>
<td class="lbl">
Gender:</td>
<td>
<asp:RadioButton ID="RadioButton1" runat="server"
GroupName="h" Text="Male" Checked="True" />
<asp:RadioButton ID="RadioButton2" runat="server"
GroupName="h" Text="Female" />
</td>
</tr>
<tr>
<td class="lbl">
Mobile :
</td>
<td>
<asp:TextBox ID="txtmo" runat="server" CssClass="txt"
Width="160px"
MaxLength="10"></asp:TextBox>

<asp:RegularExpressionValidator
</td>
</tr>
<tr>
<td

ID="RegularExpressionValidator1" runat="server"
ControlToValidate="txtmo" ErrorMessage="Enter Mobile"
ForeColor="Red"
ValidationExpression="[0-
9]{10}"></asp:RegularExpressionValidator>
class="lbl">
&nbsp;</td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="lbl">
Email :
</td>
<td>
<asp:TextBox ID="txtemail" runat="server" CssClass="txt"
Width="160px"></asp:TextBox>
<asp:RegularExpressionValidator
ID="RegularExpressionValidator2" runat="server"
ControlToValidate="txtemail" ErrorMessage="Enter Email"
ForeColor="Red"
ValidationExpression="\w+([-+.']\w+)*@\w+([-
.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td class="lbl">
Password :
</td>
<td>
<asp:TextBox ID="txtpass" runat="server" CssClass="txt"
Width="160px"
TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td class="lbl">
Confirm - Pass : </td>
<td class="style7">
<asp:TextBox ID="txtcpass" runat="server" CssClass="txt"
Width="160px"
TextMode="Password"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="txtpass" ControlToValidate="txtcpass"
ErrorMessage="passwod not same"
ForeColor="Red"></asp:CompareValidator>
</td>
</tr>
<tr>
<td

</td>
</tr>
<tr>
<td class="lbl">
&nbsp;</td>
<td align="left">
<asp:Button ID="Button3" runat="server" CssClass="btn"
Text="Register Now"
onclick="Button3_Click" />
colspan="2" align="center" style="color: #272727"> Already
have an username and password
<asp:HyperLink ID="HyperLink2" runat="server"
NavigateUrl="~/Login.aspx">Login Here</asp:HyperLink>
</td>
</tr>
</table>
</asp:Content>

Product:-
<%@ Page Title="" Language="C#" MasterPageFile="~/USER.master"
AutoEventWireup="true" CodeFile="PRODUCT.aspx.cs" Inherits="PRODUCT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">

.style6
{
width: 122px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table class="tbl" width="97%">
<tr>
<td class="tblhead">
PRODUCT</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
<asp:DataList ID="DataList1" runat="server" RepeatColumns="4"
</td>
</tr>
<tr>
<td

RepeatDirection="Horizontal"
onitemcommand="DataList1_ItemCommand1">
<ItemTemplate>
<table style="border: thin solid #339966" width="178">
<tr>
<td class="tblhead">
<asp:Label ID="lblname" runat="server"
Text='<%#Eval("iname") %>'></asp:Label>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center">
<asp:Image ID="Image4" runat="server"
Height="135px" ImageUrl='<%#Eval("image") %>' style="text-align: center"
Width="112px" />
</td>
</tr>
<tr>
<td style="border-top-style: solid;
bordertop-width: thin; border-top-color: #339966">
<table width="100%">
<tr>
<td class="style6">
Price :
<asp:Label ID="lblprice"
runat="server" Text='<%#Eval("price") %>'></asp:Label>
</td>
<td>
<asp:Button ID="Button9"
runat="server" CssClass="btnmenu" CommandArgument='<%#Eval("iid") %>'
Height="25px"
Text="View" Width="70px"
/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</td>
</tr>
</table>
</asp:Content>

Search code :-
<%@ PAGE TITLE="" LANGUAGE="C#" MASTERPAGEFILE="~/USER.MASTER"
AUTOEVENTWIREUP="TRUE" CODEFILE="SEARCH.ASPX.CS" INHERITS="SEARCH" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">

.style6
{
width: 122px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table class="tbl">
<tr>
<td class="tblhead">
SEARCH :
<asp:Label ID="lblsearch" runat="server"></asp:Label>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
<tr>
<td>
<asp:DataList ID="DataList1" runat="server" RepeatColumns="4"
RepeatDirection="Horizontal"
onitemcommand="DataList1_ItemCommand1">
<ItemTemplate>
<table style="border: thin solid #339966" width="180">
<tr>
<td class="tblhead">
<asp:Label ID="lblname" runat="server"
Text='<%#Eval("iname") %>'></asp:Label>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
<tr>
<td style="text-align: center">
<asp:Image ID="Image4" runat="server"
Height="135px" ImageUrl='<%#Eval("image") %>' style="text-align: center"
Width="112px" />
</td>
</tr>
<tr>
<td style="border-top-style: solid;
bordertop-width: thin; border-top-color: #339966">
<table width="100%">
<tr>
<td class="style6">
Price :
<asp:Label ID="lblprice"
runat="server" Text='<%#Eval("price") %>'></asp:Label>
</td>
<td>
<asp:Button ID="Button9"
runat="server" CssClass="btnmenu" CommandArgument='<%#Eval("iid") %>'
Height="25px"
Text="View" Width="70px"
/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</ItemTemplate>
</asp:DataList>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
</tr>
</table> </asp:Content>

You might also like