You are on page 1of 125

“RTA INFORMATION SYSTEM”

CHAPTER 1

INTRODUCTION

RTA Information System (RTA) is an online information source developed for


Road Transport Authority to facilitate the users in applying for various licenses and
registrations. This tool has been designed to facilitate the flow of information within
the organization.RTA provides the facility of applying licenses online, issuance of
permanent license, tax challans, and receiving payments against challans.

The System keeps track of the transactions in the RTO office. It maintains
Renewal of learner’s License, Renewal of permanent license,Issue of learner’s
license, Online LLR Form,Registration Form,Issue of perminent license,payment
against challan and finally it produce printouts to payment of customers.

E-RTA Management System- Information System is an online information


source developed for Road Transport Authority to facilitate the users in applying for
various licenses and registrations. This tool has been designed to facilitate the flow of
information within the organization. E-CHALLANS provides the facility of applying
licenses online, issuance of permanent license, tax challans, and receiving payments
against challans.

In the Previous System It is not efficient in performing office work in RTO


services, It includes much manual process and time consuming, It is not user friendly,
Maintains local data base. It is not Generating Accurate Reports.

The Existing system of E-RTA Management System services has been is


usage for two years. The existing system is not giving accurate results while doing
transactions. It doesn’t provide security, anyone enter into the system and can do their
own transactions. It is not flexible in generating reports and many manual processes
are made computerized.

CMCS, Yavatmal (2018-2019)


1
“RTA INFORMATION SYSTEM”

To overcome problems in the existing System a new RTO services “Road


Transport Authority Information System” is proposed after study of system. The
objectives of proposed system are: Ensure data integrity and security, less manpower,
Generate accurate reports, Accurate handling in multiple details.

1.1 SYSTEM STUDY

System analysis will be performed to determine if it is feasible to design


information based on policies and plans of the organization and on user requirements
and to eliminate the weaknesses of the present system.

 The new system should be cost effective.


 To augment management, improve productivity and services.
 To enhance user / system interface.
 To improve information, qualify and usability.
 To upgrade systems reliability, availability, flexibility and growth potential.

1. 1. 1 Purpose of the System

The System keeps track of the transactions in the RTO office. It maintains
Renewal of learner’s License, Renewal of permanent license, Issue of learner’s
license, Online LLR Form, Registration Form, Issue of permanent license, payment
against challans and finally it produces printouts to payment of customers.

1. 1. 2 Project Scope

This project Deals with the transactions of RTO services office: -

 Renewal of learner’s license.

 Renewal of permanent license.

 Issue of learner’s license.

CMCS, Yavatmal (2018-2019)


2
“RTA INFORMATION SYSTEM”

 Issue of permanent license.

 Registration Form

 Payment against challan.

 Online LLR Form

CMCS, Yavatmal (2018-2019)


3
“RTA INFORMATION SYSTEM”

1. 2 SYSTEM ANALYSIS

1. 2. 1 Existing System

The Existing system of RTO services has been is usage for two years. The
existing system is not giving accurate results while doing transactions. It doesn’t
provide security; anyone enter into the system and can do their own transactions. It is
not flexible in generating reports. and many manual processes are made
computerized.
The present system has following drawbacks:
 It is not efficient in performing office work in RTO services.
 It includes much manual process and time consuming.
 It is not user friendly.
 Maintains local data base.
 It is not Generating Accurate Reports.

1. 2. 2 Proposed System

To overcome problems in the existing System a new RTO services “Road


Transport Authority Information System” is proposed after study of system. The
objectives of proposed system are:

 Facilities ease of operation.

 Ensure data integrity and security.

 Less manpower.

 Generate accurate reports.

 Accurate handling in multiple details of multiple customers.

CMCS, Yavatmal (2018-2019)


4
“RTA INFORMATION SYSTEM”

1.2.3 Project definition

The System keeps track of the transactions in the RTO office. It maintains
Renewal of learner’s License, Renewal of permanent license, Issue of learner’s
license, Online LLR Form, Registration Form, Issue of permanent license, payment
against challans and finally it produces printouts to payment of customers.

1.2.4. Requirement Specification

Hardware Requirements

 Processor : Intel Pentium-IV Process

 Random Access Memory : (Minimum) 512 MB

 Hard Disk : 20 GB

Software Requirements

 Front-End : Visual Studio 2008

 Web Server : IIS 5.1

 Back End : SQL server 2005

 Support : Framework 2.0

 Operating System : Windows XP (service pack 2)

 Supporting tools : Microsoft Word for document

Database:

 MySql

CMCS, Yavatmal (2018-2019)


5
“RTA INFORMATION SYSTEM”

Tools Used:

 .Net Framework 2.0

Technologies Used:

 ASP: ASP (Active Server Pages) used for connecting database to web
page.

 HTML: Hypertext Markup Language used to design static web page.

1.2.5 Introduction of Front-end, Back-end and Server

Frontend- Asp.net 2008 with C#

ASP.NET is an open-source server-side web application framework designed


for web development to produce dynamic web pages. It was developed by Microsoft
to allow programmers to build dynamic web sites, web applications and web services.

It was first released in January 2002 with version 1.0 of the .NET Framework,
and is the successor to Microsoft's Active Server Pages (ASP) technology. ASP.NET
is built on the Common Language Runtime (CLR), allowing programmers to write
ASP.NET code using any supported .NET language. The ASP.NET SOAP extension
framework allows ASP.NET components to process SOAP messages.

ASP.NET's successor is ASP.NET Core. It is a re-implementation of


ASP.NET as a modular web framework, together with other frameworks like Entity
Framework. The new framework uses the new open-source .NET Compiler Platform
(codename "Roslyn") and is cross platform. ASP.NET MVC, ASP.NET Web API,
and ASP.NET Web Pages (a platform using only Razor pages) have merged into a
unified MVC 6.

CMCS, Yavatmal (2018-2019)


6
“RTA INFORMATION SYSTEM”

Backend-MS-SQL Server

Microsoft SQL Server is a relational database management system developed


by Microsoft. As a database server, it is a software product with the primary function
of storing and retrieving data as requested by other software applications—which may
run either on the same computer or on another computer across a network (including
the Internet).

Microsoft markets at least a dozen different editions of Microsoft SQL Server,


aimed at different audiences and for workloads ranging from small single-machine
applications to large Internet-facing applications with many concurrent users.

CMCS, Yavatmal (2018-2019)


7
“RTA INFORMATION SYSTEM”

CHAPTER 2

DESIGN

SYSTEM DEVELOPMENT LIFE CYCLE

Systems Development Life Cycle (SDLC) is the most common process


adopted to develop a project and not surprisingly, this project is following this model
too. To be precise, waterfall model is being applied. Waterfall model is a sequential
model process where the input of a phase actually results from the previous phase.

Figure 2. 1: “SDLC Phases”

There are five phases in this model and the first phase is the planning stage.
The planning stage determines the objectives of the project and whether the project
should be given the green light to proceed. This is where the proposal submission
comes into picture. After obtaining the approval, the next phase is analysis.
Gathering and analysing the system and user requirements is essential for entry to the
design step.

With the user requirements gathering completed, there is a need to prepare the
resources for the project. Be it software or hardware components, careful
consideration and selection is to be taken care at this stage. The decision on the
appropriate resources to be used is further elaborated under the subsections below.
The next step is to design the system and database structure.

CMCS, Yavatmal (2018-2019)


8
“RTA INFORMATION SYSTEM”

Results from the analysis and preparation that were concluded from the
previous stage are put into action. With the user requirements in mind, the flow of the
system is planned and the user interface is designed to suit their easy navigation
needs. In addition, the number of tables, attributes, primary and unique keys of the
database is listed.

After completing the design, actual coding begins. Database is created and
codes are written. Some of the codes required amendments and improvement to it so
these are being developed at this fourth stage of the waterfall model. With the
development completed, testing will begin. The codes and database are tested to
ensure the results obtained are as intended. More time is spent on both development
and testing stages because it is inevitable to have errors and issues and buffer time is
allocated for troubleshooting.

CMCS, Yavatmal (2018-2019)


9
“RTA INFORMATION SYSTEM”

2.1 Use case Diagram:

2.1.1 Login:

LOGIN

EXISTING USER RTA INFORMATION SYSTEM

Fig no 2.1.1: Use Case Diagram of Login

2.1.2 Sign up:

REGISTRATION

NEW USER

SIGN UP LOGIN

Fig no 2.1.2: Use Case Diagram for Sign Up

CMCS, Yavatmal (2018-2019)


10
“RTA INFORMATION SYSTEM”

2.1.3 System:

open site

Apply for LLR

Challana form

Conduct Exam
RTO
Client

Write Exam

View Result

Issue LLR

Fig 2.1.3 Use Case Diagram of System

CMCS, Yavatmal (2018-2019)


11
“RTA INFORMATION SYSTEM”

2. 2 DFD

The DFD takes an input-process-output view of a system i. e. data objects


flow into the software, are transformed by processing elements, and resultant data
objects flow out of the software.

Data objects represented by labeled arrows and transformation are represented


by circles also called as bubbles. DFD is presented in a hierarchical fashion i. e. the
first data flow model represents the system as a whole. Subsequent DFD refine the
context diagram (level 0 DFD), providing increasing details with each subsequent
level.

The DFD enables the software developer to develop models of the information
domain & functional domain at the same time. As the DFD is refined into greater
levels of details, the analyst performs an implicit functional decomposition of the
system. At the same time, the DFD refinement results in a corresponding refinement
of the data as it moves through the processes that embody the applications.

A context-level DFD for the system the primary external entities produce
information for use by the system and consume information generated by the system.
The labeled arrow represents data objects or object hierarchy.

RULES FOR DFD:

 Fix the scope of the system by means of constant diagrams.

 Organize the DFD so that the main sequence of the actions

 Reads left to right and top to bottom.

 Identify all inputs and outputs.

 Identify and label each process internal to the system with


Rounded circles.

 A process is required for all the data transformation and


Transfers. Therefore, never connect a data store to a data
Source or the destinations or another data store with just a Data
flow arrow.

CMCS, Yavatmal (2018-2019)


12
“RTA INFORMATION SYSTEM”

 Do not indicate hardware and ignore control information.

 Make sure the names of the processes accurately convey


everything the process is done.

 There must not be unnamed process.

 Indicate external sources and destinations of the data, with


Squares.

 Number each occurrence of repeated external entities.

 Identify all data flows for each process step, except simple
Record retrievals.

 Label data flow on each arrow.

 Use details flow on each arrow.

CMCS, Yavatmal (2018-2019)


13
“RTA INFORMATION SYSTEM”

2.2.1 0 Level DFD

START

LOGIN

MAIN ACTIVITY SIGN UP

LOGOUT

STO
P

2.2.1 0 level DFD

CMCS, Yavatmal (2018-2019)


14
“RTA INFORMATION SYSTEM”

2. 2. 2 1 level DFD:

A level 0 DFD, also called a fundamental system model or context diagram


represents the entire software element as a single bubble with input and output data
indicated by incoming and outgoing arrows, respectively.

Figure 2.2.2 1 level DFD

CMCS, Yavatmal (2018-2019)


15
“RTA INFORMATION SYSTEM”

2. 3 ER-Diagram:

The Entity-Relationship (ER) model was originally proposed by Peter in 1976


as a way to unify the network and relational database views. Simply stated the ER
model is a conceptual data model that views the real world as entities and
relationships. A basic component of the model is the Entity-Relationship diagram
which is used to visually represent data objects. Since Chen wrote his paper the
model has been extended and today it is commonly used for database design For the
database designer, the utility of the ER model is:

 It maps well to the relational model. The constructs used in the ER model can
easily be transformed into relational tables.

 It is simple and easy to understand with a minimum of training. Therefore, the


model can be used by the database designer to communicate the design to the end
user.

 In addition, the model can be used as a design plan by the database developer
to implement a data model in specific database management software.

Connectivity and Cardinality

The basic types of connectivity for relations are: one-to-one, one-to-many, and
many-to-many. A one-to-one (1:1) relationship is when at most one instance of a
entity A is associated with one instance of entity B. For example, employees in the
company are each assigned their own office. For each employee there exists a unique
office and for each office there exists a unique employee.

A one-to-many (1:N) relationships is when for one instance of entity A, there


are zero, one, or many instances of entity B, but for one instance of entity B, there is
only one instance of entity A. An example of a 1: N relationships is a department
has many employees each employee is assigned to one department.

CMCS, Yavatmal (2018-2019)


16
“RTA INFORMATION SYSTEM”

E-R Notation:

There is no standard for representing data objects in ER diagrams. Each


modeling methodology uses its own notation. The original notation used by Chen is
widely used in academics texts and journals but rarely seen in either CASE tools or
publications by non-academics. Today, there are a number of notations used, among
the more common are Bachman, crow's foot, and IDEFIX.

All notational styles represent entities as rectangular boxes and relationships


as lines connecting boxes. Each style uses a special set of symbols to represent the
cardinality of a connection.

The notation used in this document is from Martin. The symbols used for the
basic ER constructs are:

 Entities are represented by labeled rectangles. The label is the name of the
entity. Entity names should be singular nouns.

 Relationships are represented by a solid line connecting two entities. The name
of the relationship is written above the line. Relationship names should be verbs

 Attributes, when included, are listed inside the entity rectangle. Attributes
which are identifiers are underlined. Attribute names should be singular nouns.

 Cardinality of many is represented by a line ending in a crow's foot. If the


crow's foot is omitted, the cardinality is one.

CMCS, Yavatmal (2018-2019)


17
“RTA INFORMATION SYSTEM”

2.3.1 E-R-Diagram

Figure 2.3.1 ER Diagram

CMCS, Yavatmal (2018-2019)


18
“RTA INFORMATION SYSTEM”

2. 4 DATABASE DESIGN

2. 4. 1 Addemp Table:

Table: 2. 4. 1 : Addemp Table

2. 4. 2 Admin Table:

Table:2. 4. 2: Admin Table

2. 4. 3 ApplyLLR Table:

2. 4. 3 ApplyLLR Table

CMCS, Yavatmal (2018-2019)


19
“RTA INFORMATION SYSTEM”

2. 4. 4 Challan Table:

2. 4. 4 Challan Table

2.4.5 IssuedLLR Table:

2.4.5 IssuedLLR Table

CMCS, Yavatmal (2018-2019)


20
“RTA INFORMATION SYSTEM”

2.4.6 IssuedPL Table

2.4.6 IssueedPL Table

2.4.7 LLR Details Table

2.4.7 LLR Details Table

CMCS, Yavatmal (2018-2019)


21
“RTA INFORMATION SYSTEM”

2.4.8 LLR Exam Table:

2.3.8 LLR Exam Table:

2.4.9 Payments Table:

2.4.9 Payments Table:

CMCS, Yavatmal (2018-2019)


22
“RTA INFORMATION SYSTEM”

2.4.10 PL Details Table

2.4.10 PL Details Table

2.4.11 Results Table

2.4.11 Results Table

CMCS, Yavatmal (2018-2019)


23
“RTA INFORMATION SYSTEM”

2.4.12 Renew PL Table

2.4.12 Renew PL Table

2.4.13 Registration Details PL Table

2.4.13 Registration Details PL Table

CMCS, Yavatmal (2018-2019)


24
“RTA INFORMATION SYSTEM”

2.5 Module Description

RTA has the following modules

1. Application for learner license.

Here the applicants can apply for the learner’s license by filling all the
required information for isueing the permanent license.

2. Issuance of permanent license.

Here the applicants can apply for the permanent license by filling all the
required information for isueing the permanent license.

3. Issuance of road tax challans for transport vehicles.

Here the apllicants can issue the road tax challans for their transport vehicles.

4. Receiving payments against challans.

After completion of any of the operation and after successful payment, the
record is inserted into the database.

CMCS, Yavatmal (2018-2019)


25
“RTA INFORMATION SYSTEM”

2.6 OUTPUT FORMS

Home Page

This is the Home Page of the Website.

Vehicle Details

This page shows the vehicle information.

CMCS, Yavatmal (2018-2019)


26
“RTA INFORMATION SYSTEM”

License Holder Details

This page shows the inforamtion of the license holders.

Home RTO

This the Home page of RTO.

CMCS, Yavatmal (2018-2019)


27
“RTA INFORMATION SYSTEM”

Welcome Page

This is the Welcome Page of the RTO

View LLR Applicants

This shows the LLR Applicants list and information.

CMCS, Yavatmal (2018-2019)


28
“RTA INFORMATION SYSTEM”

View Online Applicants

View Information

CMCS, Yavatmal (2018-2019)


29
“RTA INFORMATION SYSTEM”

View Exam Results

Shows the exam results.

Exam Results

Shows the exam results.

CMCS, Yavatmal (2018-2019)


30
“RTA INFORMATION SYSTEM”

Exam Results

LLR issueing

CMCS, Yavatmal (2018-2019)


31
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


32
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


33
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


34
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


35
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


36
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


37
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


38
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


39
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


40
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


41
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


42
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


43
“RTA INFORMATION SYSTEM”

CMCS, Yavatmal (2018-2019)


44
“RTA INFORMATION SYSTEM”

CHAPTER 3

IMPLEMENTATION

Login Page

1. Login.Master

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Login.master.cs"


Inherits="Login" %>

<!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 rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#cccccc">
<form id="form1" runat="server">
<table style="width: 100%">
<tr>
<td style="width: 100%">
<asp:Image ID="Image1" runat="server" BorderColor="Black"
BorderStyle="Groove" BorderWidth="3px"
Height="238px" ImageUrl="~/images/main Banner.jpg"
Width="100%" /></td>
</tr>
<tr>
<td style="width: 100%">
</td>
</tr>
<tr>
<td style="width: 100%; height: 235px">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; text-align: center">
<strong><span style="color: #663333">
<a
href="mailto:Copyright@AshishMohareRevolutionCreation2019">Copyright@Ashis
hMohareRevolutionCreation2019</a></span></strong></td>
</tr>
</table>
</form></body></html>

CMCS, Yavatmal (2018-2019)


45
“RTA INFORMATION SYSTEM”

2. login.aspx

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


AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" Title="Untitled
Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%; position: static">
<tr>
<td colspan="2" style="height: 17px; text-align: center">
<strong><span style="font-size: 32pt;"><span style="font-family:
Verdana"><span style="color: #996633">
<span
style="text-decoration: underline; font-size: 24pt;">Sign in</span>
</span>
</span>
</span></strong>
</td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="font-size: 12pt; color: #663333">&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; UserID:&nbsp;</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtemail" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right; height: 28px;">
<strong><span style="font-size: 12pt; color: #663333">Password:
</span></strong>
</td>
<td style="width: 50%; height: 28px;">
<asp:TextBox ID="txtpass" runat="server" Style="position: static"
TextMode="Password"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:Label ID="Label1" runat="server" ForeColor="Red" Style="position:
static"></asp:Label></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:Button ID="btnlogin" runat="server" BorderColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"

CMCS, Yavatmal (2018-2019)


46
“RTA INFORMATION SYSTEM”

OnClick="Button1_Click" Style="position: static" Text="Login"


Width="72px" /></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:LinkButton ID="LinkButton1" runat="server" Font-Bold="True"
ForeColor="#000040"
Style="position: static" PostBackUrl="~/Register.aspx">Sign
up</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:LinkButton ID="LinkButton2" runat="server" Font-Bold="True"
ForeColor="#000040"
Style="position: static" PostBackUrl="~/forget.aspx">Forget Password ?
</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
&nbsp;</td>
<td style="width: 50%">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT * FROM [profile1]"></asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


47
“RTA INFORMATION SYSTEM”

Register Page

1. Register.Master

<%@ Master Language="C#" AutoEventWireup="true"


CodeFile="Register.master.cs" Inherits="Register" %>

<!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 rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#999999">
<form id="form1" runat="server">
<table style="width: 100%">
<tr>
<td style="width: 100%">
<asp:Image ID="Image1" runat="server" Height="238px"
ImageUrl="~/images/main Banner.jpg"
Width="100%" BorderColor="Black" BorderStyle="Groove"
BorderWidth="3px" /></td>
</tr>
<tr>
<td style="width: 100%">
</td>
</tr>
<tr>
<td style="width: 100%; height: 235px">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; text-align: center">
<strong><span style="color:
#663333">Copyright@RevolutionCreation.Com</span></strong></td>
</tr>
</table>
</form>
</body>
</html>

CMCS, Yavatmal (2018-2019)


48
“RTA INFORMATION SYSTEM”

2. Register.aspx

<%@ Master Language="C#" AutoEventWireup="true"


CodeFile="Register.master.cs" Inherits="Register" %>

<!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 rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#999999">
<form id="form1" runat="server">
<table style="width: 100%">
<tr>
<td style="width: 100%">
<asp:Image ID="Image1" runat="server" Height="238px"
ImageUrl="~/images/main Banner.jpg"
Width="100%" BorderColor="Black" BorderStyle="Groove"
BorderWidth="3px" /></td>
</tr>
<tr>
<td style="width: 100%">
</td>
</tr>
<tr>
<td style="width: 100%; height: 235px">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; text-align: center">
<strong><span style="color:
#663333">Copyright@RevolutionCreation.Com</span></strong></td>
</tr>
</table>
</form>
</body>
</html>

CMCS, Yavatmal (2018-2019)


49
“RTA INFORMATION SYSTEM”

forget.aspx

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


AutoEventWireup="true" CodeFile="forget.aspx.cs" Inherits="forget" Title="Untitled
Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%; position: static">
<tr>
<td colspan="2" style="text-align: center; height: 49px;">
<strong><span style="font-size: 24pt; color: #ff3300; font-family:
Chiller">Forget Password
?</span></strong></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<span style="font-size: 12pt; color:
#ffffff"><strong>UserID</strong></span></td>
<td style="width: 50%">
<asp:TextBox ID="txtemail" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right; color: white;">
<strong>
Security Question</strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtsque" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<span style="color: #ffffff"><strong>
Ans</strong></span></td>
<td style="width: 50%">
<asp:TextBox ID="txtsans" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<span style="color: #ffffff"><strong>Password</strong></span></td>
<td style="width: 50%">
<asp:Label ID="lblpass" runat="server" Font-Bold="True"
ForeColor="Blue" Style="position: static"></asp:Label></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">

CMCS, Yavatmal (2018-2019)


50
“RTA INFORMATION SYSTEM”

<asp:Button ID="btnsubmit" runat="server" BackColor="#C0C0FF" Font-


Bold="True" ForeColor="#000040"
Style="position: static" Text="Submit" Width="78px"
OnClick="btnsubmit_Click" /></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:Label ID="lblerror" runat="server" Style="position: static" Font-
Bold="True" ForeColor="Red"></asp:Label></td>
</tr>
</table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


51
“RTA INFORMATION SYSTEM”

adminhome.Master

<%@ Master Language="C#" AutoEventWireup="true"


CodeFile="adminhome.master.cs" Inherits="Admin_adminhome" %>

<!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 rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#333399">
<form id="form1" runat="server">
<table style="width: 100%; position: static">
<tr>
<td colspan="9" style="width: 100%">
&nbsp;
<strong>Wel Come To:&nbsp;
<asp:Label ID="lbluser" runat="server" Font-Bold="True"
ForeColor="White" Style="vertical-align: top;
position: static; text-align: center"></asp:Label></strong></td>
</tr>
<tr>
<td colspan="9" style="width: 100%">
<asp:Image ID="Image1" runat="server" BorderColor="Black"
BorderStyle="Groove" BorderWidth="3px"
Height="256px" ImageUrl="~/images/AdminBanner copy.jpg"
Style="position: static"
Width="100%" /></td>
</tr>
<tr>
<td style="width: 10%">
<asp:Button ID="btnhome" runat="server" BackColor="Gray" Font-
Bold="True" ForeColor="White"
Style="position: static" Text="Home" ValidationGroup="1"
Width="95px" /></td>
<td style="width: 15%">
<asp:Button ID="Button1" runat="server" BackColor="Gray" Font-
Bold="True" ForeColor="White"
PostBackUrl="~/Admin/Advertisement.aspx" Style="position: static"
Text="Advertisements"
ValidationGroup="1" /></td>
<td style="width: 10%">
&nbsp;<asp:Button ID="btnnews" runat="server" BackColor="Gray"
Font-Bold="True" ForeColor="White"
PostBackUrl="~/Admin/news.aspx" Style="position: static"
Text="News" ValidationGroup="1"
Width="96px" /></td>

CMCS, Yavatmal (2018-2019)


52
“RTA INFORMATION SYSTEM”

<td style="width: 10%">


<asp:Button ID="btnchkuser" runat="server" BackColor="Gray" Font-
Bold="True" ForeColor="White"
PostBackUrl="~/Admin/checkuser.aspx" Style="position: static"
Text="Check User"
ValidationGroup="1" /></td>
<td style="width: 10%">
&nbsp;<asp:Button ID="Feedback" runat="server" BackColor="Gray"
Font-Bold="True"
ForeColor="White" PostBackUrl="~/Admin/afeedback.aspx"
Style="position: static"
Text="Feedback" ValidationGroup="1" Width="96px" /></td>
<td style="width: 15%">
<asp:Button ID="changepassword" runat="server" BackColor="Gray"
Font-Bold="True"
ForeColor="White" PostBackUrl="~/Admin/changepassword.aspx"
Text="Change password"
ValidationGroup="1" Width="134px" /></td>
<td colspan="2" style="width: 20%">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&nbsp;
<asp:Button ID="Button2" runat="server" BackColor="Gray" Font-
Bold="True"
ForeColor="White" PostBackUrl="~/Admin/Prev.aspx"
Text="Enable/Disable"
ValidationGroup="1" Width="132px" />
&nbsp; &nbsp; &nbsp;&nbsp;
</td>
<td style="width: 9%">
<asp:Button ID="btnlogout" runat="server" BackColor="Gray" Font-
Bold="True" ForeColor="White"
OnClick="btnlogout_Click" Style="position: static" Text="Logout"
ValidationGroup="1"
Width="85px" /></td>
</tr>
</table>
<table style="width: 100%; position: static">
<tr>
<td style="width: 100%">
&nbsp;<asp:ContentPlaceHolder ID="ContentPlaceHolder1"
runat="server">
&nbsp;
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</form>
</body></html>

CMCS, Yavatmal (2018-2019)


53
“RTA INFORMATION SYSTEM”

adminlogin.aspx

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


AutoEventWireup="true" CodeFile="adminlogin.aspx.cs"
Inherits="Admin_adminlogin" Title="Untitled Page" %>
<%-- Add content controls here --%>
<asp:Content ID="Content1" runat="server"
ContentPlaceHolderID="ContentPlaceHolder1">
<table style="width: 100%; position: static">
<tr>
<td style="width: 50%; text-align: right">
<span style="font-size: 12pt; color: #ffffff"><strong>Admin
UserID:</strong></span></td>
<td style="width: 50%">
<asp:TextBox ID="txtemail" runat="server" Style="position:
static"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtemail"
ErrorMessage="please Insert the UserName
">*</asp:RequiredFieldValidator><span style="color: #ffffff"><strong>
</strong></span>
</td>
</tr>
<tr style="font-weight: bold; color: #ffffff">
<td style="width: 50%; height: 22px; text-align: right">
<span style="font-size: 12pt">Password:</span></td>
<td style="width: 50%; height: 22px">
<asp:TextBox ID="txtpass" runat="server" Style="position: static"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtpass"
ErrorMessage="Please Insert the
Password">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:Button ID="Button6" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
OnClick="Button6_Click" Style="position: static" Text="Login"
Width="68px" /></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:Label ID="lblerror" runat="server" Font-Bold="True"
ForeColor="Red" Style="position: static"></asp:Label><br />
<br />

CMCS, Yavatmal (2018-2019)


54
“RTA INFORMATION SYSTEM”

<asp:ValidationSummary ID="ValidationSummary1" runat="server" />


<br />
<br />
</td>
</tr>
</table>
</asp:Content>

Adminlogin.master

<%@ Master Language="C#" AutoEventWireup="true"


CodeFile="Adminlogin.master.cs" Inherits="Admin_Adminlogin" %>

<!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 rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#333399">
<form id="form1" runat="server">
<table style="width: 100%">
<tr>
<td style="width: 100%; height: 21px">
</td>
</tr>
<tr>
<td style="width: 100%; height: 21px">
</td>
</tr>
<tr>
<td style="width: 100%; height: 21px">
</td>
</tr>
<tr>
<td style="width: 100%; height: 21px">
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; background-
color: #cccc66;
text-align: center">
<strong><span style="font-size: 16pt; color: #663333; font-family:
Verdana">Admin Login</span></strong></td>
</tr>
<tr>
<td style="width: 100%; height: 21px">

CMCS, Yavatmal (2018-2019)


55
“RTA INFORMATION SYSTEM”

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">


</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td style="width: 100%; height: 21px">
</td>
</tr>
</table>
</form>
</body>
</html>

CMCS, Yavatmal (2018-2019)


56
“RTA INFORMATION SYSTEM”

Advertisement.aspx

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


AutoEventWireup="true" CodeFile="Advertisement.aspx.cs"
Inherits="Admin_Advertisement" Title="Untitled Page" %>
<%-- Add content controls here --%>
<asp:Content ID="Content1" runat="server"
ContentPlaceHolderID="ContentPlaceHolder1">
&nbsp; &nbsp;&nbsp;&nbsp;<table style="width: 100%; position: static">
<tr>
<td colspan="2" style="text-align: center">
<strong><span style="font-size: 36pt; color: #ffffff; font-family:
Chiller">Advertisement</span></strong></td>
</tr>
<tr>
<td style="width: 54%; text-align: right">
<strong><span style="width: 50%; color:
#ffffff">Advertisement</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtaave" runat="server" Style="position:
static"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtaave"
ErrorMessage="PLease Give Adertisement
Detail">*</asp:RequiredFieldValidator><span
style="color: #ffffff"><strong> </strong></span>
</td>
</tr>
<tr style="font-weight: bold; color: #ffffff">
<td style="width: 54%; text-align: right">
<span>Description</span></td>
<td style="width: 50%; color: #000000">
<asp:TextBox ID="txtaadis" runat="server" Style="position:
static"></asp:TextBox><span
style="color: #ffffff"> </span>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtaadis"
ErrorMessage="Description iS not
Filled">*</asp:RequiredFieldValidator></td>
</tr>
<tr style="color: #000000">
<td style="width: 54%; text-align: right">
<strong><span style="color: #ffffff">Add Type</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtaaddtype" runat="server" Style="position:
static"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="txtaaddtype"
ErrorMessage="Add Type Is Not
Defined">*</asp:RequiredFieldValidator></td>

CMCS, Yavatmal (2018-2019)


57
“RTA INFORMATION SYSTEM”

</tr>
<tr style="color: #000000">
<td style="width: 54%; text-align: right">
<span style="color: #ffffff">Upload Image</span></td>
<td style="width: 50%">
<asp:FileUpload ID="FileUpload1" runat="server" Style="position:
static" /></td>
</tr>
<tr>
<td style="width: 54%">
</td>
<td style="width: 50%">
<asp:Button ID="Button1" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
OnClick="Button1_Click" Style="position: static" Text="Submit"
Width="98px" /></td>
</tr>
<tr>
<td style="width: 54%">
</td>
<td style="width: 50%">
<asp:Label ID="lblsuccess" runat="server" Font-Bold="True"
ForeColor="#000040" Style="position: static"></asp:Label>
<br />
<asp:ValidationSummary ID="ValidationSummary1" runat="server" />
</td>
</tr>
<tr>
<td style="width: 54%">
</td>
<td style="width: 50%">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False"
BackColor="White" BorderColor="#CC9966" BorderStyle="None"
BorderWidth="1px"
CellPadding="4" DataKeyNames="aaid"
DataSourceID="SqlDataSource1" Width="100%">
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<Columns>
<asp:ImageField DataAlternateTextField="photo"
DataAlternateTextFormatString="{0}"
DataImageUrlField="photo" DataImageUrlFormatString="{0}">
<ControlStyle Height="100px" Width="100px" />
</asp:ImageField>
<asp:BoundField DataField="aaid" HeaderText="Advertisement ID"
InsertVisible="False" ReadOnly="True"
SortExpression="aaid" />
<asp:BoundField DataField="aid" HeaderText="Admin UserID"
SortExpression="aid" />

CMCS, Yavatmal (2018-2019)


58
“RTA INFORMATION SYSTEM”

<asp:BoundField DataField="aadv" HeaderText="Advertisement"


SortExpression="aadv" />
<asp:BoundField DataField="aadis" HeaderText="Advertisement
Dec." SortExpression="aadis" />
<asp:BoundField DataField="aatype" HeaderText="Advertisement
Type" SortExpression="aatype" />
<asp:BoundField DataField="photo" HeaderText="Photo"
SortExpression="photo" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="White" ForeColor="#330099" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True"
ForeColor="#663399" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099"
HorizontalAlign="Center" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="#FFFFCC" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConflictDetection="CompareAllValues"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [tbladd] WHERE [aaid] = @original_aaid"
InsertCommand="INSERT INTO [tbladd] ([aid], [aadv], [aadis],
[aatype], [photo]) VALUES (@aid, @aadv, @aadis, @aatype, @photo)"
OldValuesParameterFormatString="original_{0}"
SelectCommand="SELECT * FROM [tbladd]"
UpdateCommand="UPDATE [tbladd] SET [aid] = @aid, [aadv] =
@aadv, [aadis] = @aadis, [aatype] = @aatype, [photo] = @photo WHERE [aaid] =
@original_aaid AND [aid] = @original_aid AND [aadv] = @original_aadv AND
[aadis] = @original_aadis AND [aatype] = @original_aatype AND [photo] =
@original_photo">
<DeleteParameters>
<asp:Parameter Name="original_aaid" Type="Int32" />
<asp:Parameter Name="original_aid" Type="String" />
<asp:Parameter Name="original_aadv" Type="String" />
<asp:Parameter Name="original_aadis" Type="String" />
<asp:Parameter Name="original_aatype" Type="String" />
<asp:Parameter Name="original_photo" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="aid" Type="String" />
<asp:Parameter Name="aadv" Type="String" />
<asp:Parameter Name="aadis" Type="String" />
<asp:Parameter Name="aatype" Type="String" />
<asp:Parameter Name="photo" Type="String" />
<asp:Parameter Name="original_aaid" Type="Int32" />
<asp:Parameter Name="original_aid" Type="String" />
<asp:Parameter Name="original_aadv" Type="String" />
<asp:Parameter Name="original_aadis" Type="String" />
<asp:Parameter Name="original_aatype" Type="String" />

CMCS, Yavatmal (2018-2019)


59
“RTA INFORMATION SYSTEM”

<asp:Parameter Name="original_photo" Type="String" />


</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="aid" Type="String" />
<asp:Parameter Name="aadv" Type="String" />
<asp:Parameter Name="aadis" Type="String" />
<asp:Parameter Name="aatype" Type="String" />
<asp:Parameter Name="photo" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
&nbsp;
</asp:Content>

CMCS, Yavatmal (2018-2019)


60
“RTA INFORMATION SYSTEM”

afeedback.aspx

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


AutoEventWireup="true" CodeFile="afeedback.aspx.cs"
Inherits="Admin_afeedback" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp; &nbsp; &nbsp;&nbsp;<table style="width: 100%; position: static">
<tr>
<td style="width: 100%">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False"
BackColor="White" BorderColor="#3366CC" BorderStyle="None"
BorderWidth="1px"
CellPadding="4" DataKeyNames="fid"
DataSourceID="SqlDataSource1" Width="100%">
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<Columns>
<asp:BoundField DataField="fid" HeaderText="Feedback ID"
InsertVisible="False" ReadOnly="True"
SortExpression="fid" />
<asp:BoundField DataField="Name" HeaderText="Name"
SortExpression="Name" />
<asp:BoundField DataField="add" HeaderText="Address"
SortExpression="add" />
<asp:BoundField DataField="city" HeaderText="City"
SortExpression="city" />
<asp:BoundField DataField="state" HeaderText="State"
SortExpression="state" />
<asp:BoundField DataField="country" HeaderText="Country"
SortExpression="country" />
<asp:BoundField DataField="phone" HeaderText="Phone"
SortExpression="phone" />
<asp:BoundField DataField="mobile" HeaderText="Mobile No."
SortExpression="mobile" />
<asp:BoundField DataField="fdate" HeaderText="Feedback Date"
SortExpression="fdate" />
<asp:BoundField DataField="feedback" HeaderText="Feedback"
SortExpression="feedback" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="White" ForeColor="#003399" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True"
ForeColor="#CCFF99" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399"
HorizontalAlign="Left" />
<HeaderStyle BackColor="#003399" Font-Bold="True"
ForeColor="#CCCCFF" />
</asp:GridView>

CMCS, Yavatmal (2018-2019)


61
“RTA INFORMATION SYSTEM”

<asp:SqlDataSource ID="SqlDataSource1" runat="server"


ConflictDetection="CompareAllValues"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [tblfeed] WHERE [fid] = @original_fid"
InsertCommand="INSERT INTO [tblfeed] ([Name], [add], [city], [state],
[country], [phone], [mobile], [fdate], [feedback]) VALUES (@Name, @add, @city,
@state, @country, @phone, @mobile, @fdate, @feedback)"
OldValuesParameterFormatString="original_{0}"
SelectCommand="SELECT * FROM [tblfeed]"
UpdateCommand="UPDATE [tblfeed] SET [Name] = @Name, [add] =
@add, [city] = @city, [state] = @state, [country] = @country, [phone] = @phone,
[mobile] = @mobile, [fdate] = @fdate, [feedback] = @feedback WHERE [fid] =
@original_fid AND [Name] = @original_Name AND [add] = @original_add AND
[city] = @original_city AND [state] = @original_state AND [country] =
@original_country AND [phone] = @original_phone AND [mobile] =
@original_mobile AND [fdate] = @original_fdate AND [feedback] =
@original_feedback">
<DeleteParameters>
<asp:Parameter Name="original_fid" Type="Int32" />
<asp:Parameter Name="original_Name" Type="String" />
<asp:Parameter Name="original_add" Type="String" />
<asp:Parameter Name="original_city" Type="String" />
<asp:Parameter Name="original_state" Type="String" />
<asp:Parameter Name="original_country" Type="String" />
<asp:Parameter Name="original_phone" Type="String" />
<asp:Parameter Name="original_mobile" Type="String" />
<asp:Parameter Name="original_fdate" Type="String" />
<asp:Parameter Name="original_feedback" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Name" Type="String" />
<asp:Parameter Name="add" Type="String" />
<asp:Parameter Name="city" Type="String" />
<asp:Parameter Name="state" Type="String" />
<asp:Parameter Name="country" Type="String" />
<asp:Parameter Name="phone" Type="String" />
<asp:Parameter Name="mobile" Type="String" />
<asp:Parameter Name="fdate" Type="String" />
<asp:Parameter Name="feedback" Type="String" />
<asp:Parameter Name="original_fid" Type="Int32" />
<asp:Parameter Name="original_Name" Type="String" />
<asp:Parameter Name="original_add" Type="String" />
<asp:Parameter Name="original_city" Type="String" />
<asp:Parameter Name="original_state" Type="String" />
<asp:Parameter Name="original_country" Type="String" />
<asp:Parameter Name="original_phone" Type="String" />
<asp:Parameter Name="original_mobile" Type="String" />
<asp:Parameter Name="original_fdate" Type="String" />
<asp:Parameter Name="original_feedback" Type="String" />
</UpdateParameters>

CMCS, Yavatmal (2018-2019)


62
“RTA INFORMATION SYSTEM”

<InsertParameters>
<asp:Parameter Name="Name" Type="String" />
<asp:Parameter Name="add" Type="String" />
<asp:Parameter Name="city" Type="String" />
<asp:Parameter Name="state" Type="String" />
<asp:Parameter Name="country" Type="String" />
<asp:Parameter Name="phone" Type="String" />
<asp:Parameter Name="mobile" Type="String" />
<asp:Parameter Name="fdate" Type="String" />
<asp:Parameter Name="feedback" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 100px">
</td>
</tr>
</table>
&nbsp;
</asp:Content>

CMCS, Yavatmal (2018-2019)


63
“RTA INFORMATION SYSTEM”

ahome.aspx

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


AutoEventWireup="true" CodeFile="ahome.aspx.cs" Inherits="Admin_ahome"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp;
</asp:Content>

changepassword.aspx

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


AutoEventWireup="true" CodeFile="changepassword.aspx.cs"
Inherits="Admin_changepassword" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp;&nbsp;<table style="width: 100%; position: static">
<tr>
<td colspan="2" style="text-align: center">
<strong><span style="font-size: 36pt; color: #ffffff; font-family:
Chiller">Change Password</span></strong></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Current
Password</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtpass" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right; height: 26px;">
<strong><span style="color: #ffffff">Password</span></strong></td>
<td style="width: 50%; height: 26px;">
<asp:TextBox ID="txtnewpass" runat="server" Style="position: static"
TextMode="Password"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="txtnewpass"
ControlToValidate="txtrepass" ErrorMessage="Does not match
password">*</asp:CompareValidator></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Re-Password</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtrepass" runat="server" Style="position: static"
TextMode="Password"></asp:TextBox></td>
</tr>
CMCS, Yavatmal (2018-2019)
64
“RTA INFORMATION SYSTEM”

<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Button ID="Button1" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
Style="position: static" Text="Submit" Width="98px"
OnClick="Button1_Click" /></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Label ID="lblsuccess" runat="server" Font-Bold="True"
ForeColor="#000040" Style="position: static"></asp:Label></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
</td>
</tr>
</table>
&nbsp;
</asp:Content>

CMCS, Yavatmal (2018-2019)


65
“RTA INFORMATION SYSTEM”

checkuser.aspx

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


AutoEventWireup="true" CodeFile="checkuser.aspx.cs"
Inherits="Admin_checkuser" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp;
<table style="width: 100%; position: static">
<tr>
<td style="width: 100%; vertical-align: middle; text-align: center;">
&nbsp;
<asp:DropDownList ID="DropDownList1" runat="server" Style="position:
static" AutoPostBack="True" DataSourceID="SqlDataSource1" DataTextField="city"
DataValueField="city">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1"
runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT DISTINCT [city] FROM
[profile1]"></asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 100%; vertical-align: middle; height: 21px; text-align:
left;">
&nbsp;
<asp:GridView ID="GridView1" runat="server"
AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" BorderColor="#999999"
BorderStyle="None" BorderWidth="1px" CellPadding="3"
DataKeyNames="pid" DataSourceID="SqlDataSource2"
GridLines="Vertical" Width="100%" HorizontalAlign="Center">
<FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
<Columns>
<asp:ImageField DataAlternateTextField="Photos"
DataAlternateTextFormatString="{0}"
DataImageUrlField="Photos" DataImageUrlFormatString="{0}">
<ControlStyle Height="150px" Width="150px" />
<ItemStyle HorizontalAlign="Justify" VerticalAlign="Middle" />
<FooterStyle Height="150px" HorizontalAlign="Left"
VerticalAlign="Middle" Width="150px" />
</asp:ImageField>
<asp:BoundField DataField="email" HeaderText="UserID"
SortExpression="email" />
<asp:BoundField DataField="city" HeaderText="City"
SortExpression="city" />
<asp:BoundField DataField="pid" HeaderText="pid"
InsertVisible="False" ReadOnly="True"
SortExpression="pid" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>

CMCS, Yavatmal (2018-2019)


66
“RTA INFORMATION SYSTEM”

<RowStyle BackColor="#EEEEEE" ForeColor="Black" />


<SelectedRowStyle BackColor="#008A8C" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#999999" ForeColor="Black"
HorizontalAlign="Center" />
<HeaderStyle BackColor="#000084" Font-Bold="True"
ForeColor="White" />
<AlternatingRowStyle BackColor="Gainsboro" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConflictDetection="CompareAllValues"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [profile1] WHERE [pid] = @original_pid"
InsertCommand="INSERT INTO [profile1] ([Photos], [email], [city])
VALUES (@Photos, @email, @city)"
OldValuesParameterFormatString="original_{0}"
SelectCommand="SELECT [Photos], [email], [city], [pid] FROM [profile1] WHERE
([city] = @city)"
UpdateCommand="UPDATE [profile1] SET [Photos] = @Photos,
[email] = @email, [city] = @city WHERE [pid] = @original_pid AND [Photos] =
@original_Photos AND [email] = @original_email AND [city] = @original_city">
<DeleteParameters>
<asp:Parameter Name="original_pid" Type="Int32" />
<asp:Parameter Name="original_Photos" Type="String" />
<asp:Parameter Name="original_email" Type="String" />
<asp:Parameter Name="original_city" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Photos" Type="String" />
<asp:Parameter Name="email" Type="String" />
<asp:Parameter Name="city" Type="String" />
<asp:Parameter Name="original_pid" Type="Int32" />
<asp:Parameter Name="original_Photos" Type="String" />
<asp:Parameter Name="original_email" Type="String" />
<asp:Parameter Name="original_city" Type="String" />
</UpdateParameters>
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList1" Name="city"
PropertyName="SelectedValue"
Type="String" />
</SelectParameters>
<InsertParameters>
<asp:Parameter Name="Photos" Type="String" />
<asp:Parameter Name="email" Type="String" />
<asp:Parameter Name="city" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;&nbsp;</td>
</tr></table></asp:Content>

CMCS, Yavatmal (2018-2019)


67
“RTA INFORMATION SYSTEM”

news.aspx

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


AutoEventWireup="true" CodeFile="news.aspx.cs" Inherits="Admin_news"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp; &nbsp;<table style="width: 100%; position: static">
<tr>
<td colspan="2" style="text-align: center">
<strong><span style="font-size: 36pt; color: #ffffff; font-family:
Chiller">&nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;Admin News
Page &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</span></strong></td>
</tr>
<tr>
<td style="width: 50%; text-align: right; height: 26px;">
<strong><span style="color: #ffffff">News</span></strong></td>
<td style="width: 50%; height: 26px;">
<asp:TextBox ID="txtnews" runat="server" Style="position:
static"></asp:TextBox>&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="txtnews"
ErrorMessage="please insert the news
first">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Date</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtdate" runat="server" Style="position:
static"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtdate"
ErrorMessage="please insret the date
first">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:Calendar ID="Calendar1" runat="server" BackColor="White"
BorderColor="Black"
DayNameFormat="Shortest" Font-Names="Times New Roman" Font-
Size="10pt" ForeColor="Black"
Height="220px" NextPrevFormat="FullMonth"
OnSelectionChanged="Calendar1_SelectionChanged"
TitleFormat="Month" Width="400px">
<SelectedDayStyle BackColor="#CC3333" ForeColor="White" />

CMCS, Yavatmal (2018-2019)


68
“RTA INFORMATION SYSTEM”

<SelectorStyle BackColor="#CCCCCC" Font-Bold="True" Font-


Names="Verdana" Font-Size="8pt"
ForeColor="#333333" Width="1%" />
<TodayDayStyle BackColor="#CCCC99" />
<OtherMonthDayStyle ForeColor="#999999" />
<DayStyle Width="14%" />
<NextPrevStyle Font-Size="8pt" ForeColor="White" />
<DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-
Size="7pt" ForeColor="#333333"
Height="10pt" />
<TitleStyle BackColor="Black" Font-Bold="True" Font-Size="13pt"
ForeColor="White"
Height="14pt" />
</asp:Calendar>
</td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">News detail</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtndetail" runat="server" Style="position:
static"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="txtndetail"
ErrorMessage="please fill the detail
first">*</asp:RequiredFieldValidator></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Button ID="txtsend" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
Style="position: static" Text="Send" Width="98px"
OnClick="txtsend_Click" /></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Label ID="lblsuccess" runat="server" Font-Bold="True"
ForeColor="#000040" Style="position: static"></asp:Label></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:ValidationSummary ID="ValidationSummary1" runat="server" />
</td>
</tr>

CMCS, Yavatmal (2018-2019)


69
“RTA INFORMATION SYSTEM”

<tr>
<td colspan="2" style="width: 100%">
&nbsp;&nbsp;<asp:GridView ID="GridView1" runat="server"
AllowPaging="True" AutoGenerateColumns="False"
BackColor="White" BorderColor="#3366CC" BorderStyle="None"
BorderWidth="1px"
CellPadding="4" DataKeyNames="anid"
DataSourceID="SqlDataSource1" Width="100%">
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<Columns>
<asp:BoundField DataField="anid" HeaderText="News ID"
InsertVisible="False" ReadOnly="True"
SortExpression="anid" />
<asp:BoundField DataField="anew" HeaderText="News"
SortExpression="anew" />
<asp:BoundField DataField="andate" HeaderText="News Date"
SortExpression="andate" />
<asp:BoundField DataField="andetail" HeaderText="News Details"
SortExpression="andetail" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="White" ForeColor="#003399" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True"
ForeColor="#CCFF99" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399"
HorizontalAlign="Left" />
<HeaderStyle BackColor="#003399" Font-Bold="True"
ForeColor="#CCCCFF" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConflictDetection="CompareAllValues"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [tblanews] WHERE [anid] = @original_anid"
InsertCommand="INSERT INTO [tblanews] ([anew], [andate],
[andetail]) VALUES (@anew, @andate, @andetail)"
OldValuesParameterFormatString="original_{0}"
SelectCommand="SELECT * FROM [tblanews]"
UpdateCommand="UPDATE [tblanews] SET [anew] = @anew, [andate]
= @andate, [andetail] = @andetail WHERE [anid] = @original_anid AND [anew] =
@original_anew AND [andate] = @original_andate AND [andetail] =
@original_andetail">
<DeleteParameters>
<asp:Parameter Name="original_anid" Type="Int32" />
<asp:Parameter Name="original_anew" Type="String" />
<asp:Parameter Name="original_andate" Type="String" />
<asp:Parameter Name="original_andetail" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="anew" Type="String" />
<asp:Parameter Name="andate" Type="String" />

CMCS, Yavatmal (2018-2019)


70
“RTA INFORMATION SYSTEM”

<asp:Parameter Name="andetail" Type="String" />


<asp:Parameter Name="original_anid" Type="Int32" />
<asp:Parameter Name="original_anew" Type="String" />
<asp:Parameter Name="original_andate" Type="String" />
<asp:Parameter Name="original_andetail" Type="String" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="anew" Type="String" />
<asp:Parameter Name="andate" Type="String" />
<asp:Parameter Name="andetail" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;
&nbsp;
</td>
</tr>
</table>
&nbsp;
</asp:Content>

CMCS, Yavatmal (2018-2019)


71
“RTA INFORMATION SYSTEM”

Prev.aspx

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


AutoEventWireup="true" CodeFile="Prev.aspx.cs" Inherits="Admin_Prev"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp;
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
CellPadding="4"
DataKeyNames="email" DataSourceID="SqlDataSource1"
ForeColor="#333333" GridLines="None"
Width="100%">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<Columns>
<asp:CommandField ShowEditButton="True" />
<asp:BoundField DataField="email" HeaderText="UserID" ReadOnly="True"
SortExpression="email" />
<asp:BoundField DataField="Status" HeaderText="Status"
SortExpression="Status" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True"
ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConflictDetection="CompareAllValues"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [tbllogin] WHERE [email] = @original_email
AND [Status] = @original_Status"
InsertCommand="INSERT INTO [tbllogin] ([email], [Status]) VALUES
(@email, @Status)"
OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT
[email], [Status] FROM [tbllogin]"
UpdateCommand="UPDATE [tbllogin] SET [Status] = @Status WHERE
[email] = @original_email AND [Status] = @original_Status">
<DeleteParameters>
<asp:Parameter Name="original_email" Type="String" />
<asp:Parameter Name="original_Status" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="Status" Type="String" />
<asp:Parameter Name="original_email" Type="String" />
<asp:Parameter Name="original_Status" Type="String" />
</UpdateParameters>

CMCS, Yavatmal (2018-2019)


72
“RTA INFORMATION SYSTEM”

<InsertParameters>
<asp:Parameter Name="email" Type="String" />
<asp:Parameter Name="Status" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
</asp:Content>

CMCS, Yavatmal (2018-2019)


73
“RTA INFORMATION SYSTEM”

User Pages

changepass.aspx

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


AutoEventWireup="true" CodeFile="changepass.aspx.cs"
Inherits="Home_changepass" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%">
<tr>
<td colspan="2" style="vertical-align: middle; color: white; font-family:
Chiller;
text-align: center">
<h2>Change Password</h2></td>
</tr>
<tr>
<td style="width: 50%; color: white; text-align: right;">
<strong>Current Password</strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtpass" runat="server"
TextMode="Password"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; color: white; text-align: right; height: 26px;">
<strong>New Password</strong></td>
<td style="width: 50%; height: 26px;">
<asp:TextBox ID="txtnpass" runat="server"
TextMode="Password"></asp:TextBox>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ErrorMessage="Does not match Password" ControlToCompare="txtnpass"
ControlToValidate="txtrepass">*</asp:CompareValidator></td>
</tr>
<tr>
<td style="width: 50%; color: white; text-align: right">
<strong>Re-Password</strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtrepass" runat="server"
TextMode="Password"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; color: white; text-align: right">
</td>
<td style="width: 50%">
<asp:Button ID="btnsubmit" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="Navy"
Text="Submit" OnClick="btnsubmit_Click" /></td>
</tr>
</table>
</asp:Content>
CMCS, Yavatmal (2018-2019)
74
“RTA INFORMATION SYSTEM”

chat.aspx

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


AutoEventWireup="true" CodeFile="chat.aspx.cs" Inherits="Home_chat"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
</asp:Content>

Chat.cs

using System;
using System.Collections;

namespace SuperJockey.PageModule
{
/// <summary>
/// Summary description for Chat.
/// </summary>
public class Chat
{
static protected ArrayList pArray = new ArrayList();

static public void AddMessage(string sDealer, string sUser, string


sMsg)
{
string sAddText = sDealer + "~" + sUser + "~" + sMsg;
pArray.Add(sAddText);

if ( pArray.Count > 200 )


{
pArray.RemoveRange(0,10);
}
}

static public string GetAllMessages(string sDealer)


{
string sResponse = "";

for (int i=0; i< pArray.Count; i++)


{
sResponse = sResponse +
FormatChat(pArray[i].ToString(), sDealer);
}

return(sResponse);
}

CMCS, Yavatmal (2018-2019)


75
“RTA INFORMATION SYSTEM”

static private string FormatChat(string sLine, string sDealer)


{
int iFirst = sLine.IndexOf("~");
int iLast = sLine.LastIndexOf("~");

string sDeal = sLine.Substring(0, iFirst);


if ( sDeal != sDealer)
return("");

string sUser = sLine.Substring(iFirst+1, iLast-(iFirst+1));

string sMsg = sLine.Substring(iLast+1);

string sRet = "<STRONG>" + sUser + ": </STRONG>" +


sMsg + "<BR>";

return(sRet);
}
}
}

CMCS, Yavatmal (2018-2019)


76
“RTA INFORMATION SYSTEM”

Chatwin.aspx

<%@ Page language="c#" Inherits="SuperJockey.ChatWin"


CodeFile="ChatWin.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>ChatWin</title>
<meta name="GENERATOR" Content="Microsoft Visual
Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
<LINK href="assets/formstyle.css" type="text/css" rel="stylesheet">

<script language="javascript" type="text/javascript">


// <!CDATA[

function IFRAME1_onclick() {

// ]]>
</script>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<TABLE id="Table6" cellSpacing="0" cellPadding="0"
width="456" align="center" border="0">
<TR>
<TD width="8" height="8"><IMG height="8"
src="orange1.gif" width="8"></TD>
<TD bgColor="orange" height="22"
rowSpan="2" width="224"
vAlign="bottom"><STRONG>Chatroom</STRONG></TD>
<TD vAlign="bottom" align="right"
width="224" bgColor="orange" height="22" rowSpan="2"></TD>
<TD width="8" height="8"><IMG height="8"
src="orange2.gif" width="8"></TD>
</TR>
<TR>
<TD bgColor="orange" height="14"><IMG
height="14" src="assets/imgs/spacer.gif" width="1"></TD>
<TD bgColor="orange" height="14"><IMG
height="14" src="assets/imgs/spacer.gif" width="1"></TD>
</TR>
</TABLE>
<TABLE id="Table3" cellSpacing="0" cellPadding="1"
border="0" align="center" bgColor="orange">

CMCS, Yavatmal (2018-2019)


77
“RTA INFORMATION SYSTEM”

<TR>
<TD>
<iframe style="BORDER-RIGHT:
orange 2px solid; BORDER-TOP: orange 2px solid; BORDER-LEFT: orange 2px
solid; WIDTH: 450px; BORDER-BOTTOM: orange 2px solid; HEIGHT: 250px;
BACKGROUND-COLOR: #ffffcc"
src="TheChatScreenWin.aspx"
id="IFRAME1" onclick="return IFRAME1_onclick()">Chat</iframe>
</TD>
</TR>
<TR>
<TD align="right">
Message:
<asp:TextBox id="TB_ToSend"
runat="server" Width="300px" tabIndex="1"></asp:TextBox>
<asp:Button id="BT_Send"
runat="server" Text="Send" Width="80px" CssClass="button1" tabIndex="2"
onclick="BT_Send_Click"></asp:Button>
</TD>
</TR>
</TABLE>
</form>

</body>
</HTML>

CMCS, Yavatmal (2018-2019)


78
“RTA INFORMATION SYSTEM”

checkprofile.aspx

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


AutoEventWireup="true" CodeFile="checkprofile.aspx.cs"
Inherits="Home_checkprofile" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%; position: static">
<tr>
<td colspan="2" style="text-align: center">
<span style="font-size: 24pt; color: #ffffff; font-family:
Chiller"><strong>Update Your
Profile</strong></span></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:TextBox ID="txtProEmail" runat="server" Style="position: static"
Visible="False"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Button ID="Chkprofile" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
Style="position: static" Text="Check Profile"
OnClick="Chkprofile_Click" /></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">First Name</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtfnm" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Middle Name</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtmnm" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Last Name</span></strong></td>
<td style="width: 50%"> <asp:TextBox ID="txtlnm" runat="server"
Style="position: static"></asp:TextBox></td>
</tr>

CMCS, Yavatmal (2018-2019)


79
“RTA INFORMATION SYSTEM”

<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Gender</span></strong></td>
<td style="width: 50%">
<asp:RadioButton ID="rbtmale" runat="server" Style="position: static"
Text="Male" />
<asp:RadioButton ID="RadioButton2" runat="server" Style="position:
static" Text="Female" /></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Birth of date</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtdate" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<span style="color: #ffffff"><strong>City</strong></span></td>
<td style="width: 50%">
<asp:TextBox ID="txtct" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">State</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtstate" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Pin</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtpin" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Phone no.</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtphone" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Mobile no.</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtmobile" runat="server" Style="position:
static"></asp:TextBox></td>

CMCS, Yavatmal (2018-2019)


80
“RTA INFORMATION SYSTEM”

</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Button ID="Button1" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
Style="position: static" Text="Update" Width="83px"
OnClick="Button1_Click" /></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Label ID="lblsuccess" runat="server" Font-Bold="True"
ForeColor="#000040" Style="position: static"></asp:Label></td>
</tr>
</table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


81
“RTA INFORMATION SYSTEM”

Default.aspx

<%@ Page language="c#" Inherits="SimpleChat._Default"


CodeFile="Default.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Default</title>
<meta name="GENERATOR" Content="Microsoft Visual
Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 268px;
POSITION: absolute; TOP: 196px" cellSpacing="1"
cellPadding="1" width="300" border="0">
<TR>
<TD>
<asp:Label id="Label1"
runat="server">Channel</asp:Label></TD>
<TD>
<asp:TextBox id="TB_Channel"
runat="server" ReadOnly="True">1</asp:TextBox>
<asp:RequiredFieldValidator
id="RequiredFieldValidator1" runat="server" ErrorMessage=" * Required"
ControlToValidate="TB_Channel"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="height: 26px">
<asp:Label id="Label2"
runat="server">UserID</asp:Label></TD>
<TD style="height: 26px">
<asp:TextBox id="TB_Username"
runat="server" ReadOnly="True"></asp:TextBox>
<asp:RequiredFieldValidator
id="RequiredFieldValidator2" runat="server" ErrorMessage="* Required"
ControlToValidate="TB_Username"></asp:RequiredFieldValidator></TD>
</TR>
<TR>
<TD style="height: 26px"></TD>
<TD style="height: 26px">
<asp:Button id="BT_Enter" runat="server"
Text="Go For Chat" onclick="BT_Enter_Click"></asp:Button></TD>
</TR></TABLE></form>
</body>
</HTML>

CMCS, Yavatmal (2018-2019)


82
“RTA INFORMATION SYSTEM”

Deletefriends.aspx

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


AutoEventWireup="true" CodeFile="Deletefriends.aspx.cs"
Inherits="Home_Deletefriends" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%">
<tr>
<td style="width: 100%; height: 21px">
&nbsp;<asp:GridView ID="GridView1" runat="server"
AllowPaging="True" AutoGenerateColumns="False"
CellPadding="4" DataKeyNames="req_from,req_to"
DataSourceID="SqlDataSource1"
ForeColor="#333333" GridLines="None" Width="100%">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<Columns>
<asp:BoundField DataField="req_from" HeaderText="Friends
UserID" ReadOnly="True"
SortExpression="req_from" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True"
ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConflictDetection="CompareAllValues"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [tblRequest] WHERE [req_from] =
@original_req_from AND [req_to] = @original_req_to AND [rid] = @original_rid
AND [status] = @original_status"
InsertCommand="INSERT INTO [tblRequest] ([req_from], [req_to],
[status]) VALUES (@req_from, @req_to, @status)"
OldValuesParameterFormatString="original_{0}"
SelectCommand="SELECT [rid], [req_from], [req_to], [status] FROM [tblRequest]
WHERE (([req_to] = @req_to) AND ([status] = @status))"
UpdateCommand="UPDATE [tblRequest] SET [rid] = @rid, [status] =
@status WHERE [req_from] = @original_req_from AND [req_to] =
@original_req_to AND [rid] = @original_rid AND [status] = @original_status">
<DeleteParameters>
<asp:Parameter Name="original_req_from" Type="String" />
<asp:Parameter Name="original_req_to" Type="String" />

CMCS, Yavatmal (2018-2019)


83
“RTA INFORMATION SYSTEM”

<asp:Parameter Name="original_rid" Type="Int32" />


<asp:Parameter Name="original_status" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="rid" Type="Int32" />
<asp:Parameter Name="status" Type="String" />
<asp:Parameter Name="original_req_from" Type="String" />
<asp:Parameter Name="original_req_to" Type="String" />
<asp:Parameter Name="original_rid" Type="Int32" />
<asp:Parameter Name="original_status" Type="String" />
</UpdateParameters>
<SelectParameters>
<asp:SessionParameter Name="req_to" SessionField="uname"
Type="String" />
<asp:Parameter DefaultValue="y" Name="status" Type="String" />
</SelectParameters>
<InsertParameters>
<asp:Parameter Name="req_from" Type="String" />
<asp:Parameter Name="req_to" Type="String" />
<asp:Parameter Name="status" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
</td>
</tr></table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


84
“RTA INFORMATION SYSTEM”

Feedback.aspx

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


AutoEventWireup="true" CodeFile="Feedback.aspx.cs" Inherits="Home_Feedback"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%; position: static">
<tr>
<td colspan="2" style="text-align: center">
<strong><span style="font-size: 24pt; color: #ffffff; font-family:
Chiller">Feedback</span></strong></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<span style="color: #ffffff"><strong>Name</strong></span></td>
<td style="width: 50%">
<asp:TextBox ID="txtnm" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Address</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtadd" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">City</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtct" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">State</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtstate" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Country</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtcount" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">

CMCS, Yavatmal (2018-2019)


85
“RTA INFORMATION SYSTEM”

<strong><span style="color: #ffffff">Phone no.</span></strong></td>


<td style="width: 50%">
<asp:TextBox ID="txtphone" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Mobile</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtmobile" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">F.date</span></strong></td>
<td style="width: 50%">
<asp:TextBox ID="txtdate" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
</td>
<td style="width: 50%">
<asp:Calendar ID="Calendar1" runat="server" BackColor="White"
BorderColor="Black"
DayNameFormat="Shortest" Font-Names="Times New Roman" Font-
Size="10pt" ForeColor="Black"
Height="220px" NextPrevFormat="FullMonth"
OnSelectionChanged="Calendar1_SelectionChanged"
TitleFormat="Month" Width="400px">
<SelectedDayStyle BackColor="#CC3333" ForeColor="White" />
<SelectorStyle BackColor="#CCCCCC" Font-Bold="True" Font-
Names="Verdana" Font-Size="8pt"
ForeColor="#333333" Width="1%" />
<TodayDayStyle BackColor="#CCCC99" />
<OtherMonthDayStyle ForeColor="#999999" />
<DayStyle Width="14%" />
<NextPrevStyle Font-Size="8pt" ForeColor="White" />
<DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-
Size="7pt" ForeColor="#333333"
Height="10pt" />
<TitleStyle BackColor="Black" Font-Bold="True" Font-Size="13pt"
ForeColor="White"
Height="14pt" />
</asp:Calendar>
</td>
</tr>
<tr>
<td style="width: 50%; text-align: right">
<strong><span style="color: #ffffff">Feedback</span></strong></td>

CMCS, Yavatmal (2018-2019)


86
“RTA INFORMATION SYSTEM”

<td style="width: 50%">


<asp:TextBox ID="txtfeed" runat="server" Style="position: static"
TextMode="MultiLine"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Button ID="Button1" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
Style="position: static" Text="Submit" Width="81px"
OnClick="Button1_Click" /></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%">
<asp:Label ID="lblseccess" runat="server" Font-Bold="True"
ForeColor="#FFFFC0" Style="position: static"></asp:Label></td>
</tr>
</table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


87
“RTA INFORMATION SYSTEM”

Home.aspx

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


AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home_Home"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%">
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; text-align:
center">
&nbsp;</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; text-align:
center">
&nbsp;&nbsp;
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; text-align:
center">
&nbsp;</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; text-align:
center">
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; text-align:
center">
<strong><span style="color: #663333">&nbsp;Your
FriendList</span></strong></td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; text-align:
center">
<asp:SqlDataSource ID="SqlDataSource3" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [email], [Photos], [fnm], [pid] FROM
[profile1] WHERE ([email] = @email)" ConflictDetection="CompareAllValues"
DeleteCommand="DELETE FROM [profile1] WHERE [pid] = @original_pid">
<SelectParameters>
<asp:SessionParameter Name="email" SessionField="frnd"
Type="String" />
</SelectParameters>
<DeleteParameters>
<asp:Parameter Name="original_pid" Type="Int32" />
<asp:Parameter Name="original_email" Type="String" />

CMCS, Yavatmal (2018-2019)


88
“RTA INFORMATION SYSTEM”

<asp:Parameter Name="original_Photos" Type="String" />


<asp:Parameter Name="original_fnm" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="email" Type="String" />
<asp:Parameter Name="Photos" Type="String" />
<asp:Parameter Name="fnm" Type="String" />
<asp:Parameter Name="original_pid" Type="Int32" />
<asp:Parameter Name="original_email" Type="String" />
<asp:Parameter Name="original_Photos" Type="String" />
<asp:Parameter Name="original_fnm" Type="String" />
</UpdateParameters>
<InsertParameters>
<asp:Parameter Name="email" Type="String" />
<asp:Parameter Name="Photos" Type="String" />
<asp:Parameter Name="fnm" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
&nbsp;</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; text-align:
center">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False"
BorderColor="Black" BorderStyle="Groove" BorderWidth="3px"
CellPadding="4" DataSourceID="SqlDataSource3"
ForeColor="#333333" GridLines="None" PageSize="5"
Width="100%">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<Columns>
<asp:ImageField DataAlternateTextField="Photos"
DataAlternateTextFormatString="{0}"
DataImageUrlField="Photos">
<ControlStyle BorderColor="#C00000" BorderStyle="Groove"
BorderWidth="3px" Height="150px"
Width="150px" />
<ItemStyle BorderColor="#C00000" BorderStyle="Groove"
BorderWidth="3px" Height="150px"
Width="150px" />
</asp:ImageField>
<asp:BoundField DataField="fnm" HeaderText="Friend's Name"
SortExpression="fnm" />
<asp:HyperLinkField DataNavigateUrlFields="email"
DataNavigateUrlFormatString="~/Home/ViewProfile.aspx?em={0}"
DataTextField="email" DataTextFormatString="Check Profile"
HeaderText="Profile"
Text="Profile" />
</Columns>

CMCS, Yavatmal (2018-2019)


89
“RTA INFORMATION SYSTEM”

<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />


<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True"
ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
</td>
</tr>
</table>
</asp:Content>

Home.master

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Home.master.cs"


Inherits="Home_Home" %>

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


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

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


<head runat="server">
<title>Untitled Page</title>
<link rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#663333">
<form id="form1" runat="server">
<table style="width: 100%; position: static">
<tr>
<td colspan="8" style="background-image: url(Profile/images/img05.png);
vertical-align: middle;
width: 100%; text-align: center; height: 21px;">
<strong><span style="color:
#ffffff">WelCome:</span></strong><asp:Label ID="lbluser" runat="server" Font-
Bold="True" Style="position: static" ForeColor="LimeGreen"></asp:Label></td>
</tr>
<tr>
<td colspan="8" style="background-image: url(Profile/images/img05.png);
vertical-align: top;
width: 100%; height: 21px; text-align: right">
<asp:Button ID="Button4" runat="server" BackColor="Gray" Font-
Bold="True" ForeColor="#000040"
Height="32px" Style="position: static" Text="Logout"
OnClick="Button4_Click" ValidationGroup="1" Width="89px" /></td>
</tr>
<tr>

CMCS, Yavatmal (2018-2019)


90
“RTA INFORMATION SYSTEM”

<td colspan="8" style="background-image: url(Profile/images/img05.png);


width: 100%">
<asp:Image ID="Image1" runat="server" Height="208px"
ImageUrl="~/images/main Banner.jpg"
Width="100%" BorderColor="Gray" BorderStyle="Groove"
BorderWidth="4px" /></td>
</tr>
<tr>
<td style="width: 20%; height: 35px;">
</td>
<td style="width: 6%; height: 35px;">
<asp:Button ID="btnhome" runat="server" BackColor="Gray" Font-
Bold="True" ForeColor="#000040"
Style="position: static" Text="Home" Width="89px" Height="32px"
PostBackUrl="~/Home/Home.aspx" ValidationGroup="1" />&nbsp;</td>
<td style="width: 6%; height: 35px;">
&nbsp;<asp:Button ID="Button1" runat="server" BackColor="Gray"
Font-Bold="True" ForeColor="#000040"
Style="position: static" Text="Profile" Height="32px" Width="89px"
PostBackUrl="~/Home/checkprofile.aspx" ValidationGroup="1" /></td>
<td style="width: 6%; height: 35px;">
&nbsp;<asp:Button ID="Button2" runat="server" BackColor="Gray"
Font-Bold="True" ForeColor="#000040"
Style="position: static" Text="Scrap" Height="32px"
PostBackUrl="~/Home/scrap.aspx" ValidationGroup="1" Width="89px"
/>&nbsp;</td>
<td style="width: 6%; height: 35px; vertical-align: middle; text-align:
center;">
&nbsp;<asp:Button ID="Button3" runat="server" BackColor="Gray"
Font-Bold="True" ForeColor="#000040"
Style="position: static" Text="Feedback" Height="32px"
PostBackUrl="~/Home/Feedback.aspx" ValidationGroup="1" Width="89px"
/>&nbsp;</td>
<td style="width: 35%; height: 35px; vertical-align: middle; text-align:
center;">
&nbsp;

</td>
<td colspan="2" style="height: 35px">
<span style="width: 35%; color: #000066; vertical-align: top; text-align:
left;"> <strong>
Search</strong>:
<asp:TextBox
ID="TextBox1" runat="server" Style="position: static"
Width="89px"></asp:TextBox>
<asp:Button ID="Button5" runat="server" BackColor="Gray" Font-
Bold="True" ForeColor="#000040"
Height="27px" Style="position: static" Text="Go" Width="50px"
OnClick="Button5_Click" ValidationGroup="1" /></span></td>
</tr>

CMCS, Yavatmal (2018-2019)


91
“RTA INFORMATION SYSTEM”

<tr>
<td style="vertical-align: top; width: 20%; text-align: left; height:
1195px;">
<table style="width: 100%; position: static">
<tr>
<td style="width: 100px">
<asp:DataList ID="DataList1" runat="server"
DataSourceID="SqlDataSource1" Style="position: static" Width="160px">
<ItemTemplate>
<asp:Image ID="Image2" runat="server" Height="150px"
ImageUrl='<%# Eval("Photos", "{0}") %>'
Style="position: static" Width="150px" /><br />
<br />
</ItemTemplate>
</asp:DataList><asp:SqlDataSource ID="SqlDataSource1"
runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [Photos] FROM [profile1]
WHERE ([email] = @email)">
<SelectParameters>
<asp:SessionParameter Name="email"
SessionField="uname" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="width: 100px">
<asp:LinkButton ID="LinkButton1" runat="server"
BackColor="#C0C0FF" Font-Bold="True"
ForeColor="#000040" Height="22px" Style="position: static"
Width="63px"
PostBackUrl="~/Home/checkprofile.aspx">Profile</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px">
<asp:LinkButton ID="LinkButton2" runat="server"
BackColor="#C0C0FF" Font-Bold="True"
ForeColor="#000040" Height="22px" Style="position: static"
Width="63px" PostBackUrl="~/Home/scrap.aspx">Scrap</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px">
<asp:LinkButton ID="LinkButton3" runat="server"
BackColor="#C0C0FF" Font-Bold="True"
ForeColor="#000040" Height="22px" Style="position: static"
Width="63px"
PostBackUrl="~/Home/photogallary.aspx">Photos</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px">

CMCS, Yavatmal (2018-2019)


92
“RTA INFORMATION SYSTEM”

<asp:LinkButton ID="LinkButton4" runat="server"


BackColor="#C0C0FF" Font-Bold="True"
ForeColor="#000040" Height="22px" Style="position: static"
PostBackUrl="~/Home/Deletefriends.aspx">Delete friends</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px; height: 19px;">
<asp:LinkButton ID="LinkButton6" runat="server"
BackColor="#C0C0FF" Font-Bold="True"
ForeColor="#000040" Height="22px" Style="position: static"
Width="50px" PostBackUrl="~/Home/Default.aspx">Chat</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px; height: 23px;">
<asp:LinkButton ID="LinkButton7" runat="server"
BackColor="#C0C0FF" Font-Bold="True"
ForeColor="Navy" PostBackUrl="~/Home/changepass.aspx"
Width="120px">Change Password</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px">
<asp:LinkButton ID="LinkButton8" runat="server"
BackColor="#C0C0FF" Font-Bold="True"
ForeColor="#000040" Height="22px"
PostBackUrl="~/Home/RequestFrnds.aspx" Style="position: static"
Width="161px">Check New Request</asp:LinkButton></td>
</tr>
<tr>
<td style="width: 100px">
</td>
</tr>
</table>
</td>
<td colspan="5" style="vertical-align: top; text-align: left; height: 1195px;
width: 50%;">
<br />
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
&nbsp;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;

</td>
<td colspan="2" style="vertical-align: top; width: 30%; height: 1195px;
text-align: left">
<table style="width: 100%">
<tr>
<td style="width: 100%">
<asp:DataList ID="DataList2" runat="server"
DataSourceID="SqlDataSource2" Width="100%">

CMCS, Yavatmal (2018-2019)


93
“RTA INFORMATION SYSTEM”

<ItemTemplate>
<asp:Image ID="Image4" runat="server"
BorderColor="Maroon" BorderStyle="Groove" BorderWidth="3px"
Height="150px" ImageUrl='<%# Eval("photo", "{0}")
%>' Width="150px" />&nbsp;<br />
&nbsp;<asp:Label ID="aadvLabel" runat="server" Font-
Bold="True" ForeColor="#404040"
Text='<%# Eval("aadv") %>'></asp:Label><br />
<br />
</ItemTemplate>
</asp:DataList><asp:SqlDataSource ID="SqlDataSource2"
runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [photo], [aadv] FROM
[tbladd]"></asp:SqlDataSource>
</td>
</tr>
</table>
<asp:FormView ID="FormView1" runat="server" AllowPaging="True"
BackColor="LightGoldenrodYellow"
BorderColor="Tan" BorderWidth="1px" CellPadding="2"
DataSourceID="SqlDataSource4"
ForeColor="Black">
<FooterStyle BackColor="Tan" />
<EditRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite"
/>
<EditItemTemplate>
andetail:
<asp:TextBox ID="andetailTextBox" runat="server" Text='<%#
Bind("andetail") %>'>
</asp:TextBox><br />
andate:
<asp:TextBox ID="andateTextBox" runat="server" Text='<%#
Bind("andate") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="UpdateButton" runat="server"
CausesValidation="True" CommandName="Update"
Text="Update">
</asp:LinkButton>
<asp:LinkButton ID="UpdateCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel"
Text="Cancel">
</asp:LinkButton>
</EditItemTemplate>
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue"
HorizontalAlign="Center" />
<InsertItemTemplate>
andetail:
<asp:TextBox ID="andetailTextBox" runat="server" Text='<%#
Bind("andetail") %>'>
</asp:TextBox><br />

CMCS, Yavatmal (2018-2019)


94
“RTA INFORMATION SYSTEM”

andate:
<asp:TextBox ID="andateTextBox" runat="server" Text='<%#
Bind("andate") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="InsertButton" runat="server"
CausesValidation="True" CommandName="Insert"
Text="Insert">
</asp:LinkButton>
<asp:LinkButton ID="InsertCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel"
Text="Cancel">
</asp:LinkButton>
</InsertItemTemplate>
<ItemTemplate>
&nbsp;<asp:Label ID="andetailLabel" runat="server" Text='<%#
Bind("andetail") %>'></asp:Label><br />
&nbsp;<asp:Label ID="andateLabel" runat="server" Text='<%#
Bind("andate") %>'></asp:Label><br />
</ItemTemplate>
<HeaderStyle BackColor="Tan" Font-Bold="True" />
</asp:FormView>
<asp:SqlDataSource ID="SqlDataSource4" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [anew], [andate], [andetail] FROM
[tblanews]"></asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDataSource3" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [andetail], [andate] FROM
[tblanews]"></asp:SqlDataSource>
</td>
</tr></table></form></body></html>

CMCS, Yavatmal (2018-2019)


95
“RTA INFORMATION SYSTEM”

photogallery.aspx

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


AutoEventWireup="true" CodeFile="photogallary.aspx.cs"
Inherits="Home_photogallary" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp;&nbsp;
<table style="width: 100%; position: static">
<tr>
<td style="width: 30%; text-align: right;">
<strong><span style="color: #ffffff">
Photos</span></strong></td>
<td style="width: 70%">
<asp:FileUpload ID="FileUpload1" runat="server" Style="position:
static" /></td>
</tr>
<tr>
<td style="width: 30%; text-align: right;">
<strong><span style="color: #ffffff">
Description</span></strong></td>
<td style="width: 70%">
<asp:TextBox ID="txtdec" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 30%">
</td>
<td style="width: 70%">
<asp:Button ID="btnsubmit" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
OnClick="btnsubmit_Click" Style="position: static" Text="Submit"
Width="73px" /></td>
</tr>
<tr>
<td style="width: 30%">
</td>
<td style="width: 70%">
</td>
</tr>
<tr>
<td colspan="2" style="width: 100%">
<asp:DataList ID="DataList1" runat="server" BackColor="White"
BorderColor="#CC9966"
BorderStyle="Groove" BorderWidth="3px" CellPadding="4"
DataSourceID="SqlDataSource1"
GridLines="Both" RepeatColumns="3" Width="100%">
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<SelectedItemStyle BackColor="#FFCC66" Font-Bold="True"
ForeColor="#663399" />

CMCS, Yavatmal (2018-2019)


96
“RTA INFORMATION SYSTEM”

<ItemTemplate>
&nbsp;<asp:Image ID="Image1" runat="server"
BorderColor="#0000C0" BorderStyle="Groove"
BorderWidth="3px" Height="150px" ImageUrl='<%# Eval("purl",
"{0}") %>' Width="150px" /><br />
<asp:Label ID="desLabel" runat="server" Font-Bold="True"
ForeColor="#C00000" Text='<%# Eval("des") %>'></asp:Label><br />
<br />
</ItemTemplate>
<ItemStyle BackColor="White" ForeColor="#330099" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="#FFFFCC" />
</asp:DataList><asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [purl], [des] FROM [tblphotogallary]
WHERE ([uname] = @uname)">
<SelectParameters>
<asp:SessionParameter Name="uname" SessionField="uname"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td></tr></table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


97
“RTA INFORMATION SYSTEM”

RequestFrnds.aspx

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


AutoEventWireup="true" CodeFile="RequestFrnds.aspx.cs"
Inherits="Home_RequestFrnds" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%">
<tr>
<td style="vertical-align: middle; width: 100%; text-align: center">
<asp:DropDownList ID="DropDownList1" runat="server"
AutoPostBack="True" DataSourceID="SqlDataSource1"
DataTextField="req_from" DataValueField="req_from">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource1"
runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [req_from] FROM [tblRequest] WHERE
([req_to] = @req_to)">
<SelectParameters>
<asp:SessionParameter Name="req_to" SessionField="uname"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
<asp:FormView ID="FormView1" runat="server" CellPadding="4"
DataSourceID="SqlDataSource2"
ForeColor="#333333">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<EditRowStyle BackColor="#999999" />
<EditItemTemplate>
fnm:
<asp:TextBox ID="fnmTextBox" runat="server" Text='<%#
Bind("fnm") %>'>
</asp:TextBox><br />
mnm:
<asp:TextBox ID="mnmTextBox" runat="server" Text='<%#
Bind("mnm") %>'>
</asp:TextBox><br />
lnm:
<asp:TextBox ID="lnmTextBox" runat="server" Text='<%#
Bind("lnm") %>'>
</asp:TextBox><br />
state:
<asp:TextBox ID="stateTextBox" runat="server" Text='<%#
Bind("state") %>'>
</asp:TextBox><br />
city:
<asp:TextBox ID="cityTextBox" runat="server" Text='<%#
Bind("city") %>'>
</asp:TextBox><br />

CMCS, Yavatmal (2018-2019)


98
“RTA INFORMATION SYSTEM”

<asp:LinkButton ID="UpdateButton" runat="server"


CausesValidation="True" CommandName="Update"
Text="Update">
</asp:LinkButton>
<asp:LinkButton ID="UpdateCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel"
Text="Cancel">
</asp:LinkButton>
</EditItemTemplate>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<InsertItemTemplate>
fnm:
<asp:TextBox ID="fnmTextBox" runat="server" Text='<%#
Bind("fnm") %>'>
</asp:TextBox><br />
mnm:
<asp:TextBox ID="mnmTextBox" runat="server" Text='<%#
Bind("mnm") %>'>
</asp:TextBox><br />
lnm:
<asp:TextBox ID="lnmTextBox" runat="server" Text='<%#
Bind("lnm") %>'>
</asp:TextBox><br />
state:
<asp:TextBox ID="stateTextBox" runat="server" Text='<%#
Bind("state") %>'>
</asp:TextBox><br />
city:
<asp:TextBox ID="cityTextBox" runat="server" Text='<%#
Bind("city") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="InsertButton" runat="server"
CausesValidation="True" CommandName="Insert"
Text="Insert">
</asp:LinkButton>
<asp:LinkButton ID="InsertCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel"
Text="Cancel">
</asp:LinkButton>
</InsertItemTemplate>
<ItemTemplate>
<strong>From: </strong>
<asp:Label ID="fnmLabel" runat="server" Text='<%# Bind("fnm")
%>'></asp:Label><br />
<strong>MiddleName: </strong>
<asp:Label ID="mnmLabel" runat="server" Text='<%# Bind("mnm")
%>'></asp:Label><br />
<strong>LastName:: </strong>

CMCS, Yavatmal (2018-2019)


99
“RTA INFORMATION SYSTEM”

<asp:Label ID="lnmLabel" runat="server" Text='<%# Bind("lnm")


%>'></asp:Label><br />
<strong>State:: </strong>
<asp:Label ID="stateLabel" runat="server" Text='<%# Bind("state")
%>'></asp:Label><br />
<strong>City: </strong>
<asp:Label ID="cityLabel" runat="server" Text='<%# Bind("city")
%>'></asp:Label><br />
</ItemTemplate>
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
</asp:FormView>
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [fnm], [mnm], [lnm], [state], [city] FROM
[tbllogin] WHERE ([email] = @email)">
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList1" Name="email"
PropertyName="SelectedValue"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
<asp:Button ID="Button1" runat="server" Font-Bold="True"
OnClick="Button1_Click"
Text="Accept" /><asp:Button ID="Button2" runat="server" Font-
Bold="True" OnClick="Button2_Click"
Text="Reject" /></td></tr></table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


100
“RTA INFORMATION SYSTEM”

requestUser.aspx

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


AutoEventWireup="true" CodeFile="requestUser.aspx.cs"
Inherits="Home_requestUser" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%">
<tr>
<td style="text-transform: capitalize; width: 100%; color: black; font-family:
verdana;
background-color: white; font-variant: normal">
Request User From Here...<asp:DropDownList ID="DropDownList1"
runat="server" DataSourceID="SqlDataSource2"
DataTextField="email" DataValueField="email" Enabled="False" Font-
Bold="True"
ForeColor="#C00000"
OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
<asp:ListItem>Select</asp:ListItem>
</asp:DropDownList></td>
</tr>
<tr>
<td style="text-transform: capitalize; width: 100%; color: black; font-family:
verdana;
background-color: white; font-variant: normal; height: 188px;">
<asp:FormView ID="FormView1" runat="server" BackColor="White"
BorderColor="#E7E7FF"
BorderStyle="None" BorderWidth="1px" CellPadding="3"
DataKeyNames="email" DataSourceID="SqlDataSource1"
GridLines="Horizontal" HeaderText="Your User Information is as
below:" Width="100%">
<FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
<EditRowStyle BackColor="#738A9C" Font-Bold="True"
ForeColor="#F7F7F7" />
<EditItemTemplate>
fnm:
<asp:TextBox ID="fnmTextBox" runat="server" Text='<%#
Bind("fnm") %>'>
</asp:TextBox><br />
mnm:
<asp:TextBox ID="mnmTextBox" runat="server" Text='<%#
Bind("mnm") %>'>
</asp:TextBox><br />
lnm:
<asp:TextBox ID="lnmTextBox" runat="server" Text='<%#
Bind("lnm") %>'>
</asp:TextBox><br />
email:
<asp:Label ID="emailLabel1" runat="server" Text='<%#
Eval("email") %>'></asp:Label><br />

CMCS, Yavatmal (2018-2019)


101
“RTA INFORMATION SYSTEM”

city:
<asp:TextBox ID="cityTextBox" runat="server" Text='<%#
Bind("city") %>'>
</asp:TextBox><br />
state:
<asp:TextBox ID="stateTextBox" runat="server" Text='<%#
Bind("state") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="UpdateButton" runat="server"
CausesValidation="True" CommandName="Update"
Text="Update">
</asp:LinkButton>
<asp:LinkButton ID="UpdateCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel"
Text="Cancel">
</asp:LinkButton>
</EditItemTemplate>
<RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
<PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C"
HorizontalAlign="Right" />
<InsertItemTemplate>
fnm:
<asp:TextBox ID="fnmTextBox" runat="server" Text='<%#
Bind("fnm") %>'>
</asp:TextBox><br />
mnm:
<asp:TextBox ID="mnmTextBox" runat="server" Text='<%#
Bind("mnm") %>'>
</asp:TextBox><br />
lnm:
<asp:TextBox ID="lnmTextBox" runat="server" Text='<%#
Bind("lnm") %>'>
</asp:TextBox><br />
email:
<asp:TextBox ID="emailTextBox" runat="server" Text='<%#
Bind("email") %>'>
</asp:TextBox><br />
city:
<asp:TextBox ID="cityTextBox" runat="server" Text='<%#
Bind("city") %>'>
</asp:TextBox><br />
state:
<asp:TextBox ID="stateTextBox" runat="server" Text='<%#
Bind("state") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="InsertButton" runat="server"
CausesValidation="True" CommandName="Insert"
Text="Insert">
</asp:LinkButton>

CMCS, Yavatmal (2018-2019)


102
“RTA INFORMATION SYSTEM”

<asp:LinkButton ID="InsertCancelButton" runat="server"


CausesValidation="False" CommandName="Cancel"
Text="Cancel">
</asp:LinkButton>
</InsertItemTemplate>
<ItemTemplate>
fnm:
<asp:Label ID="fnmLabel" runat="server" Text='<%# Bind("fnm")
%>'></asp:Label><br />
mnm:
<asp:Label ID="mnmLabel" runat="server" Text='<%# Bind("mnm")
%>'></asp:Label><br />
lnm:
<asp:Label ID="lnmLabel" runat="server" Text='<%# Bind("lnm")
%>'></asp:Label><br />
email:
<asp:Label ID="emailLabel" runat="server" Text='<%# Eval("email")
%>'></asp:Label><br />
city:
<asp:Label ID="cityLabel" runat="server" Text='<%# Bind("city")
%>'></asp:Label><br />
state:
<asp:Label ID="stateLabel" runat="server" Text='<%# Bind("state")
%>'></asp:Label><br />
</ItemTemplate>
<HeaderStyle BackColor="#4A3C8C" Font-Bold="True"
ForeColor="#F7F7F7" />
</asp:FormView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [fnm], [mnm], [lnm], [email], [city], [state]
FROM [tbllogin] WHERE ([email] = @email)">
<SelectParameters>
<asp:QueryStringParameter Name="email" QueryStringField="id"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>
<td style="text-transform: capitalize; width: 100%; color: black; font-family:
verdana;
background-color: white; font-variant: normal">
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click"
Text="Request Now" />
<asp:Button ID="Button2" runat="server" Text="Close" />
&nbsp;
<asp:Label ID="lblText" runat="server"></asp:Label>
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"

CMCS, Yavatmal (2018-2019)


103
“RTA INFORMATION SYSTEM”

SelectCommand="SELECT [email] FROM [tbllogin] WHERE ([email] =


@email)">
<SelectParameters>
<asp:QueryStringParameter Name="email" QueryStringField="id"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


104
“RTA INFORMATION SYSTEM”

scrap.aspx

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


AutoEventWireup="true" CodeFile="scrap.aspx.cs" Inherits="Home_scrap"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
&nbsp;<table style="width: 100%">
<tr>
<td style="width: 100%; background-color: #999966">
<strong>My Scraps..</strong></td>
</tr>
<tr>
<td style="width: 100%">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False"
CellPadding="4" DataSourceID="SqlDataSource1"
ForeColor="#333333" GridLines="None"
Width="100%">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<Columns>
<asp:BoundField DataField="sname" HeaderText="Sender's Name"
SortExpression="sname" />
<asp:BoundField DataField="sdetails" HeaderText="Scrap Details"
SortExpression="sdetails" />
<asp:CommandField ShowDeleteButton="True" />
</Columns>
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<EditRowStyle BackColor="#999999" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True"
ForeColor="#333333" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConflictDetection="CompareAllValues"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
DeleteCommand="DELETE FROM [tblScrap] WHERE [sid] = @original_sid"
InsertCommand="INSERT INTO [tblScrap] ([sdetails], [sname])
VALUES (@sdetails, @sname)"
OldValuesParameterFormatString="original_{0}"
SelectCommand="SELECT [sdetails], [sname], [sid] FROM [tblScrap] WHERE
([sch] = @sch)"
UpdateCommand="UPDATE [tblScrap] SET [sdetails] = @sdetails,
[sname] = @sname WHERE [sid] = @original_sid AND [sdetails] =
@original_sdetails AND [sname] = @original_sname">

CMCS, Yavatmal (2018-2019)


105
“RTA INFORMATION SYSTEM”

<DeleteParameters>
<asp:Parameter Name="original_sid" Type="Int32" />
<asp:Parameter Name="original_sdetails" Type="String" />
<asp:Parameter Name="original_sname" Type="String" />
</DeleteParameters>
<UpdateParameters>
<asp:Parameter Name="sdetails" Type="String" />
<asp:Parameter Name="sname" Type="String" />
<asp:Parameter Name="original_sid" Type="Int32" />
<asp:Parameter Name="original_sdetails" Type="String" />
<asp:Parameter Name="original_sname" Type="String" />
</UpdateParameters>
<SelectParameters>
<asp:SessionParameter Name="sch" SessionField="uname"
Type="String" />
</SelectParameters>
<InsertParameters>
<asp:Parameter Name="sdetails" Type="String" />
<asp:Parameter Name="sname" Type="String" />
</InsertParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


106
“RTA INFORMATION SYSTEM”

search.aspx

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


AutoEventWireup="true" CodeFile="search.aspx.cs" Inherits="Home_search"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True"
AutoGenerateColumns="False"
BackColor="#DEBA84" BorderColor="#DEBA84" BorderStyle="None"
BorderWidth="1px"
CellPadding="3" CellSpacing="2" DataSourceID="SqlDataSource1"
Style="width: 100%;
position: static">
<FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
<Columns>
<asp:BoundField DataField="email" HeaderText="UserID"
SortExpression="email" />
<asp:BoundField DataField="lnm" HeaderText="Last Name"
SortExpression="lnm" />
<asp:BoundField DataField="city" HeaderText="City"
SortExpression="city" />
<asp:BoundField DataField="state" HeaderText="State"
SortExpression="state" />
<asp:TemplateField></asp:TemplateField>
</Columns>
<RowStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
<SelectedRowStyle BackColor="#738A9C" Font-Bold="True"
ForeColor="White" />
<PagerStyle ForeColor="#8C4510" HorizontalAlign="Center" />
<HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%
$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [email], [Photos], [fnm], [lnm], [city], [state] FROM
[profile1] WHERE (([email] LIKE + @email + '%') OR ([fnm] LIKE + @fnm + '%')
OR ([lnm] LIKE + @lnm + '%') OR ([city] LIKE + @city + '%') OR ([state] LIKE
+ @state + '%') AND ([email] NOT LIKE '%' + @email2 + '%')) ORDER BY
[email]&#13;&#10;">
<SelectParameters>
<asp:QueryStringParameter Name="email" QueryStringField="sd"
Type="String" />
<asp:QueryStringParameter Name="fnm" QueryStringField="sd"
Type="String" />
<asp:QueryStringParameter Name="lnm" QueryStringField="sd"
Type="String" />
<asp:QueryStringParameter Name="city" QueryStringField="sd"
Type="String" />
<asp:QueryStringParameter Name="state" QueryStringField="sd"
Type="String" />

CMCS, Yavatmal (2018-2019)


107
“RTA INFORMATION SYSTEM”

<asp:SessionParameter Name="email2" SessionField="uname" Type="String"


/>
</SelectParameters> </asp:SqlDataSource>
</asp:Content>

Searchuser.aspx

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


AutoEventWireup="true" CodeFile="searchUser.aspx.cs"
Inherits="Home_searchUser" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%">
<tr>
<td style="text-transform: capitalize; width: 100%; color: black; font-family:
verdana;
background-color: white; font-variant: normal">
Your searched information is listed below:</td>
</tr>
<tr>
<td style="text-transform: capitalize; width: 100%; color: black; font-family:
verdana;
background-color: white; font-variant: normal">
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" BackColor="White"
BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px"
CellPadding="4" DataKeyNames="email"
DataSourceID="SqlDataSource1"
OnSelectedIndexChanged="GridView1_SelectedIndexChanged"
Width="100%">
<FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table style="width: 100%">
<tr>
<td style="width: 100%">
</td>
</tr>
<tr>
<td style="width: 100%; height: 20px">
<asp:Label ID="Label1" runat="server" Text='<%#
Eval("fnm", "{0}") %>'></asp:Label>
<asp:Label ID="Label2" runat="server" Text='<%#
Eval("lnm", "{0}") %>'></asp:Label></td>
</tr>
<tr>
<td style="width: 100%">
<asp:Label ID="Label4" runat="server" Text='<%#
Eval("city", "{0}") %>'></asp:Label>,<asp:Label

CMCS, Yavatmal (2018-2019)


108
“RTA INFORMATION SYSTEM”

ID="Label5" runat="server" Text='<%# Eval("state",


"{0}") %>'></asp:Label></td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
<asp:HyperLinkField DataNavigateUrlFields="email"
DataNavigateUrlFormatString="requestUser.aspx?id={0}"
DataTextField="email" HeaderText="Show Details"
Target="_blank" Text="Request Now" />
</Columns>
<RowStyle BackColor="White" ForeColor="#003399" />
<SelectedRowStyle BackColor="#009999" Font-Bold="True"
ForeColor="#CCFF99" />
<PagerStyle BackColor="#99CCCC" ForeColor="#003399"
HorizontalAlign="Left" />
<HeaderStyle BackColor="#003399" Font-Bold="True"
ForeColor="#CCCCFF" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [fnm], [lnm], [email], [city], [state] FROM
[tbllogin] WHERE (([fnm] LIKE @fnm + '%') OR ([email] LIKE @email + '%')
OR ([city] LIKE @city + '%') OR ([state] LIKE @state + '%') OR ([lnm] LIKE
@lnm + '%') AND ([email] NOT LIKE @email2 + '%')) ORDER BY [email]">
<SelectParameters>
<asp:QueryStringParameter Name="fnm" QueryStringField="sd"
Type="String" />
<asp:QueryStringParameter Name="email" QueryStringField="sd"
Type="String" />
<asp:QueryStringParameter Name="city" QueryStringField="sd"
Type="String" />
<asp:QueryStringParameter Name="state" QueryStringField="sd"
Type="String" />
<asp:QueryStringParameter Name="lnm" QueryStringField="sd"
Type="String" />
<asp:SessionParameter Name="email2" SessionField="uname"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


109
“RTA INFORMATION SYSTEM”

Viewprofile.aspx

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


AutoEventWireup="true" CodeFile="ViewProfile.aspx.cs"
Inherits="Home_ViewProfile" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%">
<tr>
<td style="vertical-align: middle; width: 100%; height: 22px; background-
color: #999966;
text-align: center">
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 22px; background-
color: #999966;
text-align: center">
<table style="width: 100%">
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px;
background-color: #999966;
text-align: center">
<strong>---Send A Scrap ---
<asp:DropDownList ID="DropDownList1" runat="server"
DataSourceID="SqlDataSource3"
DataTextField="email" DataValueField="email"
Enabled="False">
</asp:DropDownList><asp:SqlDataSource ID="SqlDataSource3"
runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [email] FROM [profile1] WHERE
([email] = @email)">
<SelectParameters>
<asp:QueryStringParameter Name="email"
QueryStringField="em" Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</strong>
</td>
</tr>
<tr>
<td style="vertical-align: top; width: 100%; text-align: left">
<table style="width: 100%">
<tr>
<td style="vertical-align: top; width: 50%; height: 91px; text-
align: right">
<strong>Scrap:</strong></td>
<td style="vertical-align: top; width: 50%; height: 91px; text-
align: left">

CMCS, Yavatmal (2018-2019)


110
“RTA INFORMATION SYSTEM”

<asp:TextBox ID="txtScrap" runat="server" Height="81px"


TextMode="MultiLine" Width="192px"></asp:TextBox></td>
</tr>
<tr>
<td style="vertical-align: top; width: 50%; height: 91px; text-
align: right">
</td>
<td style="vertical-align: top; width: 50%; height: 91px; text-
align: left">
<asp:Button ID="Button1" runat="server"
OnClick="Button1_Click1" Text="Send" /></td>
</tr>
<tr>
<td colspan="2" style="vertical-align: top; width: 100%;
height: 91px; text-align: left">
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" CellPadding="4"
DataSourceID="SqlDataSource4" ForeColor="#333333"
GridLines="None" Width="100%">
<FooterStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<Columns>
<asp:BoundField DataField="sname"
HeaderText="Sender" SortExpression="sname" />
<asp:BoundField DataField="sdetails"
HeaderText="Scraps" SortExpression="sdetails" />
</Columns>
<RowStyle BackColor="#FFFBD6"
ForeColor="#333333" />
<SelectedRowStyle BackColor="#FFCC66" Font-
Bold="True" ForeColor="Navy" />
<PagerStyle BackColor="#FFCC66"
ForeColor="#333333" HorizontalAlign="Center" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource4" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [sdetails], [sname] FROM
[tblScrap] WHERE ([sch] = @sch)">
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList1"
Name="sch" PropertyName="SelectedValue"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>

CMCS, Yavatmal (2018-2019)


111
“RTA INFORMATION SYSTEM”

</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 22px; background-
color: #999966;
text-align: center">
<strong>Profile Details</strong></td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 22px; background-
color: #999966;
text-align: center">
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; text-align: center">
<asp:FormView ID="FormView1" runat="server" BorderColor="Gray"
BorderStyle="Groove"
BorderWidth="3px" CellPadding="4" DataSourceID="SqlDataSource1"
ForeColor="#333333"
Width="100%">
<FooterStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<EditItemTemplate>
Photos:
<asp:TextBox ID="PhotosTextBox" runat="server" Text='<%#
Bind("Photos") %>'>
</asp:TextBox><br />
fnm:
<asp:TextBox ID="fnmTextBox" runat="server" Text='<%#
Bind("fnm") %>'>
</asp:TextBox><br />
mnm:
<asp:TextBox ID="mnmTextBox" runat="server" Text='<%#
Bind("mnm") %>'>
</asp:TextBox><br />
lnm:
<asp:TextBox ID="lnmTextBox" runat="server" Text='<%#
Bind("lnm") %>'>
</asp:TextBox><br />
gender:
<asp:TextBox ID="genderTextBox" runat="server" Text='<%#
Bind("gender") %>'>
</asp:TextBox><br />
bdate:
<asp:TextBox ID="bdateTextBox" runat="server" Text='<%#
Bind("bdate") %>'>

CMCS, Yavatmal (2018-2019)


112
“RTA INFORMATION SYSTEM”

</asp:TextBox><br />
city:
<asp:TextBox ID="cityTextBox" runat="server" Text='<%#
Bind("city") %>'>
</asp:TextBox><br />
state:
<asp:TextBox ID="stateTextBox" runat="server" Text='<%#
Bind("state") %>'>
</asp:TextBox><br />
pin:
<asp:TextBox ID="pinTextBox" runat="server" Text='<%#
Bind("pin") %>'>
</asp:TextBox><br />
phone:
<asp:TextBox ID="phoneTextBox" runat="server" Text='<%#
Bind("phone") %>'>
</asp:TextBox><br />
mobile:
<asp:TextBox ID="mobileTextBox" runat="server" Text='<%#
Bind("mobile") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="UpdateButton" runat="server"
CausesValidation="True" CommandName="Update"
Text="Update">
</asp:LinkButton>
<asp:LinkButton ID="UpdateCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel"
Text="Cancel">
</asp:LinkButton>
</EditItemTemplate>
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333"
HorizontalAlign="Center" />
<InsertItemTemplate>
Photos:
<asp:TextBox ID="PhotosTextBox" runat="server" Text='<%#
Bind("Photos") %>'>
</asp:TextBox><br />
fnm:
<asp:TextBox ID="fnmTextBox" runat="server" Text='<%#
Bind("fnm") %>'>
</asp:TextBox><br />
mnm:
<asp:TextBox ID="mnmTextBox" runat="server" Text='<%#
Bind("mnm") %>'>
</asp:TextBox><br />
lnm:
<asp:TextBox ID="lnmTextBox" runat="server" Text='<%#
Bind("lnm") %>'>
</asp:TextBox><br />

CMCS, Yavatmal (2018-2019)


113
“RTA INFORMATION SYSTEM”

gender:
<asp:TextBox ID="genderTextBox" runat="server" Text='<%#
Bind("gender") %>'>
</asp:TextBox><br />
bdate:
<asp:TextBox ID="bdateTextBox" runat="server" Text='<%#
Bind("bdate") %>'>
</asp:TextBox><br />
city:
<asp:TextBox ID="cityTextBox" runat="server" Text='<%#
Bind("city") %>'>
</asp:TextBox><br />
state:
<asp:TextBox ID="stateTextBox" runat="server" Text='<%#
Bind("state") %>'>
</asp:TextBox><br />
pin:
<asp:TextBox ID="pinTextBox" runat="server" Text='<%#
Bind("pin") %>'>
</asp:TextBox><br />
phone:
<asp:TextBox ID="phoneTextBox" runat="server" Text='<%#
Bind("phone") %>'>
</asp:TextBox><br />
mobile:
<asp:TextBox ID="mobileTextBox" runat="server" Text='<%#
Bind("mobile") %>'>
</asp:TextBox><br />
<asp:LinkButton ID="InsertButton" runat="server"
CausesValidation="True" CommandName="Insert"
Text="Insert">
</asp:LinkButton>
<asp:LinkButton ID="InsertCancelButton" runat="server"
CausesValidation="False" CommandName="Cancel"
Text="Cancel">
</asp:LinkButton>
</InsertItemTemplate>
<ItemTemplate>
<asp:Image ID="Image1" runat="server" BorderColor="Black"
BorderStyle="Groove" BorderWidth="3px"
Height="200px" ImageUrl='<%# Eval("Photos", "{0}") %>'
Width="200px" /><br />
<br />
<strong>FirstName: </strong>
<asp:Label ID="fnmLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("fnm") %>'></asp:Label><br />
<br />
<strong>MiddleName: </strong>
<asp:Label ID="mnmLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("mnm") %>'></asp:Label><br />

CMCS, Yavatmal (2018-2019)


114
“RTA INFORMATION SYSTEM”

<br />
<strong>LastName: </strong>
<asp:Label ID="lnmLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("lnm") %>'></asp:Label><br />
<br />
<strong>Gender: </strong>
<asp:Label ID="genderLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("gender") %>'></asp:Label><br />
<br />
<strong>B-Date: </strong>
<asp:Label ID="bdateLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("bdate") %>'></asp:Label><br />
<br />
<strong>City: </strong>
<asp:Label ID="cityLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("city") %>'></asp:Label><br />
<br />
<strong>State: </strong>
<asp:Label ID="stateLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("state") %>'></asp:Label><br />
<br />
<strong>Pin: </strong>
<asp:Label ID="pinLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("pin") %>'></asp:Label><br />
<br />
<strong>Phone: </strong>
<asp:Label ID="phoneLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("phone") %>'></asp:Label><br />
<br />
<strong>Mobile: </strong>
<asp:Label ID="mobileLabel" runat="server" Font-Bold="True"
ForeColor="#993333" Text='<%# Bind("mobile") %>'></asp:Label><br />
</ItemTemplate>
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
</asp:FormView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [Photos], [fnm], [mnm], [lnm], [gender],
[bdate], [city], [state], [pin], [phone], [mobile] FROM [profile1] WHERE ([email] =
@email)">
<SelectParameters>
<asp:QueryStringParameter Name="email" QueryStringField="em"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
<tr>

CMCS, Yavatmal (2018-2019)


115
“RTA INFORMATION SYSTEM”

<td style="vertical-align: middle; width: 100%; height: 21px; background-


color: #999966;
text-align: center">
<strong>Photo Gallery</strong></td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; text-align: center">
<asp:DataList ID="DataList1" runat="server" BorderColor="#404040"
BorderStyle="Groove"
BorderWidth="3px" DataSourceID="SqlDataSource2"
RepeatColumns="3" Width="100%">
<ItemTemplate>
<asp:Image ID="Image2" runat="server" BorderColor="#C00000"
BorderStyle="Groove"
BorderWidth="3px" Height="150px" ImageUrl='<%# Eval("purl",
"{0}") %>' Width="150px" />&nbsp;<br />
<asp:Label ID="desLabel" runat="server" Font-Bold="True" Text='<
%# Eval("des") %>'></asp:Label><br />
<br />
</ItemTemplate>
</asp:DataList><asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [purl], [des] FROM [tblphotogallary]
WHERE ([uname] = @uname)">
<SelectParameters>
<asp:QueryStringParameter Name="uname" QueryStringField="em"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
</tr>
</table>
</asp:Content>

CMCS, Yavatmal (2018-2019)


116
“RTA INFORMATION SYSTEM”

profile1.aspx

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


AutoEventWireup="true" CodeFile="profile1.aspx.cs" Inherits="Profile_profile1"
Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
<table style="width: 100%; position: static">
<tr>
<td colspan="2" style="text-align: center">
<span style="font-size: 36pt; color: #ffffff; font-family:
Chiller"><strong>Profile</strong></span></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<span style="font-size: 12pt; color:
#ffffff"><strong>Photo</strong></span></td>
<td style="width: 50%; text-align: left">
<asp:FileUpload ID="FileUpload1" runat="server" Style="position: static;
text-align: left" /></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color: #ffffff">First
Name</span></strong></td>
<td style="width: 50%; text-align: left">
<asp:TextBox ID="txtfnm" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color: #ffffff">Middle
Name</span></strong></td>
<td style="width: 50%; text-align: left">
<asp:TextBox ID="txtmnm" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color: #ffffff">Last
Name</span></strong></td>
<td style="width: 50%; text-align: left">
<asp:TextBox ID="txtlnm" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color:
#ffffff">Gender</span></strong></td>
<td style="width: 50%; text-align: left">

CMCS, Yavatmal (2018-2019)


117
“RTA INFORMATION SYSTEM”

<asp:RadioButton ID="rbtmale" runat="server" Style="position: static"


Font-Bold="True" ForeColor="White" Text="Male" Checked="True"
GroupName="1" />
<asp:RadioButton ID="RadioButton2" runat="server" Style="position:
static" Font-Bold="True" ForeColor="White" Text="Female" GroupName="1"
/></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color: #ffffff">Birth of
date</span></strong></td>
<td style="width: 50%; text-align: left">
<asp:DropDownList ID="ddlday" runat="server" Style="position: static">
</asp:DropDownList>
<asp:DropDownList ID="ddlmonth" runat="server" Style="position:
static">
</asp:DropDownList>
<asp:DropDownList ID="ddlyear" runat="server" Style="position: static">
</asp:DropDownList></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color:
#ffffff">City</span></strong></td>
<td style="width: 50%; text-align: left">
<asp:TextBox ID="txtct" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color:
#ffffff">State</span></strong></td>
<td style="width: 50%; text-align: left">
<asp:TextBox ID="txtstate" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color:
#ffffff">Pin</span></strong></td>
<td style="width: 50%; text-align: left">
<asp:TextBox ID="txtpin" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color: #ffffff">Phone
no.</span></strong></td>
<td style="width: 50%; text-align: left">

CMCS, Yavatmal (2018-2019)


118
“RTA INFORMATION SYSTEM”

<asp:TextBox ID="txtphone" runat="server" Style="position:


static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%; text-align: right;">
<strong><span style="font-size: 12pt; color: #ffffff">Mobile
no.</span></strong></td>
<td style="width: 50%; text-align: left">
<asp:TextBox ID="txtmobile" runat="server" Style="position:
static"></asp:TextBox></td>
</tr>
<tr>
<td style="width: 50%">
</td>
<td style="width: 50%; text-align: left">
<asp:Button ID="Button1" runat="server" BackColor="#C0C0FF" Font-
Bold="True" ForeColor="#000040"
Style="position: static" Text="Submit" Width="89px"
OnClick="Button1_Click" /></td>
</tr>
</table>
&nbsp;
</asp:Content>

CMCS, Yavatmal (2018-2019)


119
“RTA INFORMATION SYSTEM”

profile1.master

<%@ Master Language="C#" AutoEventWireup="true"


CodeFile="profile1.master.cs" Inherits="Profile_profile1" %>

<!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 rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#cccccc">
<form id="form1" runat="server">
<table style="width: 100%">
<tr>
<td style="width: 100%">
<asp:Image ID="Image1" runat="server" BorderColor="Black"
BorderStyle="Groove" BorderWidth="3px"
Height="238px" ImageUrl="~/images/main Banner.jpg"
Width="100%" /></td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; height: 21px; text-align:
center">
<strong>WelCome To: </strong>
<asp:Label ID="lbluser" runat="server" Font-Bold="True"
ForeColor="Maroon" Style="position: static"></asp:Label></td>
</tr>
<tr>
<td style="vertical-align: top; width: 100%; height: 21px; text-align: right">
<asp:Button ID="btnlogout" runat="server" BackColor="Gray"
Font-Bold="True" ForeColor="Navy"
Style="position: static" Text="Logout"
OnClick="btnlogout_Click" /></td>
</tr>
<tr>
<td style="width: 100%; height: 235px">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
<tr>
<td style="vertical-align: middle; width: 100%; text-align: center">
<strong><span style="color:
#663333">Copyright@RevolutionCreation.Com</span></strong></td>
</tr>
</table>
</form></body></html>

CMCS, Yavatmal (2018-2019)


120
“RTA INFORMATION SYSTEM”

Web.config

<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<appSettings/>
<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=.\
SQLEXPRESS;Initial Catalog=Community;Integrated Security=True"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows"/>
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">


<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages controlRenderingCompatibilityVersion="3.5"
clientIDMode="AutoID"/></system.web></configuration>

CMCS, Yavatmal (2018-2019)


121
“RTA INFORMATION SYSTEM”

CHAPTER 4

RESULT AND ANALYSIS

CMCS, Yavatmal (2018-2019)


122
“RTA INFORMATION SYSTEM”

CHAPTER 5

CONCLUSION

RTA provides the facility of applying licenses online, issuance of permanent license,
tax challans, and receiving payments against challans.

 The project has been appreciated by all the users in the organization.

 It is easy to use, since it uses the GUI provided in the user dialog.

 User friendly screens are provided.

 The usage of software increases the efficiency, decreases the effort.

It has been efficiently employed as a project management mechanism.

5. 1 LIMITATIONS

 This site is online and also runs with the network like LAN network
implemented in the computer lab. As this is only for the users (employees of a
company), so it require internet connection.

 This System is temporary not provide message, video gallery.

 This system is temporary use from company employees.

5. 2 FUTURE SCOPE

In this project we are providing challanas through website only. In future we


can access and updates details through sms also. As the system is scalable, more
modules can be added as and when required.

• The database that is used in the system can be connected to top-most web
servers so that it will be accesses by everyone.

• It can be browser independent so that the site can be opened in any browser.

• The system contents can be modified to accept new attributes for any criterion.

CMCS, Yavatmal (2018-2019)


123
“RTA INFORMATION SYSTEM”

In the future we build message, video gallery.

 We also provide high security and reduces disadvantage.

 Reduces high cost.

 Reduce the time consuming.

CMCS, Yavatmal (2018-2019)


124
“RTA INFORMATION SYSTEM”

CHAPTER 6

BIBLIOGRAPHY

 System design and Analysis By James A. Sen.

 Software Engineering By Roger Pressman.

 Professional Asp.net 2.0.

 Sams Teach Yourself SQL in 10 minutes by Ben Forta.

 Simply Put! By Thomas Hathaqay, Angela Hathaway.

 The Elements of UML by Andrea Baruffaldi.

REFERENCES

 www.wikipedia.com

 www.microsoft.com

 www.sqlserver.com

 www.teachyourselfcs.com

CMCS, Yavatmal (2018-2019)


125

You might also like