Professional Documents
Culture Documents
Web Rto System
Web Rto System
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 increases.
“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 to the people By Using SMS or E-Mail.
ABSTRACT
This project is “Web RTO System” is used to register for two wheeler and four wheeler
information and remember the two wheeler renewal, which is useful for the users who are facing
problems with the current manual work of rto office registration and renewal. This system has
identified the user validity period, frequently inform to the user before rto office renewal date by
sending SMS or mails. This online rto office registration application will help user save their
time and also renewal the vehicles without standing in a line for hours near counters. In RTO
Management System administrator has the power to verify the data entered by the user,
processing of data and provide vehicles number. An authorized user should have a user name and
password to access detailed information from the site excluding or accessing general information
in shared, public pages. Easily, user can select vehicles number this application. Admin verify
user details and satisfied details approve application.
INTRODUCTION
The project Web RTO Management System is web application system that enables
the procedure of the Web RTO system interface with maximum accuracy .This project is
very useful for those who are concern with the different processes on Web RTO. As a total
manpower based system is currently running for the whole procedures, designing a new
system which makes the whole process online, demands a deep knowledge about the
procedures. This project focuses on presenting information and commands in an easy and
intelligible manner. The purpose of this system is to provide a leading technological tool for
the ease of RTO functions such as Registration, Learners License, and Fitness etc. It will
reduce considerably the difficulties faced on all activity, with minimum error and
difficulties. This system benefits to the user and the Web RTO office staffs. By introducing
the new system we have been organized some striking felicities. Through this system the
user performs Registration of vehicle through online. Issue of information’s about license,
which include application forms, demo of leaner’s license test and other information’s. The
purpose of our Web RTO management system in Asp.Net is to provide a leading
technological tool for the ease of Web RTO functions such as Registration, Learners
License, Permanent License, Vehicle Registration etc, completely designed for final year be
projects. It will reduce considerably the difficulties faced on existing system, with minimum
error and difficulties.
1.2 EXISTING SYSTEM
The existing system is at present all records are maintained manually. We know that the
production and use of vehicles are increase day by day. Hence, the need of RTO system is very
important now a day. The complex function such as register of vehicle etc., becomes to know
about the problems specifically, we have done detailed study on the whole procedure of the
system which currently running RTO office performs functions such as registration, license, and
fitness. These are certain procedure and formalities require performing function.
DISADVANTAGES:
The proposed system is aimed to automate the major process in the RTO office. This
system will maintain and manage day by day operation very smoothly with minimum errors. In
all the forms uses have created option to create new records, save records, modify, modify,
delete, fine records and close button. The system for all RTO process fully developed this
software application with fully computerized to manage all the data. In RTO Management
System administrator has the power to verify the data entered by the user, processing of data
and provide appropriate solutions. An authorized user should have a user name and password to
access detailed information from the site excluding or accessing general information in shared,
public pages. User is the person who gets the full benefits of this application. The new system
we have been organized some striking felicities. Registration of vehicles through online. So
manpower reduces and easily searching with particular vehicles details.
ADVANTAGES:
Symbol Description
A data flow.
LEVEL 0
Confirmation
DataBase
User
Retrieve details
Admin
View Details
View user, license
details
Retrieve details
User license
Login renewal date License /renewal Details
Store details
LEVEL 2
User Login
Store details
Send Complaint
View Message
Fig 3 It describes about the user process in the system
ARCHITECTURE DIAGRAM:
RTO SYSTEM
Admin User
Register Appoin
Login Collect RTO tment
office Details date
Search
View Info
Upload Vehicle
details Two/Fou Renewa License
Generate
r wheeler l Details Details
report
details
DATABASE
Email/ View Details User Id
Message
to User
Attach File Register
Copy No
Intimate
Renewal
Apply
Renewal
Fig 4. The entire process functioning has been conveyed in this architecture diagram
DATABASE DESIGN
Description:
The register table contains a following field as name, age, license number, proof name
address, proof number and etc. these details are stored in the database. The user can be must
register in the form and after process in the system.
Description:
The message table contains following details such as message details are stored in the
database.
Table Name: Register application
Description:
Register application table contains as customer name, application , e mail id, age, email id,
mobile number, username, password and gender are stored in the database. These details are
maintained to the admin.
Table Name: Renewal Registration
Description:
Register application table contains as customer name, application , e mail id, age, email id,
mobile number, username, password and gender are stored in the database. These details are
maintained to the admin.
ERDIAGRAM
Father name FUEL
Chase No.
DOB
age
Dealer Name
Email id
Name Cost
Address
Color
Mob_no
HP
Password V_no
Registration
Vehicle Name
Problem
Vec_no
Complaint
Add_info
T_number
E_Date
T_Address
CardNumber
CVV Number
License application
Pin
TestDate
App_id
Fee
Pin
CardNumber CVV Number
Fig 5. The relationship between user and the admin has been described in this diagram
PROGRAM DESIGN
MODULES:
Modules used
There are two main modules are used in this project such as
Admin module
User module
MODULES DESCRIPTION
ADMIN
LOGIN
This module describes the details of login. In this module the admin and admin have an
own unique login id and password. Login is used for protect the unauthorized access.
In the module, admin will maintain recorded to store in the database. This information’s
are view to the administrator. Admin can managed to vehicle of two wheeler and four wheeler
details are Stored in the database. Update and upload vehicles details everyday and it store to
the system. User can search vehicle detail for in this site, admin retrieve to relevant page on
user.
USER
Register
The registration page is useful for the new user to register themselves by giving their valid
details such as e-mail id, user name, Phone number, and etc. The user has to fill all the details
else message is displayed to the user. Once all the fields are filled the user clicks the Register
button, which submits the data to the database. Here it checks the user table, whether the email-
id is already exists, if yes error message is displayed else store the details to the user table. If all
details are correct the users view the main page.
Login
The administrator login pages same as a user login page. The only difference is that the
username and the password for this page are not maintained in the table. After filling all the
fields the administrator can click the button to sign in. It checks whether the username and
password are correct, if correct allows the administrator to update or view the details else
displays the error message. The administrator should fill all the fields, if not it shows error
message.
License Details
User can Search various license information in this website. User can View and Select
related vehicle license detail. This system easily to search with any two wheeler, four wheeler,
and Learner licence, Driving licence, Changing address of licence. It has options to apply the
license and renew the license.
Transfer module
This is a vehicle transfer module which is used to change the ownership of the vehicle.
Fancy Number
The user can view the list of available fancy numbers, normal numbers and can apply for
any number among the list.
Search
This site provides facility for searching a particular vehicles or license holders details.
Renewal Details
This system has identified the user validity period, and renewal date store to rto system.
The web rto office system is providing register and renewal application in this website. User can
need to register/renewal with the application by submitting details of photo address proof and
required details and submit through online system. Admin verify user details and satisfied
details approve application. User can read and apply any relevant vehicles information. So,
Vehicle related all details get in this rto management system.
SYSTEM TESTING
Testing
Unit Test.
Integration Test
Validation Test
This testing is handling each and every module is correctly worked or not. For
example, the new user enrolled their name, date of birth, address, and city and email id
in the website. After the user clicks the register button, the new user details must be
store in the database. At that only, the user can view the website. So to check the user
registration details are stored or not stored in the database.
It’s the process of using the new software for the developed system in a live
environment i.e., new software inside the organization, in order to find out the errors. The
validation phase reveals the failures and the bugs in the developed system. It will be come to
know about the practical difficulties the system faces when operated in the true environment.
The validation testing was mainly tested in each and every project. For example, in login
form, the valid user only allowed to view the website.
This project success is to move away from the method of manual process of getting
registration of a vehicle in which an individual has to physically getting the registration and
record the registration details. Instead the project proposes to successfully be able to contact
with the RTO office to user and user to RTO office. This software package can be operational
way which will be helpful to the end user to work this system simply select the menus.
Administrative can view all the request of the user and can search for any result. Different types
of reports can be obtained from the report menu. The main purpose of the project is to avoid the
critical process of getting registration from the concern and make changes in the previous
record. The users can easily renewal their license through this system and efficient process for
the change owner details to the user and the admin. In future, this system can be improved by
some additional features meeting the user requirements like getting the owner details of the
vehicle before buying the vehicle this will help to the user buy vehicle from original owner.
BIBLIOGRAPHY
FOR .NET INSTALLATION
www.support.mircosoft.com
FOR DEPLOYMENT AND PACKING ON SERVER
www.developer.com
www.15seconds.com
FOR SQL
www.msdn.microsoft.com
FOR ASP.NET
www.msdn.microsoft.com/net/quickstart/aspplus/default.com
www.asp.net
www.fmexpense.com/quickstart/aspplus/default.com
www.asptoday.com
www.aspfree.com
www.4guysfromrolla.com/index.aspx
http://www.wrox.com/WileyCDA/Section/All-Titles-Books-Ebooks-for-
Programmers-ASP-NET-C-Javascript
http://www.wrox.com/WileyCDA/WroxTitle/Beginning-C-7-Programming-
with- Visual-Studio-2017.productCd-1119458684.html
https://docs.microsoft.com/en-us/aspnet/web-forms/overview/older-
versions-getting-started/master-pages/urls-in-master-pages-cs
https://www.sitepoint.com/asp-dot-net-introduction/
https://www.microsoftpressstore.com/articles/article.aspx?p=2228464
https://stackoverflow.com/questions/5877069/what-are-the-best-resources-
for-asp-net-c
https://1stwebdesigner.com/ebook-download-sites/
https://stackify.com/learn-asp-net-tutorials/
https://www.oreilly.com/library/view/programming-aspnet-
35/9780596156657/ch04s07.html
https://www.c-sharpcorner.com/UploadFile/dversch/adding-facebook-share-
functionality-to-an-Asp-Net-website-with-a-master-page/
https://www.sitepoint.com/asp-dot-net-introduction/
https://www.amazon.com/Pro-ASP-NET-Core-ADAM-
FREEMAN/dp/1484203984
https://recaffeinate.co/book/
https://www.w3schools.com/asp/
https://en.wikipedia.org/wiki/Active_Server_Pages
https://searchwindowsserver.techtarget.com/definition/Active-Server-Page
https://www.computerhope.com/jargon/a/asp.htm
Appendix
Source Code
Admin Login
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
}
protected void Button2_Click(object sender, EventArgs e)
{
if (TextBox1.Text == "admin" && TextBox2.Text == "admin")
{
Response.Redirect("Admin home.aspx");
}
else
{
Response.Write("<script>alert('Username and Password Mismatched')</script>");
}
}
}
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
CodeFile="Admin Login.aspx.cs" Inherits="Admin_Login" %>
&n
bsp;  
; &n
bsp;  
; &n
bsp;  
;
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-Large"
Text="Admin Login"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 393px">
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align: center; width: 393px">
&n
bsp;  
; &n
bsp;  
; &n
bsp; <asp:Label ID="Label2" runat="server" Text="User Name"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: left; width: 393px">
&n
bsp;  
; &n
bsp;  
; &n
bsp;
<asp:Label ID="Label3" runat="server" Text="Password"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
</td>
</tr>
<tr>
<td style="text-align: right; width: 393px">
&n
bsp;  
; &n
bsp;  
; &n
bsp;  
;
<asp:Button ID="Button1" runat="server" Text="Reset" Height="22px"
Width="50px" />
</td>
<td style="text-align: left">
<asp:Button ID="Button2" runat="server" Height="26px" onclick="Button2_Click"
Text="Login" Width="99px" />
</td>
</tr>
<tr>
<td style="width: 393px">
</td>
<td>
</td>
</tr>
</table>
</asp:Content>
Apply License
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Net;
using System.IO;
//TextBox1.Text = System.DateTime.Today.ToString("dd/MM/yyyy");
TextBox2.Text = DateTime.Now.ToShortDateString();
}
protected void TextBox6_TextChanged(object sender, EventArgs e)
{
}
protected void Button1_Click1(object sender, EventArgs e)
{
//SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\vijay\Web
RTO\App_Data\rto.mdf;Integrated Security=True;User Instance=True");
con.Open();
SqlCommand cmd = new SqlCommand("insert into request values('" + TextBox1.Text + "','"+
DropDownList2.Text+"','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text +
"','" + TextBox6.Text + "','" + DropDownList1.SelectedValue + "','" + TextBox8.Text + "','" + TextBox9.Text + "','" +
TextBox10.Text + "','" + TextBox11.Text + "','" + TextBox12.Text + "','" + TextBox13.Text + "','" + TextBox14.Text +
"')", con);
cmd.ExecuteNonQuery();
con.Close();
Response.Write("<script>alert('your request has been send')</script>");
}
public void sendmessage(string targetno, string message)
{
}
<%@ Page Title="" Language="C#" MasterPageFile="~/User.master" AutoEventWireup="true" CodeFile="Apply
License.aspx.cs" Inherits="Apply_License" %>
&n
bsp;  
; &n
bsp;  
; &n
bsp;  
; &n
bsp;
<asp:Label ID="Label12" runat="server" Text="Apply License" ForeColor="#660066"
style="font-weight: 700; font-size: large"></asp:Label>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
</td>
<td>
<asp:Label ID="Label13" runat="server" Text="Label"></asp:Label>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
</td>
<td>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label1" runat="server" Text="License No"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="TextBox1" ErrorMessage="* Please Enter Your No"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label14" runat="server" Text="Vehicle Type"></asp:Label>
</td>
<td>
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem>Two Wheeler</asp:ListItem>
<asp:ListItem>Four Wheeler</asp:ListItem>
<asp:ListItem>Both</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server"
ControlToValidate="TextBox1" ErrorMessage="* Please Enter Your Vehicle Type"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label2" runat="server" Text="Date"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" BorderColor="Black"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label3" runat="server" Text="Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox3" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server"
ControlToValidate="TextBox3" ErrorMessage="* Please Enter Your Name"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label4" runat="server" Text="Father Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox4" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server"
ControlToValidate="TextBox4" ErrorMessage="* Please Enter Father Name"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label5" runat="server" Text="DOB"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox5" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server"
ControlToValidate="TextBox5" ErrorMessage="* Please Enter Your DoB"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label6" runat="server" Text="Age"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox6" runat="server" ontextchanged="TextBox6_TextChanged"
BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ControlToValidate="TextBox6" ErrorMessage="* Please Enter Your Age"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label7" runat="server" Text="Gender"></asp:Label>
</td>
<td>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>-None-</asp:ListItem>
<asp:ListItem>Male</asp:ListItem>
<asp:ListItem>Female</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label8" runat="server" Text="Contact No"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox8" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
ControlToValidate="TextBox8" ErrorMessage="* Please Enter Your Contact no"
style="color: #660066"></asp:RequiredFieldValidator>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
ControlToValidate="TextBox8" Display="Dynamic"
ErrorMessage="*Please Enter Correct Mobile No" Font-Size="Small"
ForeColor="#660066" ValidationExpression="[0-9]{10}"></asp:RegularExpressionValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label9" runat="server" Text="Address"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox9" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
ControlToValidate="TextBox9" ErrorMessage="* Please Enter Your Address"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label10" runat="server" Text="Proof Name "></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox10" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox10" ErrorMessage="* Please Enter Your Proof Name"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label11" runat="server" Text="Proof No"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox11" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="TextBox11" ErrorMessage="* Please enter "
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label15" runat="server" Text="Amount"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox12" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server"
ControlToValidate="TextBox12" ErrorMessage="* Please enter "
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label16" runat="server" Text="Status"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox13" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server"
ControlToValidate="TextBox13" ErrorMessage="* Please enter "
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
<asp:Label ID="Label17" runat="server" Text="Card No"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox14" runat="server" BorderColor="Black"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server"
ControlToValidate="TextBox14" ErrorMessage="* Please enter Your Card No"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
</td>
<td>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click1"
Text="Submit" />
</td>
</tr>
<tr>
<td class="style2" style="width: 306px">
</td>
<td class="style3" style="width: 85px">
</td>
<td>
</td>
</tr>
</table>
</asp:Content>
Enter Message
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Net;
using System.IO;
using System.Configuration;
}
protected void Button2_Click(object sender, EventArgs e)
{
string str1;
str1 = "";
//SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\vijay\Web
RTO\App_Data\rto.mdf;Integrated Security=True;User Instance=True");
con.Open();
SqlCommand cmd = new SqlCommand("select * from message ", con);
SqlDataReader dr = cmd.ExecuteReader();
while (dr.Read())
{
if (str1 == "")
{
str1 = dr["mobileno"].ToString();
}
else
{
str1 += "," + dr["mobileno"].ToString();
}
TextBox1.Text = str1;
}
}
protected void Button3_Click(object sender, EventArgs e)
{
sendmessage(TextBox1.Text, TextBox2.Text);
}
public void sendmessage(string targetno, string message)
{
}
}
&n
bsp;  
; &n
bsp;  
; &n
bsp; <asp:Label
ID="Label1" runat="server" ForeColor="#FF0066"
style="font-weight: 700; text-decoration: underline; font-size: large"
Text="Sending Message"></asp:Label>
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
</td>
<td class="style2">
</td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
&n
bsp;  
;
<asp:Label ID="Label2" runat="server" Text="Mobile Number"
style="font-weight: 700; font-style: italic"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox1" runat="server" ontextchanged="TextBox1_TextChanged"
TextMode="MultiLine" Height="22px"></asp:TextBox>
</td>
<td style="width: 200px">
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="* Please Enter Your Mobile No"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
</td>
<td class="style2">
</td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
&n
bsp;  
; &n
bsp;
<asp:Label ID="Label3" runat="server" Text="Message"
style="font-weight: 700; font-style: italic"></asp:Label>
</td>
<td class="style2">
<asp:TextBox ID="TextBox2" runat="server" ontextchanged="TextBox2_TextChanged"
TextMode="MultiLine" Height="21px"></asp:TextBox>
</td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
</td>
<td class="style2">
</td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
&n
bsp;  
;
<asp:Button ID="Button2" runat="server" Height="30px" onclick="Button2_Click"
Text="Select All Mobile No" Width="145px" />
</td>
<td class="style2" style="text-align: left">
<asp:Button ID="Button3" runat="server" Height="29px" onclick="Button3_Click"
Text="Send" Width="89px" />
</td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
</td>
<td class="style2">
</td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
</td>
<td class="style2">
</td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
</td>
<td class="style2">
</td>
<td style="width: 200px">
</td>
</tr>
<tr>
<td class="style3" style="width: 105px">
</td>
<td class="style4" style="width: 280px">
</td>
<td class="style2">
</td>
<td style="width: 200px">
</td>
</tr>
</table>
</asp:Content>
Register
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
}
protected void Button1_Click(object sender, EventArgs e)
{
}
}
Renewal
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
&n
bsp;  
; &n
bsp;  
; &n
bsp;  
;
<asp:Label ID="Label7" runat="server"
style="font-weight: 700; font-size: large" Text="Renewal"></asp:Label>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
</td>
<td>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
</td>
<td>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
<asp:Label ID="Label1" runat="server" Text="Date"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
<asp:Label ID="Label2" runat="server" Text="License Number"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox2" runat="server" Height="21px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox2" ErrorMessage="* Please Enter Your License No"
style="color: #660066; background-color: #FFFFFF"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
<asp:Label ID="Label3" runat="server" Text="Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="TextBox3" ErrorMessage="* Please Enter Your Name"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
<asp:Label ID="Label4" runat="server" Text="Address"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ControlToValidate="TextBox4" ErrorMessage="* Please Enter Your Address"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
<asp:Label ID="Label5" runat="server" Text="Proof Name"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="TextBox5" ErrorMessage="* Please Enter Your Proof Name"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
<asp:Label ID="Label6" runat="server" Text="Proof Number"></asp:Label>
</td>
<td>
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
ControlToValidate="TextBox6" ErrorMessage="* Please Enter Your Proof Number"
style="color: #660066"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="style2" style="width: 218px">
</td>
<td class="style3" style="width: 107px">
</td>
<td>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Sumbit" />
</td>
</tr>
</table>
</asp:Content>
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="User
Login.aspx.cs" Inherits="User_Login" %>
&n
bsp;  
; &n
bsp;  
; &n
bsp;  
;
<asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-Large"
Text="User Login"></asp:Label>
</td>
</tr>
<tr>
<td style="width: 422px">
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align: left; width: 422px">
&n
bsp;  
; &n
bsp;  
; &n
bsp;  
; &n
bsp;
<asp:Label ID="Label2" runat="server" Text="User Name"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align: right; width: 422px">
&n
bsp;  
; &n
bsp;  
; &n
bsp;  
; &n
bsp;  
;
<asp:Label ID="Label3" runat="server" Text="Password"></asp:Label>
</td>
<td style="text-align: left">
<asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align: left; width: 422px">
</td>
<td style="text-align: left">
<asp:Button ID="Button2" runat="server" Height="26px" onclick="Button2_Click"
Text="Login" Width="91px" />
</td>
<td>
</td>
</tr>
<tr>
<td style="width: 422px">
</td>
<td>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Register.aspx">?New User</asp:HyperLink>
</td>
<td>
</td>
</tr>
</table>
</asp:Content>
Use Login
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
}
protected void Button2_Click(object sender, EventArgs e)
{
//SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\vijay\Web
RTO\App_Data\rto.mdf;Integrated Security=True;User Instance=True");
con.Open();
SqlCommand cmd = new SqlCommand("select * from register where UserName='" + TextBox1.Text + "' and
Password='" + TextBox2.Text + "' ", con);
//Session["username"] = TextBox1.Text;
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
if (dt.Rows.Count > 0)
{
Session["username"] = TextBox1.Text;
Response.Redirect("Apply License.aspx");
}
else
{
Response.Write("<script language=javascript>alert('plz given correct password')</script>");
}
}
}
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="User.master.cs" Inherits="User" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title> Web RTO</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div id="header">
<div id="logo">
<h1><a href="#"> Web RTO </a></h1>
<h2><a href="http://www.freecsstemplates.org/"></a></h2>
</div>
<div id="menu">
<ul>
<li class="active"><a href="User Login.aspx">Home</a></li>
<li><a href="Register.aspx">Register</a></li>
<li><a href="Apply License.aspx">Apply License</a></li>
<li><a href="Renewal.aspx">Renewal</a></li>
<li><a href="Login Page.aspx">Logout</a></li>
</ul>
</div>
</div>
<div id="page">
<!-- end content -->
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
<!-- end page -->
</form>
</body>
</html>
View User Details
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
}
//protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
//{
//// if (DropDownList1.Text == "user register details")
// {
// SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\vijay\Web
RTO\App_Data\rto.mdf;Integrated Security=True;User Instance=True");
// con.Open();
// SqlCommand cmd = new SqlCommand("select * from register", con);
// SqlDataAdapter dr = new SqlDataAdapter(cmd);
// dr.Fill(ds, "register");
// GridView1.DataSource = ds;
// GridView1.DataMember = "register";
// }
// if (DropDownList1.Text == "request details")
// {
// SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\vijay\Web
RTO\App_Data\rto.mdf;Integrated Security=True;User Instance=True");
// con.Open();
// SqlCommand cmd = new SqlCommand("select * from request", con);
// SqlDataAdapter dr = new SqlDataAdapter(cmd);
// dr.Fill(ds, "request");
// GridView1.DataSource = ds;
// GridView1.DataMember = "request";
// }
// if (DropDownList1.Text == "Renewal")
// {
// SqlConnection con = new SqlConnection(@"Data Source=.\SQLEXPRESS;AttachDbFilename=D:\vijay\Web
RTO\App_Data\rto.mdf;Integrated Security=True;User Instance=True");
// con.Open();
// SqlCommand cmd = new SqlCommand("select * from renewal", con);
// SqlDataAdapter dr = new SqlDataAdapter(cmd);
// DataSet ds = new DataSet();
// dr.Fill(ds, "renewal");
// GridView1.DataSource = ds;
// GridView1.DataMember = "renewal";
// }
//}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
public partial class Viewlicense : System.Web.UI.Page
{
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["db"].ToString());
}
protected void Button1_Click(object sender, EventArgs e)
{
con.Open();
cmd = new SqlCommand("select * from request where name='" + TextBox1.Text + "'", con);
SqlDataReader Reader = cmd.ExecuteReader();
if (Reader.Read())
{
cmd = new SqlCommand("select * from request where name='" + TextBox1.Text + "'", con);
con.Close();
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
else
{
Label3.Text = "Name Not Found";
}
}
}
View Renewal
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
cmd = new SqlCommand("select * from renewal where name='" + TextBox1.Text + "'", con);
con.Close();
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
GridView1.DataSource = dt;
GridView1.DataBind();
}
else
{
Label3.Text = "Name Not Found";
}
}
}
<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="View
User Details.aspx.cs" Inherits="View_User_Details1" %>
&n
bsp;  
; &n
bsp;  
; <asp:Label
ID="Label1" runat="server" Text="View Register Details"
ForeColor="#660066" style="font-size: large; font-family: Andalus"></asp:Label>
</td>
</tr>
<tr>
<td class="style4" style="width: 479px">
</td>
<td class="style5" style="width: 20px">
</td>
<td style="width: 726px">
</td>
</tr>
<tr>
<td class="style4" style="width: 479px">
</td>
<td class="style5" style="width: 20px">
<asp:Label ID="Label2" runat="server" Text="View" ForeColor="#660066"></asp:Label>
</td>
<td style="width: 726px">
</td>
</tr>
<tr>
<td class="style4" colspan="3">
<asp:GridView ID="GridView1" runat="server" BackColor="White"
BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4"
style="margin-left: 27px" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1">
<Columns>
<asp:BoundField DataField="user_id" HeaderText="user_id"
SortExpression="user_id" />
<asp:BoundField DataField="name" HeaderText="name" SortExpression="name" />
<asp:BoundField DataField="fathername" HeaderText="fathername"
SortExpression="fathername" />
<asp:BoundField DataField="age" HeaderText="age" SortExpression="age" />
<asp:BoundField DataField="address" HeaderText="address"
SortExpression="address" />
<asp:BoundField DataField="email_id" HeaderText="email_id"
SortExpression="email_id" />
<asp:BoundField DataField="mobile_no" HeaderText="mobile_no"
SortExpression="mobile_no" />
<asp:BoundField DataField="username" HeaderText="username"
SortExpression="username" />
<asp:BoundField DataField="password" HeaderText="password"
SortExpression="password" />
<asp:BoundField DataField="gender" HeaderText="gender"
SortExpression="gender" />
</Columns>
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="#FFFFCC" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099" HorizontalAlign="Center" />
<RowStyle BackColor="White" ForeColor="#330099" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
<SortedAscendingCellStyle BackColor="#FEFCEB" />
<SortedAscendingHeaderStyle BackColor="#AF0101" />
<SortedDescendingCellStyle BackColor="#F6F0C0" />
<SortedDescendingHeaderStyle BackColor="#7E0000" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [register]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td class="style4" style="width: 479px">
</td>
<td class="style5" style="width: 20px">
</td>
<td style="width: 726px">
</td>
</tr>
<tr>
<td class="style4" style="width: 479px">
</td>
<td class="style5" style="width: 20px">
</td>
<td style="width: 726px">
</td>
</tr>
<tr>
<td class="style4" style="width: 479px">
</td>
<td class="style5" style="width: 20px">
</td>
<td style="width: 726px">
</td>
</tr>
<tr>
<td class="style4" style="width: 479px">
</td>
<td class="style5" style="width: 20px">
</td>
<td style="width: 726px">
</td>
</tr>
</table>
</asp:Content>
Screenshots
Home Page
Admin Login
Admin Home
View Register Details
License Details
View Renewal Details
View License Details
User Registration
User Login
Apply License
Renewal
Message