You are on page 1of 35

1.

INTRODUCTON

1.1 MOTIVATION:

 The objective of this system is to makes the less paper work. And make the account
department more reliable.
 Provide better services to students and account department.

 Provide meaningful, consistent, and timely data and information to the management.
 We can easily find out the record of the student.

1.2 Why FEES MANAGEMENT:


Today the technology is fast advancing and it becomes the duty of a professional to utilize it
properly and make it available to the masses. Everything is computerized and online. For that
purpose fast, powerful and smaller computers are developed for commercial and scientific
applications. Lots of paper work done by account office to maintain the fees record. When
students come to know their fees record one have to search in papers. Which was reduced by this
fees management.

1.4 Challenges in FEES MANAGEMENT:


An analyst is responsible for performing following tasks:

 Gathered all facts about the present system.

 Studied strength and weakness of the current system.

 Determined “what” must be done to solve the problem.

 Prepared a functional specifications document.

 Designing ad in flash for the front page

9
Computer is useful in lot of fields like educational and private sectors. It needs different
software’s and application. So this project is working in the field that is beneficial for the
college. We can perform various tasks like we can see all the information of the college
online, upload and download papers and application forms, view exam and sessional results,
and discuss any problem online, future students can view the college details.

1.5 PROBLEM STATEMENT


The various problem faced by them are:-
Lot of manual work is to be done.
Manual working is more error prone.
Easily find out the fees record of the students.

1.6 PROBLEM OUTLINE


At the beginning we studied about the problems that are faced by the accountant, like fees
submission, find out records, and general info about students.
Requirement
At first we collected all the requirements from the college and account staff. Also talked to the
lectures concerned with it. We discussed about the problems and related topics to them.
Analysis
After collecting the data and information, we discussed about the real needs of Fees
Management. We analyzed the problem. And according to the needs we started framing of our
project.
Designing
After analyzing the needs we decided no of forms which we need and required forms suitable for
our project. After this we started the designing of forms i.e. about their lookup or appearance.
And according to the forms required we designed our database for storing the huge record.
Coding
According to the design of forms database tables we applied the required logic to make the form
working. First we selected the logic and put sql queries in it. After this we implemented it into
the form.

10
Testing & Cost estimation
After coding phase i.e. applying the logic we tested each form whether there are working or not.
First we tested individually each form, then integrated each form and then tested further.
And according to the working hrs and labor required we calculate the cost of the project. By
putting this in to cost estimation formula.

2.REQUIREMENT ANALYSIS AND RELATED WORK

2.1 SYSTEM ANALYSIS

System Analysis refers into the process of examining a situation with the intent of improving it
through better procedures and methods. System design is the process of planning a new system
to either replace to or compliment an existing system. But before any planning is done, the old
system must be thoroughly understood and the requirements determined. System analysis is
therefore the process of gathering and interpreting facts, diagnosing problems and using the
information to re-comment improvements in the system. In other words system analysis means a
detailed explanation or description.

2.2 IDENTIFICATION OF NEED

The first step of System Analysis process involves the identification of need. The analyst meets
with the customer and end user (if different from customer). Identification of need is the starting
point in the evolution of a Computer based system. The analyst assists the customer in defining
the goals of the system viz:
 What information will be produced?
 What information is to be provided?
 What functions and performance are required?

Now the basic question that arises in identification of need is “Why this system?”

11
With the advent of demanding applications and need of application we need a real time system,
which can help us view information about college online. Future Student can view all info and
facility, and current student can view their results and records online and discuss their problems
with others.

2.4 Hardware And Software Requirements


 Operating System: Windows XP with IIS.

The system will be built on windows compatible environment. The


application will be web based developed using .NET technology.

 Front-end: Microsoft Visual studio 2005


 Back-end: Microsoft SQL Server 2000, 2005, MS Access 2000.

The system requires SQL Server and MS Access as a database;


however the system will be ODBC complaint to work on any
standard database.

 Macromedia Flash 8.0


 Processor: P-IV (Recommended)
 Storage Capacity: 40Gb (Recommended)
RAM: 256Mb(Required), 1Gb (Recommended)

2.5 Solution Methodology


We are using the Asp.Net for the designing of our Application and Sql server 2000/2005 and MS
Access in our project. We use the method to generate the College Website.

2.6 Related Work done

12
By using Asp.Net we are able to develop Website in easier manner. We learnt a lot of e papers
online and help to learn coding from e books. We have studied a lot of books and after analyzing
we embedded features in Asp.Net. Asp.Net is platform independent language so is very friendly
to the user and we also use it because it is compatible with almost all servers used today.
  Whether your goal is to create a small utility for yourself or your work group, a large enterprise
– wide system, or even distributed applications spanning the globe via the Internet.

3.PROBLEM DESIGNING
3.1 DESIGN OBJECTIVES

The goal of the design phase is to transform the requirements specification into a structure that is
suitable for implementation in some programming language. In technical terms, through the
design phase we derive the software architecture from the SRS document. Currently, two distinct
design approaches are being followed in different industries: traditional design approach and
object-oriented design approach.
The primary objective of the design, of course is to deliver the requirements as specified in the
feasibility report. In general, the following design objectives should be kept in mind:

(a) Practicality: The system must be stable and can be operated by people with
average intelligence.

(b) Efficiency: This involves accuracy, timeliness and comprehensiveness of the


system output.

(c) Cost: It is desirable to aim for a system with a minimum cost subject to the
condition that it must satisfy all the requirements.

(d) Flexibility: The system should be modifiable depending on the changing need of
the user. Such modifications should not entail extensive reconstructing or
recreation of software. It should also be portable to different computer systems.

13
(e) Security: This is very important aspect of the design and should cover areas of
hardware reliability, fall back procedures, physical security of data and provision
for detection of fraud and abuse.

3.2 STAGES OF PROJECT DESIGN


The stages are: -

 High-Level design, where the general approach is decided.


 Detailed low level design, which actually designs:-

 Procedures
 Form design

Designing starts with identification of alternate technical solutions, selecting the most suitable
and detailing it out. Specific hardware and software selections are done in this phase. The output
of the detailed design is used to program the system and test it out.
At the end of this phase, the system is actually ready to be construct.

3.3 DATA FLOW DIAGRAMS

LEVEL O DFD:

3.3.1 LOGIN:

User Details
Fees
USER Managemen USER
t ACCOUNT
Registration id

14
LEVEL 1 DFD

Fee
management
3.3.5. LEVEL 2 DFD Registration
Process

Add student
Database
record

Basic Login Add Fee


UID/
Registratio record
User PWD Database
n

View student
record
Database
Database

View Fee
record

3.4 DATABASE TABLES

3.4.1. STUDENT LOGIN:

Field Name Field Type


Uid Nvarchar
Password Nvarchar 15
Privileges Varchar
In this table we have the entries of the persons who have the authorization
for alteration in the website.
3.4.2. BASIC REGISTRATION:

Field Name Field Type


Username Varchar
Password Varchar
Confirm password Varchar
Email Varchar
Security Question Nvarchar
Security answer Nvarchar

In this table basic information of all the students have been entered for who
are in the college and we have the entries of students who are
authenticated to view the details.

3.4.3. CHANGE PASSWORD:


Field Name Field
Type
Password Varchar
New Password Varchar
Confirm New Password Varchar
In this table the user can change their password
by giving the old password and entering the new password

3.4.4 Add student record


Field Name Field Type
Id Int
Sname Varchar
Rollno varchar
Fname varchar
Address varchar
Total fee varchar
category varchar
16
In this table the record of the student is added

3.4.6. Fee submit


Field Name Field Type
Id Int
Invocie_no Int
Date Varchar
Name Varchar
Rollno Varchar
Fname Varchar
Address Varchar
Total fee Varchar
Balance fee Varchar
Category Varchar

17
4. IMPLEMENTATION

4.1 Platform used - ASP.net with C#

What is .Net Framework: .NET is a programming technology provided by Microsoft. It


provides us ability to quickly build, deploy, manage and use the software. It provides greater
security in web application. NET-connected solutions enable businesses to integrate their
systems more rapidly and in a more agile manner and help they realize the promise of
information anytime, anywhere, on any device.

.NET Framework supports these type of applications

 Console applications.
 Windows GUI applications (Windows Forms).
 ASP.NET applications.
 XML Web services.
 Windows services

What is ASP.NET?
ASP.NET is a technology supported by .NET Framework, allows us to build web applications
and web services. This technology also executes pages and sends the HTML format of the file to
the client. Applications for the mobile devices also can be developed in .NET framework using
ASP.NET.
ASP.NET works with scripted languages such as VBScript, JScript, Perlscript, and Python, as
well as compiled languages such as VB, VB .Net, C#, C, COBOL, Smalltalk, and Lisp. The new
framework uses the common language runtime (CLR); your language source is compiled into
Microsoft Intermediate Language code, which the CLR then executes.

When a request comes for an ASP.NET page then the server takes the request and passes it to the
ASP.NET runtime, which is a program that runs on the web server that's responsible for reading
the page and compiling it into a .NET class. This class is then used to produce the HTML that's

18
sent back to the user. Each time the page request does not compile the page until the pages get
changed.

The complete life cycle is illustrated in the given figure

Fig 4.1.1 The life cycle of the ASP.NET page

In my application I will use C# as the programming language with ASP.net.

Why ASP.Net

Website “College Website” which is going to be developed equipped with so many features and
to develop all these features in a very short span of time a fast development tool is required.
ASP.NET offers several important advantages over the traditional Web development models
which suites to the project. The important features of ASP.NET are:

19
1. XML Web Services

ASP.NET supports XML Web services. An XML Web service is a component containing
business functionality exposed through Internet protocols. An XML Web service enables
applications to exchange information between Web-based applications using standards like
HTTP and XML messaging to move data across firewalls.

2. State Management Facilities

ASP.NET provides intrinsic state management functionality that allows you to save and
manage application-specific, session-specific, and developer-defined information. This
information can be independent of any controls on the page. It can be shared between pages.

3. Application Events

ASP.NET allows you to include application-level event-handling code in the optional


global.asx file. You can use application events to manage application-wide information and
perform orderly application startup and cleanup tasks.

4. Compilation

All ASP.NET code, including server scripts, is compiled, which allows for strong typing,
performance optimizations, and early binding, among other benefits.

5. Configuration

ASP.NET configuration settings are stored in XML-based files. Since these XML files are
ASCII text files, you can read and modify them, so it is simple to make configuration
changes to your Web applications.

6. Deployment

Visual Studio provides a simplified mechanism for deploying applications to local or remote
servers. You can install files by simply copying them to your specified application
directories, or by using a more specialized and configurable deployment project.

20
7. Security

ASP.NET provides default authorization and authentication schemes for Web applications.
You can easily remove, add to, or replace these schemes depending upon the needs of your
application.

Comparison between ASP.NET, ASP, PHP and JSP is given below in the comparison table.

Comparison ASP.NET ASP PHP JSP

1. Platform Windows Windows Any Any


2. Platform to run IIS IIS PHP 5 Apache
3. Event Driven Programming Yes No No No
support
4. Multiple Language Support Yes No No No
5. Execution of the pages Compiled Interpreted Interpreted Interpreted
6. Object Oriented Features Yes No Yes Yes
7. Advanced Tool Support Yes No No No
8. Code cleanness High Low Low Low
9. Execution Time High Low Low Low
10 Debugging Easy Difficult Difficult Difficult

Conclusion: After a deep research it is concluded that ASP.NET is the best suited for this project
because it is having all these facilities which are required to develop an efficient, effective and
dynamic featured website very easily. Its easy to debug environment, object oriented features,
advanced tool support will help developer to develop the project.

That’s why ASP.NET is best suited for the project “college Website”

21
4.2 CODING
Home page:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="homet" Title="home
page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<span style="color: black"><span style="font-size: 12pt">
The polytechnic education caters to the need of Industr/Govt.
Departments/Public
Sector Undertakings/ Defence/Railways and all other employers by providing
skilled
technicians, supervisors and middle level Technical training man-power. In
the coming
years there is going to be greater demand for skilled man-power, not only
in the
service sector but also in the core manufacturing industry. Indian
Technicians have
already demonstrated their worth globally<font
size="3">.</font></span></span><p align="center">
<img alt="" height="215"
src="http://bitmkurukshetra.in/UserFiles/Image/31(1).jpg"
width="300" /></p>
<p align="left">
<br />
<strong><font size="3"><u><span style="color: black">Extra
Curricula's</span></u></font></strong></p>
<p align="left">
<font size="3"><span style="color: black">The multi-disciplinary
curriculum is dynamic, flexible and need based
which aims to deliver skill oriented and broad based education,
integrating with
IT and modern industry practices for an all round development of
future technicians
having competencies in relevant fields.</span></font></p>
<p align="left">
<font size="3"><span style="color: black">&nbsp; &nbsp; &nbsp;&nbsp;
seminars, workshops, technology demostrations,
guest lectures, inndustry interactions and project works firmly
root the diploma
students to the real world by proving an overview and orientation
to the world of
Technology. </span></font>
</p>
<p align="left">
<font size="3"><span style="color: black">&nbsp; &nbsp; &nbsp;&nbsp;
It provides for an enhanced environment for
thingking and learning.</span></font></p>
</asp:Content>

22
Log in page:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="log_in" Title="Pls..
Login to Continiue" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table width=100%>
<tr>
<td>
Please Login to Continue......</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
<asp:Login ID="Login1" runat="server" Width="251px">
</asp:Login>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</asp:Content>

About us page:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="about us.aspx.cs" Inherits="about_us"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table border="0" cellpadding="0" cellspacing="1" class="MsoNormalTable"
style="width: 103%;
height: 384px; mso-cellspacing: .7pt">
<tr style="mso-yfti-irow: 0; mso-yfti-firstrow: yes">
<td style="border-right: #f0f0f0; padding-right: 0.75pt; border-
top: #f0f0f0; padding-left: 3.75pt;
padding-bottom: 0.75pt; border-left: #f0f0f0; width: 610px;
padding-top: 0.75pt;

23
border-bottom: #f0f0f0; height: 17px; background-color:
transparent">
<p class="MsoNormal" style="margin: 0in 0in 0pt">
<b><span style="font-size: 16.5pt; color: #8b0007; font-
family: Arial">About the institute
<?xml namespace="" ns="urn:schemas-microsoft-
com:office:office" prefix="o" ?>
<o:p></o:p>
</span></b>
</p>
</td>
</tr>
<tr style="mso-yfti-irow: 1; mso-yfti-lastrow: yes">
<td style="border-right: #f0f0f0; padding-right: 0.75pt; border-
top: #f0f0f0; padding-left: 3.75pt;
padding-bottom: 0.75pt; border-left: #f0f0f0; width: 610px;
padding-top: 0.75pt;
border-bottom: #f0f0f0; height: 405px; background-color:
transparent">
<p align="center" style="text-align: center">
<strong><u><span style="font-size: 18pt; color: #535252;
font-family: Arial">About the
institute….</span></u></strong><span style="font-size:
8.5pt; color: #535252; font-family: Arial"><o:p></o:p></span></p>
<p>
<span style="color: #535252; font-family: Arial">
<?xml namespace="" ns="urn:schemas-microsoft-com:vml"
prefix="v" ?>
<v:shapetype id="_x0000_t75" coordsize="21600,21600"
filled="f" o:preferrelative="t"
o:spt="75" path="m@4@5l@4@11@9@11@9@5xe"
stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if
lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0
0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600
pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0
0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600
pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600
pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path
o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v:path><o:lock
aspectratio="t" v:ext="edit"></o:lock></v:shapetype>
<v:shape id="_x0000_i1025" alt="" style="width: 300pt;
height: 214.5pt" type="#_x0000_t75"><v:imagedata
o:href="http://bitmkurukshetra.in/UserFiles/Image/56.jpg"
src="file:///C:\Users\rana\AppData\Local\Temp\msohtml1\01\clip_image001.jpg"><
/v:imagedata></v:shape>
<span style="font-size: 12pt">Bharat Institute of
Technical and Management (BITM) has
been established in the year 2008 under the aegis
of <strong><span style="font-family: Arial">
Nav Durga Educational Social Walfare &amp;
Charitable Society, Kurukshetra</span></strong>
with a mission of imparting quality technical
education in various disciplines of
Engineering &amp; Technology for the walfare of
Technical and Social Community.
The acres amidst lush green surroundings. The
Institute’s starategic plan has moved

24
forward on the principle that an intellectually
stimulating environment and a lively,
engaging campus life will attract outstanding
students and help them realize their
fullest potential. With an aim to give students an
extraordinary technical experience.
This principle has always influenced our academic,
residential &amp; co- curricular
planning.
<br />
The Institutes boasts of its highly qualified
faculty, well equipped labs, an extensive
library an state-of-the-art computer centre, all
of which lead to a very enjoyable
and invaluable experience for the students as well
as faculty. </span></span>
<span style="color: #535252; font-family: Arial">
<o:p></o:p>
</span>
</p>
</td>
</tr>
</table>
<p class="MsoNormal" style="margin: 0in 0in 0pt">
<o:p><SPAN style="FONT-SIZE: 12pt; COLOR: #000000; FONT-FAMILY: Times
New Roman">&nbsp;</SPAN></o:p>
</p>
</asp:Content>

Master Page:
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>

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


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

<html xmlns="http://www.w3.org/1999/xhtml" >


<head runat="server">
<title>Untitled Page</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
<table width="100%">
<tr>
<td colspan="3" style="color: white; height: 188px;
background-color: #00ccff; text-align: center">
<img src="2.gif" /></td>
</tr>
<tr>
<td style="color: white; background-color: #00ccff; text-
align: center; height: 109px;" colspan="3">

25
<span style="font-size: 24pt; color: saddlebrown"><span>
<strong style="background-color: #0000ff"><span
style="font-family: Lucida Console">
<span><span style="font-family: Arial CYR"><span
style="font-size: 36pt"><span style="background-color: #00ccff">
BHARAT POLYTECHNIC<br />
Fees Management</span><br />
</span></span>
</span>
<span style="font-size: 32pt; background-color:
#0000ff"></span></span></strong></span></span></td>
</tr>
<tr>
<td style="background-color: #00ccff; height: 350px; width:
3px;">
<span style="font-size: 16pt; color:
#330033"><strong><em>Welcome </em></strong></span>
&nbsp;<asp:LoginName ID="LoginName1" runat="server" Font-
Bold="True" Font-Italic="True"
Font-Size="Large" ForeColor="#400040" Height="25px"
Width="144px" />
<asp:Menu ID="Menu1" runat="server" Font-Bold="True" Font-
Italic="True" Font-Size="20pt"
ForeColor="MintCream" Height="382px"
OnMenuItemClick="Menu1_MenuItemClick" Style="color: white"
Width="239px">
<Items>
<asp:MenuItem Text="Home" Value="Home"
NavigateUrl="~/default.aspx"></asp:MenuItem>
<asp:MenuItem Text="Log in" Value="Log in"
NavigateUrl="~/login.aspx"></asp:MenuItem>
<asp:MenuItem Text="Fee submit" Value="New Item"
NavigateUrl="~/submit fee.aspx"></asp:MenuItem>
<asp:MenuItem Text="View detail" Value="New Item"
NavigateUrl="~/view detail.aspx"></asp:MenuItem>
<asp:MenuItem Text="Add student record" Value="New
Item" NavigateUrl="~/add student record.aspx"></asp:MenuItem>
<asp:MenuItem Text="view fees detail" Value="view
fees detail" NavigateUrl="~/view fees detail.aspx"></asp:MenuItem>
<asp:MenuItem NavigateUrl="~/about us.aspx"
Text="About us" Value="About us"></asp:MenuItem>
</Items>
</asp:Menu>
<asp:LoginStatus ID="LoginStatus1" runat="server" Font-
Bold="True" Font-Size="Large"
ForeColor="#400040" />
</td>
<td style="color: red; height: 350px; width: 731px;"
colspan="2">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
<strong><span style="font-size: 32pt"><span style="font-family:
Lucida Console"><span
style="color: #8b4513; background-color: #3399cc"></span><span
style="color: #8b4513;
background-color: #3399cc"></span></span></span></strong>
</asp:contentplaceholder>
</td>

26
</tr>
<tr>
<td style="background-color: #00ccff; text-align: center;"
colspan="3">
<span style="font-size: 16pt"><span><span style="color:
#ffffff"><strong>(Approved by AICTE
&amp; affiliated to state board of technical
education,HR)</strong><br />
11 KM. Milestone, Thanesar-Jhansa Road, Dhurala
(Chibba),Kurukshetra-136118(Hry.)<br />
</span>
</span><span style="font-size: 14pt; color: #ffffff">Ph:
01744-272665, 272565, 92156-47514,
92156-47515, 92152-39002, 98966-99901<br />
email-bitm.kurukshetra@gmail.com,
bharat.polytechnic@rediffmail.com<br />
Website: www.bitmkurukshetra.in</span></span></td>
</tr>
</table>
</div>
</form>
</body>
</html>
Add record page:

<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"


AutoEventWireup="true" CodeFile="add student record.aspx.cs"
Inherits="add_student_record" Title="studet record.." %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table width="100%" style="height: 285px">
<tr>
<td style="height: 26px; width: 157px;">
<span style="color: crimson; font-size: 12pt;"><strong><em>
<asp:Label ID="Label1" runat="server" Font-Bold="True"
Font-Italic="False" Font-Size="Large"
ForeColor="Red"
Text="Name"></asp:Label></em></strong></span></td>
<td style="height: 26px">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td>
<td style="height: 26px">
</td>
</tr>
<tr>
<td style="width: 157px">
<span style="color: black">
<asp:Label ID="Label2" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="Red"
Text="Roll no."></asp:Label></span></td>
<td>
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></td>
<td>
</td>
</tr>

27
<tr>
<td style="width: 157px">
<span style="color: black">
<asp:Label ID="Label3" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="Red"
Text="Father Name"
Height="8px"></asp:Label></span></td>
<td>
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td>
<td>
</td>
</tr>
<tr>
<td style="width: 157px">
<span style="color: black">
<asp:Label ID="Label4" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="Red"
Text="Address"></asp:Label></span></td>
<td>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox></td>
<td>
</td>
</tr>
<tr>
<td style="width: 157px">
<span style="color: black">
<asp:Label ID="Label5" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="Red"
Text="Total Fee"></asp:Label></span></td>
<td>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox></td>
<td>
</td>
</tr>
<tr>
<td style="width: 157px; height: 22px">
<span style="color: black">
<asp:Label ID="Label6" runat="server" Font-Bold="True"
Font-Size="Large" ForeColor="Red"
Text="Category"></asp:Label></span></td>
<td style="height: 22px">
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>select-</asp:ListItem>
<asp:ListItem>SC</asp:ListItem>
<asp:ListItem>BC</asp:ListItem>
<asp:ListItem>GEN.</asp:ListItem>
<asp:ListItem>OTHER</asp:ListItem>
</asp:DropDownList></td>
<td style="height: 22px">
</td>
</tr>
<tr>
<td style="height: 23px; width: 157px;">
</td>
<td style="height: 23px">
<asp:Button ID="Button1" runat="server" Text="Submit"
OnClick="Button1_Click" />

28
</td>
<td style="height: 23px">
</td>
</tr>
</table>
</asp:Content>

Fee submit page:


<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="submit fee.aspx.cs" Inherits="submit_fee"
Title="submit fee..." Debug="true" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 527px; height: 302px">
<tr>
<td style="width: 101px; height: 4px">
<asp:Label ID="Label1" runat="server" Font-Size="X-Large"
Text="Invoice no." Width="139px" Font-Bold="True"></asp:Label></td>
<td style="width: 170px; height: 4px">
<asp:TextBox ID="TextBox1" runat="server" Height="22px"
Width="193px"></asp:TextBox></td>
<td style="width: 48436px; height: 4px">
</td>
</tr>
<tr>
<td style="width: 101px; height: 10px">
<asp:Label ID="Label2" runat="server" Font-Size="X-Large"
Text="Date" Font-Bold="True"></asp:Label></td>
<td style="width: 170px; height: 10px">
<asp:TextBox ID="TextBox2" runat="server"
OnTextChanged="TextBox2_TextChanged" ReadOnly="True" Height="23px"
Width="193px"></asp:TextBox></td>
<td style="width: 48436px; height: 10px">
</td>
</tr>
<tr>
<td style="width: 101px; height: 10px">
<asp:Label ID="Label3" runat="server" Font-Size="X-Large"
Text="Roll no." Font-Bold="True"></asp:Label></td>
<td style="width: 170px; height: 10px">
<asp:TextBox ID="TextBox3" runat="server" AutoPostBack="True"
OnTextChanged="TextBox3_TextChanged" Height="22px"
Width="193px"></asp:TextBox></td>
<td style="width: 48436px; height: 10px">
</td>
</tr>
<tr>
<td style="width: 101px; height: 11px">
<asp:Label ID="Label4" runat="server" Font-Size="X-Large"
Text="Name" Font-Bold="True" Width="101px"></asp:Label></td>
<td style="width: 170px; height: 11px">
<asp:TextBox ID="TextBox4" runat="server" Height="23px"
Width="194px"></asp:TextBox></td>
<td style="width: 48436px; height: 11px">

29
</td>
</tr>
<tr>
<td style="width: 101px; height: 10px">
<asp:Label ID="Label7" runat="server" Font-Size="X-Large"
Text="Total fee" Font-Bold="True" Width="114px"></asp:Label></td>
<td style="width: 170px; height: 10px">
<asp:TextBox ID="TextBox5" runat="server" Height="25px"
Width="192px"></asp:TextBox></td>
<td style="width: 48436px; height: 10px">
</td>
</tr>
<tr>
<td style="width: 101px; height: 7px">
&nbsp;<asp:Label ID="Label5" runat="server" Font-Size="X-
Large" Text="fee submit" Font-Bold="True" Width="131px"></asp:Label></td>
<td style="width: 170px; height: 7px">
<asp:TextBox ID="TextBox6" runat="server" AutoPostBack="True"
OnTextChanged="TextBox6_TextChanged" Height="23px"
Width="192px"></asp:TextBox></td>
<td style="width: 48436px; height: 7px">
</td>
</tr>
<tr>
<td style="width: 101px; height: 10px">
&nbsp;<asp:Label ID="Label6" runat="server" Font-Size="X-
Large" Text="Balance fee" Font-Bold="True" Width="209px"
Height="7px"></asp:Label></td>
<td style="width: 170px; height: 10px">
<asp:TextBox ID="TextBox7" runat="server" Height="21px"
Width="192px"></asp:TextBox></td>
<td style="width: 48436px; height: 10px">
</td>
</tr>
<tr>
<td style="width: 101px; height: 15px">
</td>
<td style="width: 170px; height: 15px">
</td>
<td style="width: 48436px; height: 15px">
<asp:Button ID="Button1" runat="server" BackColor="Gainsboro"
Font-Size="Large" ForeColor="Red"
Text="submit" OnClick="Button1_Click" /></td>
</tr>
</table>
</asp:Content>

View detail page:


<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="view detail.aspx.cs" Inherits="view_detail"
Title="view detail.." %>

30
<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="True"
Height="1039px" ReportSourceID="CrystalReportSource1" Width="901px" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="CrystalReport1.rpt">
</Report>
</CR:CrystalReportSource>
</asp:Content>

View fee detail page:


<%@ Page Language="C#" MasterPageFile="~/MasterPage.master"
AutoEventWireup="true" CodeFile="view fees detail.aspx.cs"
Inherits="view_fees_detail" Title="view fee detail..." %>

<%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0,


Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
&nbsp; &nbsp;&nbsp;<CR:CrystalReportViewer ID="CrystalReportViewer1"
runat="server"
AutoDataBind="True" Height="1039px"
ReportSourceID="CrystalReportSource1" Width="901px" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="CrystalReport2.rpt">
</Report>
</CR:CrystalReportSource>
</asp:Content>

Add record.cs:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class add_student_record : System.Web.UI.Page

31
{
SqlConnection con = new SqlConnection("server=.;database=fees;uid=sa;");
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
con.Open();
SqlCommand cmd=new SqlCommand("insert into addrecord
values('"+TextBox1.Text+"','"+TextBox2.Text+"','"+TextBox3.Text+"','"+TextBox4
.Text+"','"+TextBox5.Text+"','"+DropDownList1.SelectedValue+"')",con);
cmd.ExecuteNonQuery();
con.Close();
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";

}
}

Fee submit.cs:
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class submit_fee : System.Web.UI.Page


{
Class1 cn = new Class1();

protected void Page_Load(object sender, EventArgs e)


{
TextBox2.Text = System.DateTime.Now.ToString();

TextBox1.Text = cn.autoincrement("select invoice_no from feesubmit


where id=(select max(id) from feesubmit)", "bitm");
}
protected void TextBox2_TextChanged(object sender, EventArgs e)
{

}
protected void Button1_Click(object sender, EventArgs e)
{
cn.con.Open();

32
SqlCommand cmd = new SqlCommand("insert into feesubmit values ('" +
TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" +
TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" +
TextBox7.Text + "')", cn.con);
cmd.ExecuteNonQuery();

TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";
TextBox6.Text = "";
TextBox7.Text = "";

}
protected void TextBox6_TextChanged(object sender, EventArgs e)
{
int a;
int b = Convert.ToInt32(TextBox5.Text.ToString());
int c = Convert.ToInt32(TextBox6.Text.ToString());
a = b - c;
TextBox7.Text = a.ToString();
}
protected void TextBox3_TextChanged(object sender, EventArgs e)
{
cn.con.Open();
SqlCommand cmd = new SqlCommand("select sname,sfees from addrecord
where rollno='" +TextBox3.Text + "'", cn.con);
SqlDataReader dr = cmd.ExecuteReader();

if (dr.Read())
{
TextBox4.Text = dr[0].ToString();
TextBox5.Text = dr[1].ToString();

dr.Close();
cn.con.Close();
}
}
}

33
4.3 MODULES WITH SNAPSHOTS

Home Page:

About Us:

Log in Page:

Add record Page:

Viev record Page:

Fee submit page:

View fee detail:

Types of Testing:
Unit Testing and Functional Testing
Unit Module Testing is performed to ensure that the module will function as expected. The Unit
and Functional Testing will be conducted by the system application developer when the functions
are complete. Each module will be tested to check whether it full fills the user requirement
correctly and it is according to design specification. A set of test cases will be input to each
module and output will be checked that whether it is according to requirement of not, errors will
be noted if any then corrective measures will be taken to debug and correct the error.

Integration Testing- This will be done to ensure that each module interacts properly and while
they interact they are giving correct result. After completing unit testing, whole developed
system will be tested in this testing.
This testing ensures that the design objectives are met and that the software complies with
operational requirements.

34
GUI TESTING
Interface testing. Controls (textbox, combo box, icon), menu, hyperlinks will be tested to check
whether they works properly and visible properly or not and they are working properly or not.
Page design will be tested for validation. Validation of each input object (like textbox, combo
box) will be tested as mentioned in specification like mandatory input control should not be
empty before submitting the form etc.

Security testing. Attempted access without a proper password to the system to see information
will be tested.

Usability Testing
This type of test is done on College Website to ensure that application developed is
easy to learn and use.

Environmental needs got testing


Hardware. One terminal for unit testing, integration testing, interface testing and 2-5 terminals
for performance and security testing.
Software – all the software specified in SRS

Developers of system (Pankaj &Rahul) are test manager and test analyst for this project.

Test case Specification (what type of test case will be used):


To test search or view any result from database test cases will be
 Data present in database (results should be shown)
 Data not present in database (results should not be shown)
 Null or empty value (error message should be shown)
 Correct combination of data (combination of 2-3 field or test data to match searching
criteria) as present in database
 Incorrect combination of data (combination of 2-3 field or test data to match searching
criteria) that does not match as in database.
To add data in database test data will be
 Data not in database (data should be successful added)

35
 Data present in database (data should not be added to database)
 Empty filed (null values) for mandatory field (that should accepted)
To test email address (abcd@jgjg.com format should be used)
 Correct format (should be accepted)
 Incorrect format (without @, without “.”, use “.” Before “@” etc) (should not be accepted

5.3 TEST CASES

Unit Testing

1. LOGIN MODULE

Goal: Able to verify whether the member is authorized or not.

1. Able to establish connection with database.


Tested Functionality
2. Able to verify member authorization.

1. Connection Established
Test Results 2. Failed to check the member details in the
database

Problems Null value is checked against the string.

Solutions Condition to handle null value should be included.

The module worked well in the second attempt after application of the solution.

2. BASIC REGISTRATION MODULE

Goal: Able to store customer details in database.

1. Able to establish connection with database.


Tested Functionality
2. Able to store Student details in DB.

36
1. Establish connection
Test Results
2. Stores Student details in the database

Module worked correctly in first attempt.

3. Discussion form module

Goal: Able to Add items to the cart.

1. Establish database connection.


Tested Functionality
2. Show the previous added threads

1. Connection Established
Test Results 2. Error while retrieving values from
database

Problems Blank Fields are shown in the forms.

Solutions Enter the appropriate information in new thread.

The module worked well in the second attempt after application of the solution.

4. INTEGRATION TESTING

WHOLE SYSTEM

Goal: Enables the user to smoothly use the system without knowing the intercommunications
among the modules.

1. Applications are maintained across the whole


system modules.
Tested Conditions
2. Able to do functionalities of participating modules
by communicating with each other.

37
1. Application is accessible anywhere.
Test Results 2. Modules functionality could efficiently
communicate with each other after integration.

5. PERFORMANCE TESTING

ENTIRE SYSTEM

Goals: -
1. Able to perform well when more than two clients accessing the database simultaneously.
2. Availability of application when more than two clients accessing the application
simultaneously.
3. Speed of response from the server.

1. Database Performance.
Tested Conditions 2. Availability of application.
3. Response to user requests.

Problems The IIS Server was not configured properly.

Should configure the application server for better


Solutions
availability.

6. Security testing
5/5/09-
Project Name: College Website Testing Date:
10/5/09
Test Case
Test Case Name: Security Testing ST-01
Number:
Performed by: Pankaj Saini
Test Case Description: Will check the security of the system.

Question Answer Action to be taken

38
No, without logging in
Can anybody access the protected Test Pass
user cannot access the
area of the website (No Action)
protected area of the site.
Attempted access without a proper No, the attempt will not be
password to the system to see succeeded, and the user Test Pass
information will be tested. will remain on the first (No Action)
Attempts succeeded? page only.

5.4 Testing Summary


Software testing requires maximum and sufficient amount of time in the whole development
process. Its objective is to identify and resolve all the errors found, and to check whether the
system developed is according to the user requirements or not. To fulfill this objective, unit
testing, integration testing, usability testing, GUI testing, security testing, and were planned and
executed.
Each step is accomplished through a series of systematic test techniques that assist in the design
of test cases. With each testing step, the level of abstraction with which site is considered is
broadened.
College Website was tested through the planned steps of testing at various stages and errors
were identified and resolved to a greater extent. System failure or success is dependent on the
testing to a greater extent as regressive and successive testing uncovers all the errors and
ensures that the functionality of the system is according to the requirements with certain
other parameters like system performance, user interface etc.

5.5 Cost Evaluations

39
Introduction to the COCOMO Model

This is a simple on-line cost model for estimating the number of person-months required to
develop software. The model also estimates the development schedule in months and produces
an effort and schedule distribution by major phases. This model is based on Barry Boehm's
Constructive Cost Model (COCOMO). This is the top-level model, Basic COCOMO, which is
applicable to the large majority of software projects.

Here is what Boehm says about the model: "Basic COCOMO is good for rough order of
magnitude estimates of software costs, but its accuracy is necessarily limited because of its lack
of factors to account for differences in hardware constraints, personnel quality and experience,
use of modern tools and techniques, and other project attributes known to have a significant
influence on costs." For more detailed information about COCOMO and software cost estimating
in general, I strongly recommend reading Software Engineering Economics (1981), by Barry
Boehm.

The COCOMO II model makes its estimates of required effort (measured in Person-Months –
PM) based primarily on your estimate of the software project's size (as measured in thousands of
SLOC, KSLOC)):

Effort = 2.94 * EAF * (KSLOC) E


Where
EAF Is the Effort Adjustment Factor derived from the Cost Drivers
E Is an exponent derived from the five Scale Drivers
As an example, a project with all Nominal Cost Drivers and Scale Drivers would have an EAF of
1.00 and exponent, E, of 1.0997. Assuming that the project is projected to consist of 8,000 source
lines of code, COCOMO II estimates that 28.9 Person-Months of effort is required to complete
it:Effort = 2.94 * (1.0) * (8)1.0997 = 28.9 Person-Months

40
Cost calculator:

41
6. Conclusion:

This establishes the basic requirements of the programmer. Now, the programmer and users have
a full knowledge of the methods, classes and the methods to be used in the code. All the objects
are well defined and the structure is crystal clear to the programmer. The project has been able to
achieve most of its objectives and features within the estimated schedules and quality features.
We have to say that for sure that the project was really tough to put our skills to the worst
possible test and it gives us immense satisfaction that we have come through successful. It helps
us to develop a system, which is helpful in saving the time of a user. The users expect an
interface that would be user friendly and customizable so we have to keep in mind these factors
too. All together the College website fulfilled the project specification requirements.
In effect, this project had helped in providing the programmers
with a tool to reduce their programming time substantially and to minimize their programming
efforts.

42
. Bibliographic References

BOOKS: AUTHOR:
1. Asp.Net THE COMPLETE REFRENCE
2. Asp.Net2.0 UNLEASED
3. Structured Query Language IVAN BAYROSS

WEBSITES
a. www.w3school.com
b. www.ncce.edu
c. www.google.com
d. www.researchpapersonline.com
e. http://msdn.microsoft.com/en-us/library
f. http://www.vbip.com/default.asp
1) www.gotdotnet.com/team/compare/benchmark_responce.pdf
www.gotdotnet.com/team/compare/benchmark_responce.pdf

2) What is ASP.NET, Available on http://www.silkwebware.net/whatis.aspx

3) Learn ASP.NET Available on msdn.microsoft.com/asp.net/gettingstarted/default.aspx

43

You might also like