Online RTO Report PDF
Online RTO Report PDF
Introduction
2
Objective
Complaint registration.
3
System Analysis
Real-life problem.
So, require to build new Website according to RTO office so that all
the people can get information about the e-RTO.
Proposed System
The proposed system is aimed to automate the major processes in the Regional
Transport Office.
Proposed system is an online system: so any persons can browse the site and
download & upload the application form.
4
Can avoid intermediate persons & institutions.
Helpful in traffic issues: authorized users can trace the vehicle in the accident
cases using their register number.
It is more users friendly: the sections such as, registration, license etc are
combined together in a single window.
Demo questions of learner’s license test will help the users in their license
test.
Users can have knowledge about the new rules and regulations from the
information’s & awareness section.
In the online system the repetition of work & duplication of data can be
avoided
By introducing the new system we have been organized some striking facilities:
Feasibility Study
Feasibility study is the detailed study expanded from the result of initial
investigation. This is done by investigating the existing system in the area under
investigation or generally ideas about a new system. It is the test of a system
5
proposal according to its work ability, impact on organization, ability to meet
user needs and effective use of resources. Objective of feasibility study is to
acquire a sense of the scope of the problem. It is carried out to select the best
system that meets performance requirements.
Economic Feasibility:
Technical Feasibility:
Technical feasibility centers on existing system and to what extent it can support
proposed modifications. It involves financial enhancement. This evaluation
determines whether the technology needed for the proposed system is available
or not. This is concerned with specifying satisfy the user requirements. The
technical needs of the system may include front-end and backend-selection.
6
An important issue for the development of a project is the selection of suitable
front-end and back-end. Based on some aspects, we select the most suitable
platform that suits the needs of the organization.
Operational Feasibility:
The present system is easily understandable. The users are presented with
friendly user interface that helps them to understand the flow of the system more
easily. Maximum transparency has been provided. The new system is very much
user friendly and operational cost is bearable. The maintenance and working of
the new system needs less human efforts. The proposed project is beneficial to
the organizational and is user friendly.
7
PERT Chart
Format Design
Visit Office
Coding of Project
Finish
8
GANTT Chart
A Gantt chart is a horizontal bar chart developed as a production control tool
in 1917 by Henry L. Gantt, an American engineer and social scientist. A Gantt
chart provides a graphical illustration of a schedule that helps to plan,
coordinate and track specific tasks in a project.
Project
Search
Finalization&
Allocation
Investigation
of system
requirement
System
Design
Program
design
Program
coding
System
integration
Acceptance
test
9
Software Development Life Cycle
There are a large number of software models used for guiding the
software development process. Normally every software model contains
almost same life cycle except there are some difference process
techniques. In this software we have used the linear sequential model
because it is easiest one to implement and we have to follow the
straightforward techniques for developing the software. There are
following steps we have hone through in the complete process.
TESTING:- Once code has been generated the program testing begins.
The testing begins. The testing process focuses on the logical internals of
10
the software, ensuring that all statement have been tested and on the
functional externals, that is conducting tests to uncover errors and ensure
that defined input will produce actual result that agree with required
result.
11
SOFTWARE REQUIREMENT SPECIFICATION
PURPOSE:
“E-Regional Transport Office Management System” is a web application that
has been designed to automate the process of registration of vehicle and issuing
driving license process. System can make the daily activities efficient and
providing the fast response to store and retrieve information.
12
HARDWARE AND SOFTWARE REQUIREMENTS
HARDWARE CONFIGURATION
2. RAM 512MB
3. HDD 40GB
SOFTWARE CONFIGURATION
13
Description of Technology Used in Project.
14
type safety and other forms of code accuracy that ensure security and
robustness. In fact, the concept of code management is a fundamental principle
of the runtime. Code that targets the runtime is known as managed code, while
code that does not target the runtime is known as unmanaged code. The class
library, the other main component of the .NET Framework, is a comprehensive,
object-oriented collection of reusable types that you can use to develop
applications ranging from traditional command-line or graphical user interface
(GUI) applications to applications based on the latest innovations provided by
ASP.NET, such as Web Forms and XML Web services.
The .NET Framework can be hosted by unmanaged components that load the
common language runtime into their processes and initiate the execution of
managed code, thereby creating a software environment that can exploit both
managed and unmanaged features. The .NET Framework not only provides
several runtime hosts, but also supports the development of third-party runtime
hosts.
15
significant improvements that only managed code can offer, such as semi-
trusted execution and secure isolated file storage.
16
CTS ensures that all managed code is self-describing. The various Microsoft and
third-party language compilers
Generate managed code that conforms to the CTS. This means that
managed code can consume other managed types and instances, while strictly
enforcing type fidelity and type safety.
In addition, the managed environment of the runtime eliminates many
common software issues. For example, the runtime automatically handles object
layout and manages references to objects, releasing them when they are no
longer being used. This automatic memory management resolves the two most
common application errors, memory leaks and invalid memory references.
The runtime also accelerates developer productivity. For example,
programmers can write applications in their development language of choice,
yet take full advantage of the runtime, the class library, and components written
in other languages by other developers. Any compiler vendor who chooses to
target the runtime can do so. Language compilers that target the .NET
Framework make the features of the .NET Framework available to existing code
written in that language, greatly easing the migration process for existing
applications.
While the runtime is designed for the software of the future, it also
supports software of today and yesterday. Interoperability between managed and
unmanaged code enables developers to continue to use necessary COM
components and DLLs.
The runtime is designed to enhance performance. Although the common
language runtime provides many standard runtime services, managed code is
never interpreted. A feature called just-in-time (JIT) compiling enables all
managed code to run in the native machine language of the system on which it is
17
executing. Meanwhile, the memory manager removes the possibilities of
fragmented memory and increases memory locality-of-reference to further
increase performance.
Finally, the runtime can be hosted by high-performance, server-side
applications, such as Microsoft® SQL Server™ and Internet Information
Services (IIS). This infrastructure enables you to use managed code to write
your business logic, while still enjoying the superior performance of the
industry's best enterprise servers that support runtime hosting.
18
example, you can use the .NET Framework to develop the following types of
applications and services:
Console applications.
Scripted or hosted applications.
Windows GUI applications (Windows Forms).
ASP.NET applications.
XML Web services.
Windows services.
For example, the Windows Forms classes are a comprehensive set of
reusable types that vastly simplify Windows GUI development. If you write an
ASP.NET Web Form application, you can use the Web Forms classes.
ASP.NET
19
SERVER-SIDE MANAGED CODE
21
ACTIVE SERVER PAGES.NET
22
that your existing investment in COM-based development is preserved when
migrating to ASP.NET.
23
deadlocks), a new process can be created in its place, which helps keep your
application constantly available to handle requests
SQL SERVER
A database management, or DBMS, gives the user access to their data and
helps them transform the data into information. Such database management
systems include dBase, paradox, IMS, SQL Server and SQL Server. These
systems allow users to create, update and extract information from their
database.
24
During an SQL Server Database design project, the analysis of your
business needs identifies all the fields or attributes of interest. If your business
needs change over time, you define any additional fields or change the definition
of existing fields.
PRIMARY KEY
RELATIONAL DATABASE
25
FOREIGN KEY
When a field is one table matches the primary key of another field is
referred to as a foreign key. A foreign key is a field or a group of fields in one
table whose values match those of the primary key of another table.
REFERENTIAL INTEGRITY
Not only does SQL Server allow you to link multiple tables, it also
maintains consistency between them. Ensuring that the data among related
tables is correctly matched is referred to as maintaining referential integrity.
26
Data Flow Diagram
The idea behind the explosion of a process into more process is that
understanding at one level of detail is exploded into greater detail at the next
level. This is done until further explosion is necessary and an adequate amount
of detail is described for analyst to understand the process.
27
Larry Constantine first developed the DFD as a way of expressing system
requirements in a graphical from, this lead to the modular design.
DFD SYMBOLS:
28
Source or Destination of data
Data flow
Data Store
CONSTRUCTING A DFD:
1. Process should be named and numbered for an easy reference. Each name
should be representative of the process.
2. The direction of flow is from top to bottom and from left to right. Data
traditionally flow from source to the destination although they may flow back
to the source. One way to indicate this is to draw long flow line back to a
source. An alternative way is to repeat the source symbol as a destination.
Since it is used more than once in the DFD it is marked with a short diagonal.
3. When a process is exploded into lower level details, they are numbered.
29
4. The names of data stores and destinations are written in capital letters.
Process and dataflow names have the first letter of each work capitalized
30
Context Diagram
31
1-level DFD for Admin
32
1-level DFD for user
33
ER Diagram
34
System Design
INPUT DESIGN
The system is provided with C# pages for the user to input above details. Only
the administrator and registered user are able to upload data. So their details are
the major inputs to the system.
35
OUTPUT DESIGN
In this system the output that can be viewed by the end user is the website. It
provides an opportunity to get public awareness, online registration for vehicles,
selection of fancy number, license application form downloading and uploading,
and complaint registration, automatic e mail for the registered user about license
renewal etc.
Module design:
36
The importance can be stated with a single word “Quality”. Design is the
place where quality is fostered in software development. Design provides us
with representations of software that can assess for quality. Design is the only
way that we can accurately translate a customer’s view into a finished software
product or system. Software design serves as a foundation for all the software
engineering steps that follow. Without a strong design we risk building an
unstable system – one that will be difficult to test, one whose quality cannot be
assessed until the last stage.
MODULES
1) User Management
2) Learning License
3) Permanent license
4) Vehicle registration
5) Reports
1) User Management
37
1. Administrator
2. User
2) Learning License
Learning license module includes the learners registration .It also includes the
online license test.
3) Permanent License
38
4) Vehicle Registration
5) Reports
39
DATABASE DESIGN
Tables
40
Sex Sex Varchar 7
Dob Date of birth Varchar 12
mobile Mobile no Varchar 15
41
Table Name: License
42
Licenseno License number varchar 50
Filename Name of the file varchar 50
43
Fuel Fuel type Varchar 50
Colour Colour of Varchar 50
vehicle
Length Length of Float
vehicle
Width Width of Float
vehicle
Height Height of Float
vehicle
Regno Registration Varchar
number
44
Table Name: Mail
45
Coding
Adminlogin.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
if (c != null)
{
Label1.Text = "WelCome To Admin Site...";
Session["admin"] = TextBox1.Text;
Response.Redirect("~/admin/default.aspx");
}
else
{
Label1.Text = "wrong Username or password...";
}
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("~/default.aspx");
}
}
Registration.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
47
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
if (FileUpload1.HasFile)
{
FileUpload1.SaveAs(Server.MapPath("~/Document/" +
FileUpload1.FileName));
48
temp = FileUpload1.FileName + "";
}
if (FileUpload2.HasFile)
{
FileUpload2.SaveAs(Server.MapPath("~/photo/" +
FileUpload2.FileName));
photo = FileUpload2.FileName + "";
}
if (i > 0)
{
Label1.Text = "record inserted...";
}
else
{
Label1.Text = "record not inserted...";
}
}
49
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("~/Default.aspx");
}
}
Rtotest.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Drawing;
using System.Data.SqlClient;
//using RTO.DT;
SqlConnection conn;
50
SqlDataAdapter dap;
DataTable dt;
int q_n = 0;
sql = "SELECT TOP (15) q_id, q_name, opt_1, opt_2, opt_3, ans, image
FROM rto ORDER BY NEWID()";
lbl_no_of_que.Text = "0";
Show_Que();
}
else
{
chk_ans();
Show_Que();
}
}
protected void Button1_Click(object sender, EventArgs e)
51
{
//int a=0;
chk_ans();
Show_Que();
}
public void Show_Que()
{
q_n = int.Parse(lbl_no_of_que.Text);
// For English
lbl_que.Text = gv1.Rows[q_n].Cells[1].Text;
lbl_ans1.Text = gv1.Rows[q_n].Cells[2].Text;
lbl_ans2.Text = gv1.Rows[q_n].Cells[3].Text;
lbl_ans3.Text = gv1.Rows[q_n].Cells[4].Text;
Image1.ImageUrl = "~/Traffic_img/" + gv1.Rows[q_n].Cells[6].Text;
lbl_c_ans.Text = gv1.Rows[q_n].Cells[5].Text;
//===============================================
//For Gujarati
//BT_rto1 b1 = new BT_rto1();
lbl_que_g.Text = dt.Rows[0][1].ToString();
lbl_ans1_g.Text = dt.Rows[0][2].ToString();
lbl_ans2_g.Text = dt.Rows[0][3].ToString();
lbl_ans3_g.Text = dt.Rows[0][4].ToString();
/////////////////////////////////////////
////////////
opt1.Checked = false;
opt2.Checked = false;
opt3.Checked = false;
/////////////
//Display opt wise Guj-Eng Que/Ans....
Show_OPT();
}
public void Show_OPT()
{
if (opteng.Checked == true)
{
lbl_que.Visible = true;
lbl_ans1.Visible = true;
lbl_ans2.Visible = true;
lbl_ans3.Visible = true;
lbl_que_g.Visible = false;
lbl_ans1_g.Visible = false;
lbl_ans2_g.Visible = false;
lbl_ans3_g.Visible = false;
}
if (optguj.Checked == true)
{
lbl_que.Visible = false;
lbl_ans1.Visible = false;
lbl_ans2.Visible = false;
lbl_ans3.Visible = false;
53
lbl_que_g.Visible = true;
lbl_ans1_g.Visible = true;
lbl_ans2_g.Visible = true;
lbl_ans3_g.Visible = true;
}
if (optboth.Checked == true)
{
lbl_que.Visible = true;
lbl_ans1.Visible = true;
lbl_ans2.Visible = true;
lbl_ans3.Visible = true;
lbl_que_g.Visible = true;
lbl_ans1_g.Visible = true;
lbl_ans2_g.Visible = true;
lbl_ans3_g.Visible = true;
}
}
public void chk_ans()
{
if (opt1.Checked == true)
{
if (lbl_c_ans.Text == "opt_1")
{
ListBox1.Items.Add("1");
}
else
{
ListBox1.Items.Add("0");
54
}
}
else if (opt2.Checked == true)
{
if (lbl_c_ans.Text == "opt_2")
{
ListBox1.Items.Add("1");
}
else
{
ListBox1.Items.Add("0");
}
}
else if (opt3.Checked == true)
{
if (lbl_c_ans.Text == "opt_3")
{
ListBox1.Items.Add("1");
}
else
{
ListBox1.Items.Add("0");
}
}
else
{
ListBox1.Items.Add("0");
}
set_color();
55
}
}
else
{
lbl3.BackColor = Color.Red;
lbl3.ForeColor = Color.Yellow;
}
break;
case 3:
if (ListBox1.Items[i].Text == "1")
{
lbl4.BackColor = Color.Green;
lbl4.ForeColor = Color.Yellow;
}
else
{
lbl4.BackColor = Color.Red;
lbl4.ForeColor = Color.Yellow;
}
break;
case 4:
if (ListBox1.Items[i].Text == "1")
{
lbl5.BackColor = Color.Green;
lbl5.ForeColor = Color.Yellow;
}
else
{
lbl5.BackColor = Color.Red;
lbl5.ForeColor = Color.Yellow;
57
}
break;
case 5:
if (ListBox1.Items[i].Text == "1")
{
lbl6.BackColor = Color.Green;
lbl6.ForeColor = Color.Yellow;
}
else
{
lbl6.BackColor = Color.Red;
lbl6.ForeColor = Color.Yellow;
}
break;
case 6:
if (ListBox1.Items[i].Text == "1")
{
lbl7.BackColor = Color.Green;
lbl7.ForeColor = Color.Yellow;
}
else
{
lbl7.BackColor = Color.Red;
lbl7.ForeColor = Color.Yellow;
}
break;
case 7:
if (ListBox1.Items[i].Text == "1")
{
lbl8.BackColor = Color.Green;
lbl8.ForeColor = Color.Yellow;
}
58
else
{
lbl8.BackColor = Color.Red;
lbl8.ForeColor = Color.Yellow;
}
break;
case 8:
if (ListBox1.Items[i].Text == "1")
{
lbl9.BackColor = Color.Green;
lbl9.ForeColor = Color.Yellow;
}
else
{
lbl9.BackColor = Color.Red;
lbl9.ForeColor = Color.Yellow;
}
break;
case 9:
if (ListBox1.Items[i].Text == "1")
{
lbl10.BackColor = Color.Green;
lbl10.ForeColor = Color.Yellow;
}
else
{
lbl10.BackColor = Color.Red;
lbl10.ForeColor = Color.Yellow;
}
break;
case 10:
if (ListBox1.Items[i].Text == "1")
{
59
lbl11.BackColor = Color.Green;
lbl11.ForeColor = Color.Yellow;
}
else
{
lbl11.BackColor = Color.Red;
lbl11.ForeColor = Color.Yellow;
}
break;
case 11:
if (ListBox1.Items[i].Text == "1")
{
lbl12.BackColor = Color.Green;
lbl12.ForeColor = Color.Yellow;
}
else
{
lbl12.BackColor = Color.Red;
lbl12.ForeColor = Color.Yellow;
}
break;
case 12:
if (ListBox1.Items[i].Text == "1")
{
lbl13.BackColor = Color.Green;
lbl13.ForeColor = Color.Yellow;
}
else
{
lbl13.BackColor = Color.Red;
lbl13.ForeColor = Color.Yellow;
}
60
break;
case 13:
if (ListBox1.Items[i].Text == "1")
{
lbl14.BackColor = Color.Green;
lbl14.ForeColor = Color.Yellow;
}
else
{
lbl14.BackColor = Color.Red;
lbl14.ForeColor = Color.Yellow;
}
break;
case 14:
if (ListBox1.Items[i].Text == "1")
{
lbl15.BackColor = Color.Green;
lbl15.ForeColor = Color.Yellow;
}
else
{
lbl15.BackColor = Color.Red;
lbl15.ForeColor = Color.Yellow;
}
break;
}
}
protected void optguj_CheckedChanged(object sender, EventArgs e)
{
Show_OPT();
}
protected void optboth_CheckedChanged(object sender, EventArgs e)
{
Show_OPT();
}
Testresult.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
62
{
m = int.Parse(Request.QueryString["marks"].ToString());
if (m >= 11)
{
Image1.ImageUrl = "~/images/winner.png";
Label1.Text = "You got "+ m + " Marks out of 15, You are PASS...";
}
else
{
Image1.ImageUrl = "~/images/loser.png";
Label1.Text = "You got " + m + " Marks out of 15, You are FAIL...";
}
}
else
{
Response.Redirect("~/RTO Test.aspx");
}
}
protected void Button1_Click(object sender, EventArgs e)
{
Response.Redirect("~/Default.aspx");
}
}
Userlogin.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
63
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
if (c != null)
64
{
int reg_id = Int32.Parse(c.ToString());
Session["user"] = TextBox1.Text;
Session["reg_id"] = Reg_id.ToString();
Response.Redirect("~/user/home1.aspx");
}
else
{
Label1.Text = "wrong user or password...";
}
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("~/default.aspx");
}
}
Btrto.cs
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
65
using RTO.DT;
DTrto.cs
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
71
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
///////////////////////////////
using System.Data.SqlClient;
using RTO.DT;
namespace RTO.DT
{
public class DT_rto
{
SqlConnection conn;
SqlCommand cmd;
SqlDataAdapter dap;
public DT_rto()
{
conn = new SqlConnection(strcn);
}
public int insert_data(BT_rto rt1)
{
sql = "insert into rto(q_name,opt_1,opt_2,opt_3,ans,image)values('" +
rt1.Q_name + "','" + rt1.Opt_1 + "','" + rt1.Opt_2 + "','" + rt1.Opt_3 + "','" +
rt1.Ans + "','" + rt1.Image + "')";
conn.Open();
72
int i = cmd.ExecuteNonQuery();
conn.Close();
return i;
}
public int update_data(BT_rto rt1)
{
sql = "update rto set q_name='" + rt1.Q_name + "',opt_1='" + rt1.Opt_1
+ "',opt_2='" + rt1.Opt_2 + "',opt_3='" + rt1.Opt_3 + "',ans='" + rt1.Ans +
"',image='" + rt1.Image + "'where q_id=" + rt1.Q_id;
return dt;
73
}
public DataTable select_data(string q)
{
DataTable dt = new DataTable();
sql = q;
dap = new SqlDataAdapter(sql, strcn);
dap.Fill(dt);
return dt;
}
}
}
Myclass.cs
using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
/// <summary>
/// Summary description for MyClass
/// </summary>
public class MyClass
{
74
string CnStr = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Inte
grated Security=True;User Instance=True";
SqlConnection conn;
SqlCommand cmd;
SqlDataAdapter dap;
public MyClass()
{
conn = new SqlConnection(CnStr);
}
}
public int get_newId(string TBL,string PK)
{
string sql = "select max("+ PK +") from "+ TBL +" ";
75
object c = scalar(sql);
int i = 0;
if (c != null && c.ToString() != "")
{
i = int.Parse(c.ToString());
}
i = i + 1;
return i;
}
public DataTable Get_TABLE(string sql)
{
dap = new SqlDataAdapter(sql, conn);
DataTable dt = new DataTable();
dap.Fill(dt);
return dt;
}
}
Adminforget.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
76
public partial class Default2 : System.Web.UI.Page
{
SqlConnection conn = new SqlConnection();
SqlCommand cmd = new SqlCommand();
string str = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Inte
grated Security=True;User Instance=True";
}
else
{
Label1.Text = "wrong Username Or Password";
}
77
}
}
Masterpage.master
</script>
78
</asp:ContentPlaceHolder>
</head>
<body id="home">
<form id="form1" runat="server">
<!-- | | | w w w . t e m p l a t e m o . c o m | | | -->
<div id="templatemo_wrapper">
<div id="templatmeo_header">
<div id="site_title">
<h1>
<a href="#">Free CSS Templates</a></h1>
</div>
<div id="templatemo_menu">
<ul>
<li><a href="Default.aspx" class="current">Home</a></li>
<li><a href="User_Login.aspx">Login</a></li>
<li><a href="Form.aspx">RTO Forms</a></li>
<li><a href="Contact_Us.aspx">Contact Us</a></li>
<li><a href="Feedback.aspx">Feedback</a></li>
</ul>
</div>
<!-- end of templatemo_menu -->
</div>
<!-- end of header -->
<div id="templatemo_middle">
<div id="mid_slider">
<span></span>
<div id="slider1" class="sliderwrapper">
<div class="contentdiv">
<img src="images/slider/image_00.jpg" alt="Image 00" />
</div>
<div class="contentdiv">
<img src="images/slider/image_01.jpg" alt="Image 01" />
</div>
<div class="contentdiv">
<img src="images/slider/image_02.jpg" alt="Image 02" />
79
</div>
<div class="contentdiv">
<img src="images/slider/image_03.jpg" alt="Image 03" />
</div>
</div>
<div id="paginate-slider1" class="pagination">
</div>
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax",
"path_to_file"]
toc: "#increment", //Valid values: "#increment", "markup", ["label1",
"label2", etc]
nextprev: ["", ""], //labels for "prev" and "next" links. Set to "" to
hide.
revealtype: "click", //Behavior of pagination links to reveal the slides:
"click" or "mouseover"
enablefade: [true, 0.4], //[true/false, fadedegree]
autorotate: [true, 2000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired
whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide,
2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide,
2nd=2nd etc)
}
})
</script>
</div>
<div id="mid_left">
80
<div id="mid_title">
Wel Come to E-RTO</div>
<p>
RTO Management System has been designed to automate the
process of registration
of vehicle and issuing driving license process.System can make the
daily activities
efficient and providing the fast response to store and retrieve
information.</p>
<center>
</center>
<div id="learn_more">
<a href="User/final_Test.aspx">Go 4 RTO Test</a></div>
</center>
</div>
<div class="cleaner">
</div>
</div>
<!-- end of middle -->
<div id="templatemo_main">
<div id="templatemo_content">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
<div class="cleaner">
</div>
</div>
<!-- end of templatemo_content -->
</div>
<!-- end of templatemo_main -->
</div>
<!-- end of wrapper -->
<div id="templatemo_footer_wrapper">
<div id="templatemo_footer">
<div class="col_allw300">
<h4>
81
Our Pages</h4>
<ul class="footer_list">
<li><a href="Default.aspx" class="current">Home</a></li>
<li><a href="Registration.aspx">Registration</a></li>
<li><a href="Form.aspx">RTO Forms</a></li>
<li><a href="Contact_Us.aspx">Contact</a></li>
<li><a href="Feedback.aspx">Feedback</a></li>
</ul>
</div>
<div class="col_allw300">
<h4>Our Partners</h4>
<ul class="footer_list">
<li><a href="User/Licence.aspx">Licence</a></li>
<li><a href="User/Permit.aspx" target="_parent">Permit</a></li>
<li><a href="User/Offences_and_Penalties.aspx"
target="_parent">Offences And Penalties</a></li>
<li><a href="User/Taxation.aspx"
target="_parent">Taxation</a></li>
<li><a href="User/Transfer And
NOC/No_Objection_Certificate.aspx" target="_parent">Transfer And
NOC</a></li>
</ul>
</div>
<div class="col_allw300 col_last">
<h4>
About Us</h4>
<p>
<marquee direction="up" behavior="scroll" scrollamount="1"
scrolldelay="50">
This project prepared RTO office to maintain all the records like issuing
the LL, DL, Vehicle registration, Vehicle ownership transfer etc. Once all
these get computerized to work efficiency of the employee will get increased.
</marquee>
</p>
82
</div>
<div class="cleaner">
</div>
</div>
<!-- end of templatemo_footer -->
<div class="cleaner">
</div>
</div>
<div id="templatemo_copyright_wrapper">
<div id="templatemo_copyright">
Copyright © 2013 <a href="#">e-RTO System</a> | Developed By :<a
href="Admin Login .aspx"
target="_parent">Sheetal & Bhaveeni & Jinal & Megha</a>
</div>
<!-- end of templatemo_footer -->
</div>
</form>
</body>
</html>
Listresult.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
83
public partial class admin_Default2 : System.Web.UI.Page
{
SqlConnection conn;
SqlDataAdapter dap;
string str = @"Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Inte
grated Security=True;Connect Timeout=30;User Instance=True";
string sql = "";
84
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("~/admin/Entry_Result.aspx");
}
}
Registrationlist.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
}
protected void Button1_Click(object sender, EventArgs e)
{
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("~/admin/Entry_Registration.aspx");
}
}
86
Output Screens
Home Page
87
User login page
88
Registration page
89
Userhome page
90
User forgot Password
91
RTO Test
92
License page
93
Admin Login page
94
Admin Forgot password
95
Admin RTO Test Entry form
96
Feedback Page
97
Contact us
98
Scope
Reusability:
Reusability is possible as and when we require in this application.
We can update it next version. Reusable software reduces design, coding and
testing cost by amortizing effort over several designs. Reducing the amount of
code also simplifies understanding, which increases the likelihood that the code
is correct. We follow up both types of reusability: Sharing of newly written code
within a project and reuse of previously written code on new projects.
Extensibility:
Robustness:
Its method is robust if it does not fail even if it receives improper
parameters. There are some facilities like Protect against errors, Optimize after
the program runs, validating arguments and Avoid predefined limits.
Understandability:
A method is understandable if someone other than the creator of
the method can understand the code (as well as the creator after a time lapse).
We use the method, which small and coherent helps to accomplish this.
Cost-effectiveness:
99
Its cost is under the budget and make within given time
period. It is desirable to aim for a system with a minimum cost subject to the
condition that it must satisfy all the requirements.
Scope of this document is to put down the requirements, clearly identifying the
information needed by the user, the source of the information and outputs
expected from the system.
100
Testing
Testing Objective:
Testability:
-Controllability: “The better we can control the software, the more the Testing
can be automated and optimized.”
101
-Simplicity: “The less there is to test, the more quickly we can test it.”
-Stability: “The fewer the changes, the fewer the disruptions to testing.”
Black box testing methods focus on the functional requirements of the software.
That is, black box testing enables the software engineer to derive sets of input
conditions that will fully exercise all functional requirements for a program.
This approach is likely to uncover a different class of errors than white box
testing method.
Unlike white box testing, which is performed early in the testing process, black
box testing tends to be applied during later design.
Functional testing
Early “data flow” analyses often centered on a set of faults that are now known
as Define/reference anomalies:
• A variable that is defined but never used (referenced)
• A variable that is used but never defined
• A variable that is defined twice before it is used
Each of these anomalies can be recognized from the concordance of a program.
Since the concordance information is compiler generated, these anomalies can
be discovered by what is known as “static analysis”: finding faults in source
code without executing it.
103
Validation of registered users’ data
Submission of Data in the data File.
Automatic retrieval of data from the File.
Automatic display of options in the front end depending on the option
selected by the user.
B)-INTEGRATION TESTING:
C)-VALIDATION TESTING:
104
D)-SYSTEM TESTING:
System testing fall outside the scope of the software process and are not
conducted solely by software engineers.
It includes the following:
-Recovery testing
-Security testing
-Stress testing
-Performance testing
Considering the fact that the present project is not much large to invite System
testing, this test has not been performed for the present project.
In E-Charity Donation System Project Black box testing is used.
105
System Security
Introduction
The protection of computer based resources that includes hardware,
software, data, procedures and people against unauthorized use or natural
Disaster is known as System Security.
Security
Integrity
Privacy
Confidentiality
106
organization can be protected against unwelcome, unfair or excessive
dissemination of information about it.
SECURITY IN SOFTWARE
Various client side validations are used to ensure on the client side that only
valid data is entered. Client side validation saves server time and load to handle
invalid data. Some checks imposed are:
ASP.NET Validation Controls are used to ensure those required fields are
filled with suitable data only. Maximum lengths of the fields of the forms are
appropriately defined.
107
Tab-indexes are set according to the need and taking into account the ease of
user while working with the system.
Some checks cannot be applied at client side. Server side checks are necessary
to save the system from failing and intimating the user that some invalid
operation has been performed or the performed operation is restricted. Some of
the server side checks imposed is:
Server side constraint has been imposed to check for the validity of primary
key and foreign key. A primary key value cannot be duplicated. Any attempt
to duplicate the primary value results into a message intimating the user
about those values through the forms using foreign key can be updated only
of the existing foreign key values.
Various Access Control Mechanisms have been built so that one user may
not agitate upon another. Access permissions to various types of users are
controlled according to the organizational structure. Only permitted users can
log on to the system and can have access according to their category. User-
name, passwords and permissions are controlled o the server side.
108
Implementation
System implementation is the stage when the user has thoroughly tested the
system and approves all the features provided by the system. The various tests
are performed and the system is approved only after all the requirements are
met and the user is satisfied.
The new system may be totally new; replacing an existing manual or
automated system, or it may a major modification to an existing system. In the
either case, proper implementation is essential to provide a reliable system to
meet organization requirements .successful implementation may not guarantee
improvement in the organization using the new system (that is a design
question) ,but improper will prevent it.
Implementation is the process of having systems personal cheek out and
put new equipment to use, train users, install the new application and
construct any files of data needed to use it. This phase is less creative than
system design. Depending on the size of the organization that will be involve
in using the application and the risk involved in its use, system developer may
choose to test the operation in only one area of the firm with only one or two
persons. Sometimes, they will run both old and new system in parallel way to
compare the results. In steel other situations, system developers stop using the
old systems one day and start using the new one the next.
The implementation of the web based or LAN base network project has
some extra steps at the time of implementation. We need to configure the
system according the requirement of the software.
For the project we need to install IIS Web Server, database server and
deployment directory for the project.
109
Aspects of implementation:-
Training:-
Even well designed and technically elegant systems can succeed or fail because
of the way they are used. Therefore the quality of the training received by the
personnel involved with the stem in various ways helps or hinders, and may
event prevent, the successful implementation of an information system.
Maintenance
Once the software is delivered and deployed, then maintenance phase starts.
Software requires maintenance because there are some residual errors remaining
in the system that must be removed as they discovered. Maintenance involves
understanding the existing software (code and related documents),
understanding the effect of change, making the changes, testing the new
changes, and retesting the old parts that were not changed. The complexity of
the maintenance task makes maintenance the most costly activity in the life of
software product.
It is believed that almost all software that is developed has
residual errors, or bugs, in them. These errors need to be removed when
discovered that leads to the software change. This is called Corrective
Maintenance. Corrective maintenance means repairing, processing or
performance failures or making alterations because of previously ill-defined
problems.
Software undergoes change frequently even without bugs because
the software must be upgraded and enhanced to include more features and
provide more services. This also requires modification of the software. The
110
changed software changes the environment, which in turn requires further
change. This phenomenon is called the “law of software evaluation”.
Maintenance due to this phenomenon is called adaptive maintenance. Adaptive
maintenance means changing the program function. Perfect maintenance means
enhancing the performance or modifying the programs according to the user’s
additional or changing needs. The keys to reduce the need for maintenance are:
More accurately defining the user’s requirement during system
development.
Preparation of system documentation in a better way.
Using more effective ways for designing processing logic and
communicating it to project team members.
Making better use of existing tools and techniques.
Managing the system engineering process effectively.
MAINTENANCE TASKS
Corrective Maintenance
Adaptive Maintenance
111
Perfective Maintenance
Preventive Maintenance
During the design and development of both the websites, special care is taken of
the fact that the information will be available all over the world so only authentic
and correct information is made available through both the websites.
The code written for both the websites is properly documented. The programs
have been documented so that any other programmer can modify them easily.
Meaningful variable names have been used in each program that makes
understanding program logic easier and hence maintenance easy. Moreover while
coding the programs the design has been kept modular. Separate modules have
been written and integrated.
112
This modular design of the program will also help in pointing out and rectification
of faults within the programs.
Most important thing about the maintenance of these sites is that they must be
continuously updated so that all the time latest and correct information is made
available to the people visiting these sites. For that it is necessary that the trade
bodies should be contacted constantly and latest data all the companies belonging
to them should be taken and the database should be updated. Also the NITP units
must be requested continuously to update their data as soon as any change occurs
by using this website only so that latest information is always available to the
people.
113
Conclusion
114
Bibliography
Books
SOFTWARE ENGINEERING
Roger.S. Pressman
Robert Standefer
Websites
www.w3schools.com
www.wrox.com
www.asp.net
115