On
INFORMATION TECHNOLOGY
Submitted By
Aakash Kumar Kanaujiya
Submitted to
-------------------
Govt. Polytechnic Mahoba
1
ACKNOWLEDGEMENT
HimanshuKashyap(PNP Intech Learning & Research Centre),who gave me his full support
and encouraged me to work in an innovative and challenging project for Educational field.
His wide knowledge and logical thinking gave me right direction all the time.
I am deeply grateful my project coordinator for his help and support provided at every step
of the project.
Last but not the least, I thank to all employees of PNP Intech Learning & Research Centre
2
PNP/VT17-…..……....
COMPLETION CERTIFICATE
This is to certify that Aakash Kumar Kanaujiyaof DIPLOMA (Informtion Technology) from
Govt. Polytechnic Mahoba(Institute) was working on the project entitled “Online Study
Material” in PNP Intech Learning & Research Centre. He was engaged with us during 1st June
2017 to 15thJuly 2017for a period of 45 days.
He has done an excellent job during his engagement with the Software Development & Testing
Division of the company. He has completed his project during the training tenure. His performance
has been good and satisfactory.
I would like to take this opportunity to express my appreciation to Aakash Kumar Kanaujiyafor
his work and wish him all the very best for his future endeavours.
Regards,
……………………..
___________________
HR-Manager
PNP Intech Learning & Research Center
Lucknow(U.P.)
3
DECLARATION
This is to certify that the project report entitled “Online Study Material” is done by me is
an authentic work carried out for the partial fulfillment of the requirements for the award
HimanshuKashyap. The matter embodied in this project work has not been submitted
earlier for award of any degree or diploma to the best of my knowledge and belief.
`
Aakash Kumar Kanaujiya
4
TABLE OF CONTENT
I. Declaration
II. Certificate
III. Acknowledgement
1. Introduction…………………………………………………………………………..…........7-12
1.1 Overview of Organization
1.2 Objectives
1.3 Existing System Description
1.4 Proposed System
1.5 Tools Used
2. System Analysis…………………………………………………………………...............13-24
2.1 Idenification of need
2.2 SDLC Phases
2.2.1 Feasibility Study
2.2.2 Report Approval
2.2.3 System Analysis
2.2.4 System Design
2.2.5 Coding
2.2.6 Testing
2.2.7 Implementation
2.2.8 Maintenance
2.3 Process Description
2.4 Project Model Used
2.5 Data Flow Diagram
3. Software Requirement
Specification………….…………………………………………………………….………..25-26
3.1 Hardware Requirement
3.2 Software Requirement
3.3 Support Maintenance
4. System Design Approach…………………………………………………………………27-28
4.1 Top-Down Designing
4.2 Bottom –Up Designing
4.3 Following Approach
5
5. Low Level Design………………………………………………………………………………………29
6. Data Modeling………………………………………………………………………..25-27
6.1 List of Tables
6.2 Structure of Tables
7. Testing…………………………………………………………………………… 28-31
8. Input-Output Forms………………………………………………………………………….…32-54
8.1 Modularization Details
8.2 User Screenshots
8.3 Admin Screenshots
9. Future Scope……………………………………………………………………………….…55
10. Conclusion……………………………………………..……………………………..60
6
INTRODUCTION
Firstly, Online study is education that takes place over the Internet. It is often referred to as
“elearning” among other terms. However, online learning is just one type of “distance
learning” - the umbrella term for any learning that takes place across distance and not in a
traditional classroom. Distance learning has a long history and there are several types
available today,
Including:
• CD-ROM Courses: where the student interacts with static computer content.
• Mobile Learning: by means of devices such as cellular phones, PDAs and digital audio
Online study is catalyzing a pedagogical shift in how we teach and learn. There is a shift
away from top-down lecturing and passive students to a more interactive, collaborative
This point of view maintains that people actively construct new knowledge as they interact
with their environment. This is a student-centered approach in which students “co-create”
their. Introduction to Online Teaching and Learning Joshua Stern, Ph.D. 3 learning
experience. This approach empowers students as active learners instead of just passive
recipients absorbing information and reproducing it for standardized tests.
Constructionism:
7
Constructionism asserts that learning is particularly effective when constructing something
for others to experience. This can be anything from a spoken sentence or an internet
posting, to more complex things like a painting or a presentation. For example, you might
read this page several times and still forget it by tomorrow - but if you were asked to
explain these ideas to someone else in your own words, or produce a slideshow that
explained these concepts, you would gain a deeper understanding that is more integrated
into your own ideas.
Collaboration:
As an instructor, you focus on the experiences that would best generate learning from the
learner's point of view, rather than just publishing and assessing the information you think
they need to know. Each participant in a course can and should be a teacher as well as a
learner. Your job changes from being the sole source of knowledge, to being a guide and
role model. You connect with students in ways that address their own learning needs by
moderating discussions and activities in a way that collectively leads students towards the
larger learning goals of the class.
8
Overview of Organization
PNP Intech is a complete IT solutions company, providing software development, Website
development, Training and IT services. We are an entity that is focused to provide 100%
satisfaction to our client and anticipate that we will be your preference if when you are
going to promote your business as well as company. We provide the latest technology and
most innovative solutions, allowing us to give our customers the best service possible. We
develop web-sites and web based applications, our area of expertise includes Web Design &
Maintenance, Flash based Websites, Web application development, E-commerce, 2D-3D
animation, Search Engine Optimization(SEO), Content Writing.
PROBLEM DEFINITION
In this section we shall discuss the limitation and drawback of the existing system that
forced us to take up this project. Really that work was very typical to manage the daily
errors free records and adding or removing any node from server. This problem produces a
need to change the existing system. Some of these shortcomings are being discussed below:
Low Functionality
With the existing system, the biggest problem was the low functionality. The
problem faced hampered the work. For small task like adding any new node to
server or deleting a node or keeping daily record we have to appoint minimum two
or three employee.
In the existing system, humans performed all the tasks. As in the human tendency,
error is also a possibility. Therefore, the inputs entered by the person who is
working in the Company, in the registers may not be absolutely foolproof and may
be erroneous. As a result of wrong input, the output reports etc.will also be wrong
which would in turn affect the performance.
Portability Problem
9
System that existed previously was manual. As a result, the system was less
portable. One has to carry the loads of many registers to take the data from one
place to another. A big problem was that the system was less flexible and if we
wanted to calculate yearly or monthly maintenance report or efficiency report, then
it was a big headache.
Security-
Security concerns were also one of the motives of the Company for the need of
software. In the registers, the data is not secure as anybody can tamper with the
data written in the registers. While in this software, just a password makes it
absolutely secure from the reach of unauthorized persons.
Data Redundancy
In the case of manual system, the registers are maintained in which, a lot of data is
written.
Processing Speed
Manual Errors
When a number of tough tasks are prepared by the humans like preparation of
reports, performing long calculation then some human error are obvious due to a
number of factors like mental strain, tiredness etc. But as we all know that computer
never get tired irrespective of the amount of work it has to do. So this software can
nullify the probability of manual error that improve the performance.
10
Complexity in Work
PROPOSED SYSTEM
The development of this new system contains the following activities, which try to develop
on-line application by keeping the entire process in the view of database integration
approach.
Secure registration and profile management facilities for Customers.
Browsing through the e-Mall to see the items that are there in each category of
products like Apparel, Kitchen accessories, Bath accessories, Food items etc.
Creating a Shopping cart so that customer can Shoppe ‘n’ no. of items and checkout
finally with the entire shopping cart
Customers should be able to mail the Shop about the items they would like to see in
the Shop
Secured mechanism for checking out from the Shop( Credit card verification
mechanism)
Uploading ‘Most Purchased’ Items in each category of products in the Shop like
Apparel, Kitchen accessories, Bath accessories, Food items etc.
SYSTEM ANALYSIS
Identification of needs:-
11
Social and economic factor: a wave of social and economic changes often follows in the
wake of the new technology. New opportunities may arise to improve on a production
process or to do something that was not previously possible. Changes in the ways
individuals are organized into groups may then be necessary, and the new groups may
complete for economic resources with established units.
Technological factor: people have never before in a time when the scope of scientific
inquiry was so broad, so when the speed of applying the new technology accounts for many
changes in the organization.
High level decisions and operating processes: in response to technological, socio-
economical factors, top level managers may decide to recognize operations and introduce
new products. To deal with these needs, people commonly seek new modified information
to support the decision. When that happens, then they obtain turn to a computer system for
help the information users and data processing specialist then work together to complete a
series of steps in a system study to produce output results to satisfy information needs.
Feasibility Study: -
2. Technical Feasibility:
The current system is built on user interface environment using SQL SERVER 2005 and
ASP.Net which will provide a good and enhanced working environment.
Provides a user friendly environment.
Windows OS and ASP.NET software are easily available and easyto Interact.
3. BehaviouralFeasibilty:
During the onsite review of the current system the client showed a positive approach
towards the change over. Any further change in the current system will be accepted
smoothly, as this new developing system is based on GUI interface.
4. Alternate Solution:
Right now we are implementing this system using MS SQL SERVER2005 as backend. It can
be structured using MS access or ORACLE8 or above.
13
5. Risk Analysis :
Risk identification:
Technical risk: - In this project, the only risk can arise if some change occurs in the
technical requirements of the management. As per the requirement, we have taken
ASP.NET as technology for system development.
Software Tools:-
Platform:-
Software Requirement:-
14
Hardware Tools:-
RAM : 2 GB RAM
HDD : 160 GB
Request Approval:-
Request approval is the third phaseofsystem development lifecycle. Request approval is
the phase in whichalltherequirementswhichwouldbeprovide in the system arestated. The
request approval is a sort of agreement between theclient and the companywhich is
buildingthis software. Both the parties should be mutuallyagreed on the stated
requirements.
SystemAnalysis:-
System analysisisthephasefollowingthephaseoftherequest approval.In this phasewetend
to analyzetheoverallsystemwhichwehavetobuild.System analysisis the crucial part in
SDLC.
SystemDesign:-
System design means thedesigningofthesystem. TheSystemcan bedone in
eitherofthefollowingtwoways:-
15
Coding:-
Testing:-
Implementation:-
Parallel Conversion
Direct Conversion Approach
Pilot Conversion Approach
PhaseIn Conversion Approach
Maintenance: -
Merelydevelopingthesystemisnotimportantbutalsomaintenanceis important.
Thecompanythat has builtthesystemprovidesforsometimefreeofcost
maintenancetotheclient and after that period it is usuallyapaid service.
16
Process Description:-
Gantt charts mainly used to allocate resources to activities. The resources allocated to
activities include staff, hardware, and software. Gantt charts (named after its developer
Henry Gantt) are useful for resource planning. A Gantt chart is special type of bar chart
where each bar represents an activity. The bars are drawn along a timeline. The length of
each bar is proportional to the duration of the time planned for the corresponding activity.
Gantt chart is a project scheduling technique. Progress can be represented easily in a Gantt
chart, by coloring each milestone when completed. The project will start in the month of
January and end after 4 months at the beginning of April.
17
PROJECT MODEL USED
Iterative Enhancement Model:-
This model has the same phases as the waterfall model, but with fewer restrictions.
Generally the phases occur in the same order as in the waterfall model, but they may be
conducted in several cycles.
Useable product is released at the end of the each cycle, with each release providing
additional functionality. Customers and developers specify as many requirements as
possible and prepare a SRS document. Developers and customers then prioritize these
requirements. Developers implement the specified requirements in one or more cycles
of design, implementation and test based on the defined priorities.
18
The procedure itself consists of the initialization step, the iteration step, and the
Project Control List. The initialization step creates a base version of the system. The
goal for this initial implementation is to create a product to which the user can react. It
should offer a sampling of the key aspects of the problem and provide a solution that is
simple enough to understand and implement easily. To guide the iteration process, a
project control list is created that contains a record of all tasks that need to be
performed. It includes such items as new features to be implemented and areas of
redesign of the existing solution. The control list is constantly being revised as a result
of the analysis phase.
The iteration involves the redesign and implementation of iteration is to be simple,
straightforward, and modular, supporting redesign at that stage or as a task added to
the project control list. The level of design detail is not dictated by the iterative
approach. In a light-weight iterative project the code may represent the major source
of documentation of the system; however, in a critical iterative project a
formal Software Design Document may be used. The analysis of iteration is based upon
user feedback, and the program analysis facilities available.
PHASES:-
Introduction:-
DFD is anacronym for thewordData FlowDiagram. DFD is pictorial representation of
thesystem. DFD is agraphical representation ofthe―flow‖of data through the information
system. DFD arealso used forthe visualization ofdata processing (structured design). ADFD
provides no information about thetimings of theprocess,or about whetherprocess will
operate in parallel or sequence. DFD is an important technique for modeling system’s high-
level detailbyshowing how input dataistransformed tooutput results
throughasequenceoffunctional transformations. DFD revealrelationships among between
the various components in aprogram or system.Thestrength of DFD lies in the fact that
usingfewsymbols we are able to express program design in an easiermanner. ADFD can
beusedstorepresentthe following:-
20
External Entitysendingand receivingdata.
Process that changethedata.
Flow ofdatawithin the system.
Data Storagelocations.
UsesofDFD:-
0-Level DFD:-
Reg./login Reg./login
Online
Customer Matrimoni Admin
Accept/ Accept/
Reject al Portal reject
SOFTWAREREQUIREMENT SPECIFICATION
21
Non-functional requirements are requirements which impose constraints on the design or
implementation (such as performance engineering requirements, quality standards, or
design constraints).Requirements are a sub-field of software engineering that deals with
the elicitation, analysis, specification, and validation of requirements for software.
The software requirement specification document enlists all necessary requirements for
project development. To derive the requirements we need to have clear and thorough
understanding of the products to be developed. This is prepared after detailed
communications with project team and the customer.
SUPPORTANDMAINTENANCE:-
One year free support for rectifying system bugs including front end and beck end will be
provided. During warranty period Software Engineers will be responsible for removing
bugs and improving it. After one year support can be extended @ 20% of the total product
deployment cost.
The top - down designing approach started with major components of the system. It is a
stepwise refinement which starts from an abstract design, in each steps the design is
refined two or more concrete levels until we reach a level where no – more refinement is
possible or not needed.
22
Bottom – Up designing:
In bottom – up designing the most basic and primitive components are designed first, and
we proceed to higher level components. We work with layers of abstractions and
abstraction are implemented until the stage is reached where the operations supported by
the layer is complete.
In this project we are following Mixed Approach i.e. A combination of top – down and
bottom – up. We are developing some of the components using top – down designing
approach (e.g. the WebPages) and the some components in bottom – up designing
approach (e.g. the middle tier classes).
23
Low Level Design
Description: Low Level Design creation is one of the most important activities in the
development of any software product. The low level design document gives the design of
the actual software application. Low level design document is based on High Level Design
document. It defines internal logic of every sub module. A good low level design document
will make the application very easy to develop by the developer. An effective design
document results in very low efforts in developing a Software product.
Each project's low level design document should provide a complete and
detailed specification of the design for the software that will be developed in the project,
including the classes, member and non-member functions, and associations between
classes that are involved.
The low level design document should contain a listing of the declarations of all the classes,
non-member-functions, and class member functions that will be defined during the
subsequent implementation stage, along with the associations between those classes and
any other details of those classes (such as member variables) that are firmly determined by
the low level design stage. The low level design document should also describe the classes,
function signatures, associations, and any other appropriate details, which will be involved
in testing and evaluating the project according to the evaluation plan defined in the
project's requirements document.
TESTING
Testing is the integral part of any System Development Life Cycle insufficient and
interested application tends to crash and result in loss of economic and manpower
investment besides user’s dissatisfaction and downfall of reputation.
24
“Software Testing can be looked upon as one among much process, an organization
performs, and that provides the last opportunity to correct any flaws in the developed
system. Software Testing includes selecting test data that have more probability of giving
errors.” The first step in System testing is to develop the plan that all aspect of system
.Complements, Correctness, Reliability and Maintainability.
Software is to be tested for the best quality assurance, an assurance that system meets the
specification and requirement for its intended use and performance.
System Testing is the most useful practical process of executing the program with the
implicit intention of finding errors that makes the program fail.
Types of Testing:
Testing against specification of system or component. Study it by examining its inputs and
related outputs. Key is to devise inputs that have a higher likelihood of causing outputs that
reveal the presence of defects. Use experience and knowledge of domain to identify such
test cases. Failing this a systematic approach may be necessary. Equivalence partitioning is
where the input to a program falls into a number of classes, e.g. positive numbers vs.
negative numbers. Programs normally behave the same way for each member of a class.
Partitions exist for both input and output. Partitions may be discrete or overlap. Invalid
data (i.e. outside the normal partitions) is one or more partitions that should be tested.
Internal System design is not considered in this type of testing. Tests are based on
requirements and functionality.
This type of test case design method focuses on the functional requirements of the
software, ignoring the control structure of the program. Black box testing attempts to find
errors in the following categories:
25
Incorrect or missing functions.
Interface errors.
Performance errors.
26
This testing is based on knowledge of the internal logic of an application’s code. Also
known as a Glass Box Testing .Internal software and code working should be known for
this type of testing. Tests are based on coverage of code statements, branches, paths,
conditions.
Unit Testing:
Unit testing concentrates on each unit of the software as implemented in the code. This is
done to check syntax and logical errors in programs. At this stage, the test focuses on each
module individually, assuring that it functions properly as a unit. In our case, we used
extensive white-box testing at the unit testing stage.
A developer and his team typically do the unit testing do the unit testing is done in parallel
with coding; it includes testing each function and procedure.
Integration Testing:
27
Functional Testing:
This type of testing ignores the internal parts and focus on the output is as per
requirement or not .Black box type testing geared to functionality requirements of an
application.
System Testing:
Entire system is tested as per the requirements. Black box type test that is based on overall
requirement specifications covers all combined parts of a system.
End-to-End Testing:
Regression Testing:
28
Acceptance Testing:
Normally this type of testing is done to verify if system meets the customer specified
requirements. User or customers do this testing to determine whether to accept
application.
Performance Testing:
Term often used interchangeably with “stress” and “load” testing, To check whether system
meets performance requirements, Used different performance and load tools to do this.
Alpha Testing:
In house virtual user environment can be created for this type of testing. Testing is done at
the end of development .Still minor design changes may be made as a result of such testing.
Beta Testing:
Testing typically done by end-users or others. This is final testing before releasing
application for commercial purpose.
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
usingSystem.Data.SqlClient;
usingSystem.Configuration;
usingSystem.Data;
29
/// <summary>
/// Summary description for dbmanager
/// </summary>
public class dbmanager
{
publicdbmanager()
{
//
// TODO: Add constructor logic here
//
}
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["bandhan"].ToString());
publicbooliud(string query)
{
SqlCommandcmd = new SqlCommand(query, con);
try
{
con.Open();
cmd.ExecuteNonQuery();
return true;
}
catch (Exception)
{
return false;
}
finally
{
con.Close();
}
publicDataTableselectcmd(string query)
{
DataTabledt = new DataTable();
SqlDataAdapter da = new SqlDataAdapter(query, con);
da.Fill(dt);
returndt;
}
30
EmailSender.cs
using System;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Web;
using System.Net; // for network
usingSystem.Net.Mail; //for mail
/// <summary>
/// Summary description for EmailSender
/// </summary>
public class EmailSender
{
publicEmailSender()
{
//
// TODO: Add constructor logic here
//
}
public string SendTO { get; set; }
public string Subject { get; set; }
public string MessageBody { get; set; }
public string SendToCC { get; set; }
public string UserName { get; set; }
public string Password { get; set; }
publicboolSendMyEmail()
{
SmtpClient client = new SmtpClient();
MailMessagemsg = new MailMessage();
MailAddress from = new MailAddress(UserName);
MailAddress to = new MailAddress(SendTO);
client.EnableSsl = true;
client.Host = "Smtp.gmail.com";
client.UseDefaultCredentials = false;
client.Port = 587;
client.Credentials = nc;
client.Send(msg);
return true;
}
}
32
User Screenshots:
HomePage
About Us:
33
Registration:
34
Login:
35
Latest Study Material:
36
Trainer Login:
37
Contact:
38
Services:
39
40
Admin Screenshots:
Dashboard:
Al lUsers:
41
Send email:
42
Send Msg:
43
Notification:
44
Enquiry:
45
Pwd:
46
Logout :
47
48
CODINGS:-
Home.aspx:
49
</div>
</div>
<div class="item">
<imgsrc="images/c2.jpeg">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<imgsrc="images/c3.jpeg">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<imgsrc="images/c4.jpeg">
<div class="carousel-caption">
</div>
</div>
<div class="item">
<imgsrc="images/c5.jpeg">
<div class="carousel-caption">
</div>
</div>
50
<div class="item">
<imgsrc="images/c6.jpeg">
<div class="carousel-caption">
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<h1>Welcome to Study Material- E-Learning</h1>
</div>
</div>
51
</asp:Content>
<%-- --%>
About.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/GeneralMaster.master"
AutoEventWireup="true" CodeFile="About.aspx.cs" Inherits="About" %>
p{
font-size:25px;
color:gray;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" Runat="Server">
<div class="row">
<div class="col-sm-12">
<div class="col-sm-4 link text-center">
52
<h1 style="color:#800000;">ABOUT PNP</h1>
<p>
</p>
</div>
<div class="col-sm-4 link text-center">
<h1 style="color:#800000;">PNP Study Material</h1>
<p>
This website provides latest study material for latest Market IT technologies for
Computer Science and Information Technology engineering students. Here you can get e-
book, Videos and all type of study material for free.
</p>
</div>
</div>
</div>
</div>
</asp:Content>
53
Contact.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/GeneralMaster.master"
AutoEventWireup="true" CodeFile="contact.aspx.cs" Inherits="contact" %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" Runat="Server">
<div class="row">
<div class="col-sm-12">
<div class="col-sm-6">
<h1 class="text-center"><span class=" glyphiconglyphicon-user "></span>Contact
us</h1>
<div class="form-group">
<span class="glyphion-user"></span>
<label>Name</label>
<asp:TextBoxrunat="server" ID="Textname" CssClass="form-control"></asp:TextBox>
</div>
<div class="form-group">
<label>Email</label>
<asp:TextBoxrunat="server" ID="TextEmail" CssClass="form-control"></asp:TextBox>
</div>
54
<div class="form-group">
<label>Mobile</label>
<asp:TextBoxrunat="server" ID="TextMobile" CssClass="form-control"></asp:TextBox>
</div>
<div class="form-group">
<label>Message</label>
<asp:TextBoxrunat="server" ID="TextMessage" CssClass="form-control"></asp:TextBox>
</div>
<div class="form-group">
<asp:Button ID="Button1" runat="server" Text="Login" OnClick="Button1_Click"
CssClass="btnbtn-success" />
</div>
<ul>
<li>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3607.36014692294
07!2d79.87022811441967!3d25.292101234051525!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!
4f13.1!3m3!1m2!1s0x3982ccdfa5523521%3A0x27d29ec56b57d43c!2sGovernment+Polyt
echnic+Mahoba!5e0!3m2!1sen!2sin!4v1502687254960" width="600" height="450"
style="border:0"></iframe>
</li>
</ul>
</div>
<div class="col-sm-6">
<imgsrc="images/man-image-1.png" />
55
</div>
</div>
</div>
</asp:Content>
Login.aspx
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="maincontent" Runat="Server">
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-6">
56
<h1 class="text-center"><span class="glyphiconglyphicon-lock" ></span>Login</h1>
<div class="form-group">
<label>Email</label>
<asp:TextBoxrunat="server" ID="TxtEmail" CssClass="form-control"
TextMode="Email"></asp:TextBox>
</div>
<div class="form-group">
<label>Password</label>
<asp:TextBoxrunat="server" ID="TextPassword" CssClass="form-control"
TextMode="Password"></asp:TextBox>
</div>
<div class="form-group">
<h3 class="text-center">ForgetPassword</h3>
</div>
<div class="form-group">
<asp:Button ID="Button1" runat="server" Text="Login" CssClass="btnbtn-success"
OnClick="Button1_Click"/>
</div>
</div>
<div class="col-sm-3"></div>
</div>
</asp:Content>
57
Latest study material.aspx
<div class="row">
<div class="col-sm-12">
<div class="col-sm-1"></div>
<div class="col-sm-4">
<imgsrc="images/f0.jpg" />
<h3 style="color: #00FF00; font-style: italic"></h3>
<p style="color: #003399">New smart window technology that can tint glass changing if
from
fully transparent to dark in less than 1 minute,could help cut the custs heating and cooling
building by up to
20 present,according to a new study,
</p>
</div>
<div class="col-sm-2"></div>
<div class="col-sm-4">
<imgsrc="images/f1.jpg" />
<h3 style="font-style: italic; color: #FF0000"></h3>
<p>
58
</p>
</div>
<div class="col-sm-1"></div>
</div>
</div>
<div class="col-sm-2"></div>
<div class="col-sm-4">
<imgsrc="images/f3.jpg"style="height:300px; width:250px;" />
<h3 style="font-style: italic; color: #0000FF">Govt Polytechnic Mahoba Student</h3>
</div>
<div class="col-sm-1"></div>
</div>
<div class="row"style="height:10px;"></div>
</asp:Content>
59
Registration.aspx
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-6">
<h1 class="text-center"><span class="glyphiconglyphicon-info-sign"
></span>Registration</h1>
<div class="form-group">
<label>Enter Name</label>
<asp:TextBoxrunat="server" ID="TextName" CssClass="form-control"></asp:TextBox>
</div>
<div class="form-group">
<label>Enter Mobile</label>
<asp:TextBoxrunat="server" ID="TextMobile" CssClass="form-control"></asp:TextBox>
</div>
<div class="form-group">
<label>DOB</label>
60
<asp:TextBoxrunat="server" ID="TextDOB" CssClass="form-control"
TextMode="Date"></asp:TextBox>
</div>
<div class="form-group">
<label>Address</label>
<asp:TextBoxrunat="server" ID="TextAddress" CssClass="form-control"></asp:TextBox>
</div>
<div class="form-group">
<label>Email</label>
<asp:TextBoxrunat="server" ID="TextEmail" CssClass="form-control"
TextMode="Email"></asp:TextBox>
</div>
<div class="form-group">
<label>Password</label>
<asp:TextBoxrunat="server" ID="TextPassword" CssClass="form-control"
TextMode="Password"></asp:TextBox>
</div>
<div class="form-group">
<label>Select Gender</label>
<asp:DropDownListrunat="server" CssClass="form-control" ID="gender">
<asp:ListItem>--Select Gender--</asp:ListItem>
61
<asp:ListItem>male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:DropDownList>
</div>
<div class="form-group">
<label>Photo</label>
<asp:FileUpload ID="FileUpload1" runat="server" CssClass="form-control"/>
</div>
<div class="form-group">
<label>Captcha:</label>
<asp:TextBox ID="cap" runat="server" style="font-size:20px;font-family:'Comic Sans
MS';border:none;" />
</div>
<div class="form-group">
<label>Enter Captcha</label>
<asp:TextBoxrunat="server" ID="TextCaptcha" CssClass="form-control"></asp:TextBox>
</div>
<div class="form-group">
<asp:Button ID="Button1" runat="server" Text="Submit" CssClass="btnbtn-primary"
OnClick="Button1_Click" />
62
</div>
</div>
<div class="col-sm-3"></div>
</div>
</asp:Content>
Trainer Login:
<div class="row">
<div class="col-sm-3"></div>
<div class="col-sm-6">
<h1 class="text-center"><span class="glyphiconglyphicon-lock" ></span>Trainer
Login</h1>
<div class="form-group">
<label>Email</label>
<asp:TextBoxrunat="server" ID="TxtEmail" CssClass="form-control"
TextMode="Email"></asp:TextBox>
</div>
63
<div class="form-group">
<label>Password</label>
<asp:TextBoxrunat="server" ID="TextPassword" CssClass="form-control"
TextMode="Password"></asp:TextBox>
</div>
<div class="form-group">
<asp:Button ID="Button1" runat="server" Text="Submit" CssClass="btnbtn-primary" />
</div>
</asp:Content>
Services:
64
<div class="col-sm-2"></div>
<div class="col-sm-4">
<imgsrc="images/f1.jpg" />
<h3 style="font-style: italic; color: #FF0000">Govt Polytechnic Mahoba IT-H.O.D</h3>
</div>
<div class="col-sm-1"></div>
</div>
</div>
<div class="col-sm-2"></div>
<div class="col-sm-4">
<imgsrc="images/f3.jpg"style="height:300px; width:250px;" />
<h3 style="font-style: italic; color: #0000FF">Govt Polytechnic Mahoba Student</h3>
</div>
<div class="col-sm-1"></div>
</div>
<div class="row"style="height:10px;"></div>
65
</asp:Content>
Admin Coding:
All Enquiry:
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<h1 class="text-center"><span>All Enquiry</span></h1>
<Columns>
<asp:CommandFieldShowSelectButton="True"></asp:CommandField>
<asp:BoundFieldDataField="Cid" HeaderText="Cid" ReadOnly="True"
InsertVisible="False" SortExpression="Cid"></asp:BoundField>
<asp:BoundFieldDataField="Cname" HeaderText="Cname"
SortExpression="Cname"></asp:BoundField>
<asp:BoundFieldDataField="Cmobile" HeaderText="Cmobile"
SortExpression="Cmobile"></asp:BoundField>
66
<asp:BoundFieldDataField="Cemail" HeaderText="Cemail"
SortExpression="Cemail"></asp:BoundField>
<asp:BoundFieldDataField="Cmessage" HeaderText="Cmessage"
SortExpression="Cmessage"></asp:BoundField>
<asp:BoundFieldDataField="Cdatetime" HeaderText="Cdatetime"
SortExpression="Cdatetime"></asp:BoundField>
</Columns>
</asp:GridView>
Add material:
<style>
.h {
text-align:center;
height:60px;
font-size:35px;
font-family:'Comic Sans MS';
color:red;
line-height:60px;
67
}
</style>
<link href="../css/bootstrap.css" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table class="nav-justified">
<tr>
<td>subject </td>
<td><br />
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>decsceription</td>
<td><br />
68
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>choose file</td>
<td><br />
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td> </td>
<td><br />
<asp:Button ID="Button1" runat="server" Text="ADD" BackColor="White"
BorderColor="#333300" ForeColor="#66FFFF" />
</td>
</tr>
</table>
</asp:Content>
All Users:
69
<%@ Page Title="" Language="C#" MasterPageFile="~/admin/AdminZone.master"
AutoEventWireup="true" CodeFile="alluser.aspx.cs" Inherits="admin_alluser" %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<h1 class="text-center"><span>All Users</span></h1>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataKeyNames="id" DataSourceID="SqlDataSource1" AllowPaging="True"
AllowSorting="True">
<Columns>
<asp:CommandFieldShowSelectButton="True"></asp:CommandField>
<asp:BoundFieldDataField="id" HeaderText="id" ReadOnly="True" InsertVisible="False"
SortExpression="id"></asp:BoundField>
<asp:BoundFieldDataField="EnterName" HeaderText="EnterName"
SortExpression="EnterName"></asp:BoundField>
<asp:BoundFieldDataField="EnterMobile" HeaderText="EnterMobile"
SortExpression="EnterMobile"></asp:BoundField>
<asp:BoundFieldDataField="DOB" HeaderText="DOB"
SortExpression="DOB"></asp:BoundField>
<asp:BoundFieldDataField="Address" HeaderText="Address"
SortExpression="Address"></asp:BoundField>
70
<asp:BoundFieldDataField="Email" HeaderText="Email"
SortExpression="Email"></asp:BoundField>
<asp:BoundFieldDataField="Password" HeaderText="Password"
SortExpression="Password"></asp:BoundField>
<asp:BoundFieldDataField="SelectGender" HeaderText="SelectGender"
SortExpression="SelectGender"></asp:BoundField>
<asp:BoundFieldDataField="UploadPhoto" HeaderText="UploadPhoto"
SortExpression="UploadPhoto"></asp:BoundField>
</Columns>
</asp:GridView>
Logout :
Notification:
<style>
.h {
text-align:center;
height:60px;
font-size:35px;
font-family:'Comic Sans MS';
color:red;
line-height:80px;
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<div class="form-group">
<label for="exampleInputEmail1">Notification</label>
<asp:TextBoxrunat="server" ID="txtnotiffication" CssClass="form-
control"></asp:TextBox>
</div>
<asp:Buttonrunat="server" ID="Button1" Text="Button" OnClick="Button1_Click" />
</form>
</div>
<div class="col-sm-3"></div>
</div>
</asp:Content>
Send email:
<style>
.h {
text-align:center;
height:60px;
font-size:35px;
font-family:'Comic Sans MS';
color:red;
73
line-height:80px;
}
.auto-style1 {
width: 100%;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<form>
<div class="form-group">
74
</div>
<div class="form-group">
<table class="auto-style1">
<tr>
<td>To</td><br />
<td>
<asp:TextBox ID="txtto" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>Message</td><br />
<td>
<asp:TextBox ID="txtmessage" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>Subject</td><br />
<td>
<asp:TextBox ID="txtsubject" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td> </td><br />
<td>
<asp:Button ID="Button1" runat="server" Text="Send" OnClick="Button1_Click" />
</td>
</tr>
</table>
</div>
</form>
75
</div>
</div>
</asp:Content>
Send sms:
<style>
.h {
text-align:center;
height:60px;
font-size:35px;
font-family:'Comic Sans MS';
color:red;
line-height:80px;
}
</style>
76
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<form>
<div class="form-group">
<label for="exampleInputEmail1">Mobile:</label>
<asp:TextBoxrunat="server" ID="txtmobile" CssClass="form-control"></asp:TextBox>
</div>
<div class="form-group">
<label for="exampleInputEmail1">Massage:</label>
<asp:TextBoxrunat="server" ID="txtmessage" CssClass="form-control"></asp:TextBox>
</div>
77
</asp:Content>
FUTURE SCOPE
CONCLUSION:
ACHIEVEMENTS:
The program achieved the main requirement which was to develop a website meant
forBandhan shopping. Given the amount of time on hand, and given the basic knowledge of
the front end & back end used, the site satisfies most of the basic requirements that it was
78
supposed and planned to fulfill, like, providing facilities for authentication, registration,
searching for products, using a shopping cart, placing orders, cancellation of orders,
calculation of total payable amount, providing options for means of payment, addition of
new products to the site, managing the delivery of products, a very basic view of account
details, and extraction of information from the database using queries, where the database
is created in MS SQL & is connected to the design of site using SqlDataSource, and the web
site has been designed using ASP.NET with all the coding done in Visual C#.
During the development of the project, not only did we learn the basic concept
behindBandhan shopping, but we also learnt many basic features and concepts of
ASP.NET& SQL and how the ASP.NET technology can enable one to develop web sites
and applications with very little hassle. The development period did give me some
confidence to put together some sites in my spare time!
The entire project was like a challenge to me. The concept itself was interesting, and it was
aggravated by the fact that it was my first-ever experience with Practical Training. Most of
the time was consumed by the development of logic and its application in the correct
manner. There were matters of concerns, and numerous new ideas coming up, time and
again, but at the end of it all, the problems, their solutions & the new ideas played a major
role in helping me develop a broad outlook towards how things work in the real world, and
everything I gained in the 30-day period, will certainly help me with the projects in the real
software world in the time to come.
LIMITATIONS:
The major limitation of the project is that the site is not connected to any financial
institution which almost all such sites are (unless they don’t provide for ‘credit card’ as a
means of payment) because credit card is undoubtedly the dominant method of payment
used to shopBandhan. However, in the project, the credit card is taken as a mode of
payment just to show how the credit card information is entered whenBandhan shopping
79
is carried out. Once the user enters his credit card details on shopping bazaar, a message is
displayed, that the details have been verified and his order has been registered if the details
are entered in the correct format (an arbitrary format is used with shopping bazaar). The
actual sites are connected to a financial institution and follow the code format used by
different credit card companies like, MasterCard, Visa etc. When a user enters a valid credit
card type and corresponding number & CVV, then, a modem sends out these details to the
institution. If funds are available, the transaction is approved almost instantaneously and
the ordered goods are delivered within a specified time frame.
APPENDICS:-
80
.NET Framework provides a rich set of class libraries. These include base classes, like
networking and input/output classes, a data library for data access, and classes for use by
programming tools, such as debugging services.
ADO.NET is Microsoft’s ActiveX Data Object (ADO) model for the .NET Framework.
ADO.NET is intended specifically for developing web applications.
The 4th layer of the framework consists of the windows application model and, in parallel,
the web application model. The Web application model-in the slide presented as ASP .NET
–includes Web Forms and Web Services .ASP.NET comes with built in Web forms controls,
which are responsible for generating the user interface. They mirror typical HTML widgets
like text boxes or buttons.
One of the obvious themes of .NET is unification and interoperability between various
programming languages. In order to achieve this; certain rules must be laid and all the
languages must follow these rules.
The CLR and the .NET Frameworks in general, however, are designed in such a way that
code written in one language can not only seamlessly be used by another language. Hence
ASP.NET can be programmed in any of the .net compatible language whether it is VB.NET,
C#, Managed C++ OR JSCRIPT.NET.
81
Conversion of (platform-independent code generated by compilers) to native,
platform-dependent code.
ADO.NET
ADO.NET is a set of libraries included with the Microsoft .NET Framework that help you
communicate with various data stores from .NET applications. The ADO.NET libraries
include classes for connecting to a data source, submitting queries, and processing results.
You can also use ADO.NET as a robust, hierarchical, disconnected data cache to work with
data off line. The central disconnected object, the DataSet, allows you to sort, search, filter,
store pending changes, and navigates through hierarchical data. The Dataset also includes a
number of features that bridge the gap between traditional data access and XML
development. Developers can now work with XML data through traditional data access
interfaces and vice-versa.
Microsoft Visual Studio .NET includes a number of data access features you can use to build
data access applications. Many of these features can save you time during the development
process by generating large amounts of tedious code for you. Other features improve the
performance of the applications you build by storing metadata and updating logic in your
code rather than fetching this information at run time. Believe it or not, many of Visual
Studio .NET’s data access features accomplish both tasks.
82
Microsoft SQL SERVER
83
This is a typical scenario for an Internet application. For example, a multithreaded server
application can run on a Microsoft® Internet Information Services (IIS) server and service
thousands of thin clients running on the Internet or an intranet. The server application uses
a pool of connections to communicate with one or more instances of SQL Server 2000. The
instances of SQL Server 2000 can be on the same computer as IIS, or they can be on
separate servers in the network.
In a two-tier client/server system, users run an application on their local computer, known
as a client application, that connects over a network to an instance of SQL Server 2000
running on a server computer. The client application runs both business logic and the code
to display output to the user, so this is sometimes referred to as a thick client.
84
available resources effectively, such as memory, network bandwidth, and disk I/O, among
the multiple users. Extremely large Internet sites can partition their data across multiple
servers, spreading the processing load across many computers, and allowing the site to
serve thousands of concurrent users.
Multiple instances of SQL Server 2000 can be run on a single computer. For example, an
organization that provides database services to many other organizations can run a
separate
instance.
85
available resources effectively, such as memory, network bandwidth, and disk I/O, among
the multiple users. Extremely large Internet sites can partition their data across multiple
servers, spreading the processing load across many computers, and allowing the site to
serve thousands of concurrent users.
Multiple instances of SQL Server 2000 can be run on a single computer. For example, an
organization that provides database services to many other organizations can run a
separate instance.
86
BIBLIOGRAPHY
87