SlideShare a Scribd company logo
1
Airbase information and management
system.
Group Members
Name Register Number
Kedar kumar 15BIT0268
Mohit sharma 15BIT0234
Under the guidance of
Prof. SathiyaMoorthy SITE
VIT University
School of Information Technology and Engineering
Nov, 2016
2
CHAPTER 1
INTRODUCTION
1.1 BACKGROUND
It is obvious that everything that is sustainable would have to go through advancement.
In science and technology, the desire for improvement is a constant subject which triggers
advancement. This is visible in every ramification and the airline industry is not
exemption.
Airbase reservation system(ARS) used to be standalone systems. Each airline had it’s
own system, disconnected from other airlines or ticket agents, and usable only by a
designated number of airline employees. Travel agents in the 1970s pushed for access to
airlines’ systems. Today, air travel information is linked, stored and retrieved by a
network of computer reservation systems(CRS), accessible by multiple airlines and travel
agents. The global distribution system(GDS) makes for an even larger web of airline
information, not only merging buying and selling of tickets for multiple airlines, but also
making systems accessible to consumer directly. GDS portals and gateways in web allow
cinsumers to purchase tickets directly, select seats, and even boo hotels and rental
cars.(Winston Clifford 1995).
1.2 PROBLEM STATEMENT
3
The outcome of this study will provide a basis for developing the appropriate approach to
the problems associated with air traveling operations in relation to airbase reservation
sytems(ARSs).
1.3 ORGANIZATION OF THE PROJECT
This thesis is aimed at exposing the relevance and importance of real-time for airbase
reservation systems (ARS). It is elevated towards enhancing the relationship between
customers and airbase agencies through the use of ARSs, thereby easing the flight
ticketing and selling process.
This research work will be beneficial to all those who make use of airbase reservation
systems(ARSs), flight operators, air travelling operators, travel agents and airbase
agencies.
In addition, it will assist all those in computer-related disciplines who may want to
appreciate the system and also those doing research on similar topic.
This thesis is not only restricted to Airbase reservation systems(ARSs), but also other
systems dedicated to optimal performance in this airbase industry; airbase agencies and
their customers inclusive.
Context model.
4
CHAPTER 4
DETAILED DESIGN
4.1 SAMPLE SYSTEM ARCHITECTURE
5
Fig. 4.1 Sample System Architecture
4.2 MODULE DESCRIPTION
 Input
 Process
 Output
6
 Database storage
4.2.1 Input
Here, first of all after the execution of project, the login page will pop-up and once
get logged-in it’ll open in menu option, where we’ll have information regarding every
phase of project like add employee, view employee, add country, modify or delete
country, add state, modify or delete state, add passenger, remove and book ticket etc.
4.2.2 Process
In processing section of project, we’ll a poped-up Page where we have enter the
information asked there like contact details of employee, name, password, address. Etc.
and from here things entered get updated in databases;
4.2.3 Output
In output section of project, the admin can see the entire information related to employee,
aircraft, passenger, airfare, ticket, country and states.
4.2.4 Database storage
This is the most important section of the project as entire project is in vain if it’s not there.
The database system we used is mysql community package. Every information entered or
removed only can be done if they’re updated in database, then only they’ll pop-up in front-
end of software.
4.3 REQUIREMENT SPECIFICATION
4.3.1 Hardware Requirements
Sl No. Hardware Required Configuration
1 Processor Pentium –IV or higher user
7
2 RAM 256 MB (min)
3 Hard Disk 20 GB or more
4 Key Board Standard Windows Keyboard
5 Mouse Standard
6 Monitor SVGA or higher user
4.3.2 Software Requirements
Sl No. Software Version
1 Operating System Windows7/8/8.1/10
2 Application Server Visual studio 2015(.Net Framework)
3 Front End C#, Xaml.
4 Back End My Sql
4.4 UML DIAGRAMS
UML stands for Unified Modeling Language. UML is a consistent general
purpose modeling language in the area of object oriented se. The standard is organized,
and was created by, the Object Management Group.
The objective is for UML to turn into a common language for creating models
of object oriented computer software. In its existing form UML is comprised of two most
important components; a Meta-model and a notation. In the future, some variety of method
or method may also be added to or connected with UML. The Unified Modeling Language
is a standard language for specifying, Construction, and documenting the artifacts of
Table 1: Hardware Requirements
Table 2: Software Requirements
8
software system, as well as for business modeling. The UML represents a set of best
engineering practices that have demonstrated successful in the modeling of huge and
composite system.
Class diagram.
9
Use case diagram.
10
Sequence diagram.
Activity Diagram.
11
CHAPTER 5
IMPLEMENTATIONOF THE SYSTEM
5.1 SAMPLE CODE
signup.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
12
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
{
public partial class signup : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
if (TextBox4.Text == TextBox5.Text)
{
String query = "insert into signup(fname,lname,username,password)
values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','"
+ TextBox4.Text + "')";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
13
//Label2.Text = "New Registration Successfully Saved";
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
//textBox5.Text = "";
//TextBox5.Text = "";
Response.Redirect("mylogin1.aspx");
}
}
protected void Button2_Click(object sender, EventArgs e)
{
Response.Redirect("mylogin1.aspx");
}
}
14
}
mylogin1.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
{
public partial class mylogin1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
15
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "select * from signup where
username='"+TextBox1.Text+"' and password='"+TextBox2.Text+"'";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
SqlDataReader reader = cmd.ExecuteReader();
if (reader.Read())
{
Response.Redirect("menu.aspx");
}
else
{
Response.Redirect("signup.aspx");
}
}
protected void Button2_Click(object sender, EventArgs e)
16
{
Response.Redirect("signup.aspx");
}
}
}
menu.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace airbasemanager
{
17
public partial class menu : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button3_Click(object sender, EventArgs e)
{
Response.Redirect("Add_Country.aspx");
}
protected void Button14_Click(object sender, EventArgs e)
{
Response.Redirect("Add_Aircraft.aspx");
}
protected void Button4_Click(object sender, EventArgs e)
{
Response.Redirect("AddState.aspx");
}
protected void Button15_Click(object sender, EventArgs e)
{
Response.Redirect("Add_Employee.aspx");
}
18
protected void Button5_Click(object sender, EventArgs e)
{
Response.Redirect("AddFlight.aspx");
}
protected void Button6_Click(object sender, EventArgs e)
{
Response.Redirect("AddRoute.aspx");
}
protected void Button12_Click(object sender, EventArgs e)
{
Response.Redirect("UpdateRoute.aspx");
}
protected void Button10_Click(object sender, EventArgs e)
{
Response.Redirect("DeleteCountry.aspx");
}
protected void Button11_Click(object sender, EventArgs e)
{
Response.Redirect("DeleteState.aspx");
}
protected void Button7_Click(object sender, EventArgs e)
{
19
Response.Redirect("ViewCountry1.aspx");
}
protected void Button8_Click(object sender, EventArgs e)
{
Response.Redirect("ViewState.aspx");
}
protected void Button9_Click(object sender, EventArgs e)
{
Response.Redirect("ViewRoute.aspx");
}
protected void Button13_Click(object sender, EventArgs e)
{
Response.Redirect("mylogin1.aspx");
}
protected void Button16_Click(object sender, EventArgs e)
{
Response.Redirect("ViewAirCraft.aspx");
}
protected void Button17_Click(object sender, EventArgs e)
{
Response.Redirect("ViewEmployee.aspx");
}
20
protected void Button18_Click(object sender, EventArgs e)
{
Response.Redirect("ViewFlight.aspx");
}
}
}
Add aircraft
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
21
using System.Data.SqlClient;
namespace airbasemanager
{
public partial class Add_Aircraft : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "insert into
AirCraft(AcID,AcNumber,MfdBy,MfdOn,Capacity) values('" + TextBox1.Text + "','" +
TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text
+"','"+TextBox5.Text+"')";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
//Label2.Text = "New Registration Successfully Saved";
TextBox1.Text = "";
TextBox2.Text = "";
22
TextBox3.Text = "";
TextBox4.Text = "";
//textBox5.Text = "";
TextBox5.Text = "";
Response.Redirect("menu.aspx");
}
}
}
Add_Employee.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
23
using System.Data.SqlClient;
namespace airbasemanager
{
public partial class Add_Employee : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "insert into
Employee(EmpID,Name,Address,branch,Designation,Email) values('" + TextBox1.Text +
"','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" +
TextBox5.Text + "','" + TextBox6.Text + "')";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
//Label2.Text = "New Registration Successfully Saved";
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
24
TextBox4.Text = "";
TextBox5.Text = "";
TextBox6.Text = "";
Response.Redirect("menu.aspx");
}
}
}
Addcountry.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
25
namespace airbasemanager
{
public partial class Add_Country : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "insert into Country(CountryID,CountryName) values('"
+ TextBox1.Text + "','" + TextBox2.Text +"')";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
//Label2.Text = "New Registration Successfully Saved";
TextBox1.Text = "";
TextBox2.Text = "";
//TextBox3.Text = "";
//TextBox4.Text = "";
26
//textBox5.Text = "";
//TextBox5.Text = "";
Response.Redirect("menu.aspx");
}
}
}
AddFlight.aspx.cs:-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
27
{
public partial class AddFlight : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "insert into
Flight(FlightID,FlightDate,Departure,Arrival,Cost) values('" + TextBox1.Text +
"','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" +
TextBox5.Text + "')";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
//Label2.Text = "New Registration Successfully Saved";
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";
28
//TextBox6.Text = "";
Response.Redirect("menu.aspx");
}
}
}
AddRoute.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
{
29
public partial class AddRoute : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "insert into
Route(RouteID,Airport,Destination,RouteCode) values('" + TextBox1.Text + "','" +
TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "')";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
//Label2.Text = "New Registration Successfully Saved";
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
//TextBox5.Text = "";
//TextBox6.Text = "";
Response.Redirect("menu.aspx");
30
}
}
}
AddState.aspx.cs:-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
{
public partial class AddState : System.Web.UI.Page
31
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "insert into State(StateID,StateName) values('" +
TextBox1.Text + "','" + TextBox2.Text + "')";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
//Label2.Text = "New Registration Successfully Saved";
TextBox1.Text = "";
TextBox2.Text = "";
//TextBox3.Text = "";
//TextBox4.Text = "";
//textBox5.Text = "";
//TextBox5.Text = "";
Response.Redirect("menu.aspx");
}
32
}
}
DeleteCountry.aspx.cs
using System;
using System.Collections.Generic;
33
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
{
public partial class DeleteCountry : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "delete from Country where CountryID='" +
TextBox1.Text + "'";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
34
Label2.Text = "Data Deleted Successfully";
TextBox1.Text = "";
//TextBox2.Text = "";
Response.Redirect("menu.aspx");
con.Close();
}
}
}
35
DeleteState.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
36
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
{
public partial class DeleteState : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "delete from Country where CountryID='" +
TextBox1.Text + "'";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
Label2.Text = "Data Deleted Successfully";
TextBox1.Text = "";
37
//TextBox2.Text = "";
Response.Redirect("menu.aspx");
con.Close();
}
}
}
UPDATE ROUTE
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
38
{
public partial class UpdateRoute : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
String query = "UPDATE Route set RouteID='" + TextBox1.Text + "',
Airport='" + TextBox2.Text + "', Destination='" + TextBox3.Text + "',RouteCode='"
+ TextBox4.Text + "'";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
cmd.ExecuteNonQuery();
Label8.Text = "Data UPDATED Successfully";
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
// TextBox6.Text = "";
TextBox4.Text = "";
// TextBox5.Text = "";
39
con.Close();
Response.Redirect("menu.aspx");
}
}
}
ViewAircraft
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
40
namespace airbasemanager
{
public partial class ViewAirCraft : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
String query = "select * from AirCraft";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
SqlDataReader reader = cmd.ExecuteReader();
Response.Write("<style>th,td{border:solid
1px}</style><table><tr><th>AcID</th><th>AcNumber</th><th>MfdBy</th><th>MfdOn</th>
</tr>");
while (reader.Read())
{
int id = reader.GetInt32(reader.GetOrdinal("AcID"));
String name = reader.GetString(reader.GetOrdinal("AcNumber"));
String name1 = reader.GetString(reader.GetOrdinal("MfdBy"));
String name2 = reader.GetString(reader.GetOrdinal("MfdOn"));
// String name3 = reader.GetString(reader.GetOrdinal("Capacity"));
Response.Write("<tr><td>");
Response.Write(id);
Response.Write("</td><td>");
41
Response.Write(name);
Response.Write("</td><td>");
Response.Write(name1);
Response.Write("</td><td>");
Response.Write(name2);
Response.Write("</td></tr>");
// Response.Write(name3);
Response.Write("</td></tr>");
}
Response.Write("</table>");
Response.End();
}
}
}
View country
42
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
namespace airbasemanager
{
public partial class ViewCountry1 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
String query = "select * from Country";
String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial
Catalog=mohit; Integrated Security=true";
SqlConnection con = new SqlConnection(mycon);
con.Open();
SqlCommand cmd = new SqlCommand();
cmd.CommandText = query;
cmd.Connection = con;
SqlDataReader reader = cmd.ExecuteReader();
Response.Write("<style>th,td{border:solid
1px}</style><table><tr><th>CountryID</th><th>Country Name</th></tr>");
43
while (reader.Read())
{
int id = reader.GetInt32(reader.GetOrdinal("CountryID"));
String name = reader.GetString(reader.GetOrdinal("CountryName"));
Response.Write("<tr><td>");
Response.Write(id);
Response.Write("</td><td>");
Response.Write(name);
Response.Write("</td></tr>");
}
Response.Write("</table>");
Response.End();
}
protected void ListView1_SelectedIndexChanged(object sender, EventArgs e)
{
}
}
}
44
CONCLUSION AND FUTURE WORK
7.1 CONCLUSION
The project was a work of great effort and new thing is about this is that it has
been made on visual studio using c#, which is the one of fastest language and platform
too. This project contains complete information or feature that a airbase should and it can
be verified if we look at it from anyone point view like employee, passenger, country or
state. Moreover, very less products in world are made using visual studio as most world
is going mad for java and c++ . hence, this is complete project any airbase can have.
7.2 FUTURE WORK
All though the project was complete without any bugs but as we know there’s
nothing perfect software. Things that can be improved in this software are that we can
make it’s front-end more attractive, we can improve form pop-up process using high-class
c#. other than this it’s perfect and fast.
REFERENCES
https://msdn.microsoft.com/en-us/library/aa288436(v=vs.71).aspx
http://wpftutorial.net/LearnWPFin14Days.html
http://www.kunal-chowdhury.com/p/visual-studio-2015-tips-and-tricks.html
45

More Related Content

Similar to .net programming using asp.net to make web project

Dairy management system project report..pdf
Dairy management system project report..pdfDairy management system project report..pdf
Dairy management system project report..pdf
Kamal Acharya
 
Final Internship Presentation
Final Internship PresentationFinal Internship Presentation
Final Internship Presentation
Thekra Alqaeed
 
Web based booking a car taxi5
Web based booking a car taxi5Web based booking a car taxi5
Web based booking a car taxi5
priyadharshini murugan
 
Airline ticket reservation system
Airline ticket reservation systemAirline ticket reservation system
Airline ticket reservation system
SH Rajøn
 
IRJET- Development of Uncrackable Software
IRJET- Development of Uncrackable SoftwareIRJET- Development of Uncrackable Software
IRJET- Development of Uncrackable Software
IRJET Journal
 
Data Security String Manipulation by Random Value in Hypertext Preprocessor
Data Security String Manipulation by Random Value in Hypertext PreprocessorData Security String Manipulation by Random Value in Hypertext Preprocessor
Data Security String Manipulation by Random Value in Hypertext Preprocessor
ijtsrd
 
A generic log analyzer for auto recovery of container orchestration system
A generic log analyzer for auto recovery of container orchestration systemA generic log analyzer for auto recovery of container orchestration system
A generic log analyzer for auto recovery of container orchestration system
Conference Papers
 
publishable paper
publishable paperpublishable paper
publishable paper
chaitanya451336
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
Amit Gandhi
 
Net Interview questions
Net Interview questionsNet Interview questions
Net Interview questions
Jitendra Gangwar
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
IOSR Journals
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
IOSR Journals
 
127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation
Nitesh Kumar
 
Internship msc cs
Internship msc csInternship msc cs
Internship msc cs
Pooja Bhojwani
 
D017372538
D017372538D017372538
D017372538
IOSR Journals
 
A Generic Open Source Framework for Auto Generation of Data Manipulation Comm...
A Generic Open Source Framework for Auto Generation of Data Manipulation Comm...A Generic Open Source Framework for Auto Generation of Data Manipulation Comm...
A Generic Open Source Framework for Auto Generation of Data Manipulation Comm...
iosrjce
 
Online lg prodect
Online lg prodectOnline lg prodect
Online lg prodect
Yesu Raj
 
Report on mall automation
Report on mall automationReport on mall automation
Report on mall automation
Sonu Patel
 
UNiT 5.pdf
UNiT 5.pdfUNiT 5.pdf
UNiT 5.pdf
SAQUEBAMAHIR
 
Seminar_report on Microsoft Azure Service
Seminar_report on Microsoft Azure ServiceSeminar_report on Microsoft Azure Service
Seminar_report on Microsoft Azure Service
ANAND PRAKASH
 

Similar to .net programming using asp.net to make web project (20)

Dairy management system project report..pdf
Dairy management system project report..pdfDairy management system project report..pdf
Dairy management system project report..pdf
 
Final Internship Presentation
Final Internship PresentationFinal Internship Presentation
Final Internship Presentation
 
Web based booking a car taxi5
Web based booking a car taxi5Web based booking a car taxi5
Web based booking a car taxi5
 
Airline ticket reservation system
Airline ticket reservation systemAirline ticket reservation system
Airline ticket reservation system
 
IRJET- Development of Uncrackable Software
IRJET- Development of Uncrackable SoftwareIRJET- Development of Uncrackable Software
IRJET- Development of Uncrackable Software
 
Data Security String Manipulation by Random Value in Hypertext Preprocessor
Data Security String Manipulation by Random Value in Hypertext PreprocessorData Security String Manipulation by Random Value in Hypertext Preprocessor
Data Security String Manipulation by Random Value in Hypertext Preprocessor
 
A generic log analyzer for auto recovery of container orchestration system
A generic log analyzer for auto recovery of container orchestration systemA generic log analyzer for auto recovery of container orchestration system
A generic log analyzer for auto recovery of container orchestration system
 
publishable paper
publishable paperpublishable paper
publishable paper
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Net Interview questions
Net Interview questionsNet Interview questions
Net Interview questions
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
 
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop ComputerLinux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
 
127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation127801976 mobile-shop-management-system-documentation
127801976 mobile-shop-management-system-documentation
 
Internship msc cs
Internship msc csInternship msc cs
Internship msc cs
 
D017372538
D017372538D017372538
D017372538
 
A Generic Open Source Framework for Auto Generation of Data Manipulation Comm...
A Generic Open Source Framework for Auto Generation of Data Manipulation Comm...A Generic Open Source Framework for Auto Generation of Data Manipulation Comm...
A Generic Open Source Framework for Auto Generation of Data Manipulation Comm...
 
Online lg prodect
Online lg prodectOnline lg prodect
Online lg prodect
 
Report on mall automation
Report on mall automationReport on mall automation
Report on mall automation
 
UNiT 5.pdf
UNiT 5.pdfUNiT 5.pdf
UNiT 5.pdf
 
Seminar_report on Microsoft Azure Service
Seminar_report on Microsoft Azure ServiceSeminar_report on Microsoft Azure Service
Seminar_report on Microsoft Azure Service
 

More from Kedar Kumar

Data mining final report
Data mining final reportData mining final report
Data mining final report
Kedar Kumar
 
Big data project
Big data projectBig data project
Big data project
Kedar Kumar
 
educational website report
educational website reporteducational website report
educational website report
Kedar Kumar
 
Storage final rev
Storage final revStorage final rev
Storage final rev
Kedar Kumar
 
Wireless multimedia sensor networking
Wireless multimedia sensor networkingWireless multimedia sensor networking
Wireless multimedia sensor networking
Kedar Kumar
 
Combinatorial testing
Combinatorial testingCombinatorial testing
Combinatorial testing
Kedar Kumar
 
Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt
Kedar Kumar
 

More from Kedar Kumar (7)

Data mining final report
Data mining final reportData mining final report
Data mining final report
 
Big data project
Big data projectBig data project
Big data project
 
educational website report
educational website reporteducational website report
educational website report
 
Storage final rev
Storage final revStorage final rev
Storage final rev
 
Wireless multimedia sensor networking
Wireless multimedia sensor networkingWireless multimedia sensor networking
Wireless multimedia sensor networking
 
Combinatorial testing
Combinatorial testingCombinatorial testing
Combinatorial testing
 
Combinatorial testing ppt
Combinatorial testing pptCombinatorial testing ppt
Combinatorial testing ppt
 

Recently uploaded

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
rpskprasana
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
mamunhossenbd75
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
Divyam548318
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
Mukeshwaran Balu
 

Recently uploaded (20)

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
CSM Cloud Service Management Presentarion
CSM Cloud Service Management PresentarionCSM Cloud Service Management Presentarion
CSM Cloud Service Management Presentarion
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Heat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation pptHeat Resistant Concrete Presentation ppt
Heat Resistant Concrete Presentation ppt
 
bank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdfbank management system in java and mysql report1.pdf
bank management system in java and mysql report1.pdf
 
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
ACRP 4-09 Risk Assessment Method to Support Modification of Airfield Separat...
 

.net programming using asp.net to make web project

  • 1. 1 Airbase information and management system. Group Members Name Register Number Kedar kumar 15BIT0268 Mohit sharma 15BIT0234 Under the guidance of Prof. SathiyaMoorthy SITE VIT University School of Information Technology and Engineering Nov, 2016
  • 2. 2 CHAPTER 1 INTRODUCTION 1.1 BACKGROUND It is obvious that everything that is sustainable would have to go through advancement. In science and technology, the desire for improvement is a constant subject which triggers advancement. This is visible in every ramification and the airline industry is not exemption. Airbase reservation system(ARS) used to be standalone systems. Each airline had it’s own system, disconnected from other airlines or ticket agents, and usable only by a designated number of airline employees. Travel agents in the 1970s pushed for access to airlines’ systems. Today, air travel information is linked, stored and retrieved by a network of computer reservation systems(CRS), accessible by multiple airlines and travel agents. The global distribution system(GDS) makes for an even larger web of airline information, not only merging buying and selling of tickets for multiple airlines, but also making systems accessible to consumer directly. GDS portals and gateways in web allow cinsumers to purchase tickets directly, select seats, and even boo hotels and rental cars.(Winston Clifford 1995). 1.2 PROBLEM STATEMENT
  • 3. 3 The outcome of this study will provide a basis for developing the appropriate approach to the problems associated with air traveling operations in relation to airbase reservation sytems(ARSs). 1.3 ORGANIZATION OF THE PROJECT This thesis is aimed at exposing the relevance and importance of real-time for airbase reservation systems (ARS). It is elevated towards enhancing the relationship between customers and airbase agencies through the use of ARSs, thereby easing the flight ticketing and selling process. This research work will be beneficial to all those who make use of airbase reservation systems(ARSs), flight operators, air travelling operators, travel agents and airbase agencies. In addition, it will assist all those in computer-related disciplines who may want to appreciate the system and also those doing research on similar topic. This thesis is not only restricted to Airbase reservation systems(ARSs), but also other systems dedicated to optimal performance in this airbase industry; airbase agencies and their customers inclusive. Context model.
  • 4. 4 CHAPTER 4 DETAILED DESIGN 4.1 SAMPLE SYSTEM ARCHITECTURE
  • 5. 5 Fig. 4.1 Sample System Architecture 4.2 MODULE DESCRIPTION  Input  Process  Output
  • 6. 6  Database storage 4.2.1 Input Here, first of all after the execution of project, the login page will pop-up and once get logged-in it’ll open in menu option, where we’ll have information regarding every phase of project like add employee, view employee, add country, modify or delete country, add state, modify or delete state, add passenger, remove and book ticket etc. 4.2.2 Process In processing section of project, we’ll a poped-up Page where we have enter the information asked there like contact details of employee, name, password, address. Etc. and from here things entered get updated in databases; 4.2.3 Output In output section of project, the admin can see the entire information related to employee, aircraft, passenger, airfare, ticket, country and states. 4.2.4 Database storage This is the most important section of the project as entire project is in vain if it’s not there. The database system we used is mysql community package. Every information entered or removed only can be done if they’re updated in database, then only they’ll pop-up in front- end of software. 4.3 REQUIREMENT SPECIFICATION 4.3.1 Hardware Requirements Sl No. Hardware Required Configuration 1 Processor Pentium –IV or higher user
  • 7. 7 2 RAM 256 MB (min) 3 Hard Disk 20 GB or more 4 Key Board Standard Windows Keyboard 5 Mouse Standard 6 Monitor SVGA or higher user 4.3.2 Software Requirements Sl No. Software Version 1 Operating System Windows7/8/8.1/10 2 Application Server Visual studio 2015(.Net Framework) 3 Front End C#, Xaml. 4 Back End My Sql 4.4 UML DIAGRAMS UML stands for Unified Modeling Language. UML is a consistent general purpose modeling language in the area of object oriented se. The standard is organized, and was created by, the Object Management Group. The objective is for UML to turn into a common language for creating models of object oriented computer software. In its existing form UML is comprised of two most important components; a Meta-model and a notation. In the future, some variety of method or method may also be added to or connected with UML. The Unified Modeling Language is a standard language for specifying, Construction, and documenting the artifacts of Table 1: Hardware Requirements Table 2: Software Requirements
  • 8. 8 software system, as well as for business modeling. The UML represents a set of best engineering practices that have demonstrated successful in the modeling of huge and composite system. Class diagram.
  • 11. 11 CHAPTER 5 IMPLEMENTATIONOF THE SYSTEM 5.1 SAMPLE CODE signup.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI;
  • 12. 12 using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager { public partial class signup : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { if (TextBox4.Text == TextBox5.Text) { String query = "insert into signup(fname,lname,username,password) values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "')"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery();
  • 13. 13 //Label2.Text = "New Registration Successfully Saved"; TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = ""; //textBox5.Text = ""; //TextBox5.Text = ""; Response.Redirect("mylogin1.aspx"); } } protected void Button2_Click(object sender, EventArgs e) { Response.Redirect("mylogin1.aspx"); } }
  • 14. 14 } mylogin1.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager { public partial class mylogin1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) {
  • 15. 15 } protected void Button1_Click(object sender, EventArgs e) { String query = "select * from signup where username='"+TextBox1.Text+"' and password='"+TextBox2.Text+"'"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; SqlDataReader reader = cmd.ExecuteReader(); if (reader.Read()) { Response.Redirect("menu.aspx"); } else { Response.Redirect("signup.aspx"); } } protected void Button2_Click(object sender, EventArgs e)
  • 16. 16 { Response.Redirect("signup.aspx"); } } } menu.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace airbasemanager {
  • 17. 17 public partial class menu : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button3_Click(object sender, EventArgs e) { Response.Redirect("Add_Country.aspx"); } protected void Button14_Click(object sender, EventArgs e) { Response.Redirect("Add_Aircraft.aspx"); } protected void Button4_Click(object sender, EventArgs e) { Response.Redirect("AddState.aspx"); } protected void Button15_Click(object sender, EventArgs e) { Response.Redirect("Add_Employee.aspx"); }
  • 18. 18 protected void Button5_Click(object sender, EventArgs e) { Response.Redirect("AddFlight.aspx"); } protected void Button6_Click(object sender, EventArgs e) { Response.Redirect("AddRoute.aspx"); } protected void Button12_Click(object sender, EventArgs e) { Response.Redirect("UpdateRoute.aspx"); } protected void Button10_Click(object sender, EventArgs e) { Response.Redirect("DeleteCountry.aspx"); } protected void Button11_Click(object sender, EventArgs e) { Response.Redirect("DeleteState.aspx"); } protected void Button7_Click(object sender, EventArgs e) {
  • 19. 19 Response.Redirect("ViewCountry1.aspx"); } protected void Button8_Click(object sender, EventArgs e) { Response.Redirect("ViewState.aspx"); } protected void Button9_Click(object sender, EventArgs e) { Response.Redirect("ViewRoute.aspx"); } protected void Button13_Click(object sender, EventArgs e) { Response.Redirect("mylogin1.aspx"); } protected void Button16_Click(object sender, EventArgs e) { Response.Redirect("ViewAirCraft.aspx"); } protected void Button17_Click(object sender, EventArgs e) { Response.Redirect("ViewEmployee.aspx"); }
  • 20. 20 protected void Button18_Click(object sender, EventArgs e) { Response.Redirect("ViewFlight.aspx"); } } } Add aircraft using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data;
  • 21. 21 using System.Data.SqlClient; namespace airbasemanager { public partial class Add_Aircraft : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "insert into AirCraft(AcID,AcNumber,MfdBy,MfdOn,Capacity) values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text +"','"+TextBox5.Text+"')"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery(); //Label2.Text = "New Registration Successfully Saved"; TextBox1.Text = ""; TextBox2.Text = "";
  • 22. 22 TextBox3.Text = ""; TextBox4.Text = ""; //textBox5.Text = ""; TextBox5.Text = ""; Response.Redirect("menu.aspx"); } } } Add_Employee.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data;
  • 23. 23 using System.Data.SqlClient; namespace airbasemanager { public partial class Add_Employee : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "insert into Employee(EmpID,Name,Address,branch,Designation,Email) values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "')"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery(); //Label2.Text = "New Registration Successfully Saved"; TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = "";
  • 24. 24 TextBox4.Text = ""; TextBox5.Text = ""; TextBox6.Text = ""; Response.Redirect("menu.aspx"); } } } Addcountry.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient;
  • 25. 25 namespace airbasemanager { public partial class Add_Country : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "insert into Country(CountryID,CountryName) values('" + TextBox1.Text + "','" + TextBox2.Text +"')"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery(); //Label2.Text = "New Registration Successfully Saved"; TextBox1.Text = ""; TextBox2.Text = ""; //TextBox3.Text = ""; //TextBox4.Text = "";
  • 26. 26 //textBox5.Text = ""; //TextBox5.Text = ""; Response.Redirect("menu.aspx"); } } } AddFlight.aspx.cs:- using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager
  • 27. 27 { public partial class AddFlight : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "insert into Flight(FlightID,FlightDate,Departure,Arrival,Cost) values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "')"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery(); //Label2.Text = "New Registration Successfully Saved"; TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = ""; TextBox5.Text = "";
  • 28. 28 //TextBox6.Text = ""; Response.Redirect("menu.aspx"); } } } AddRoute.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager {
  • 29. 29 public partial class AddRoute : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "insert into Route(RouteID,Airport,Destination,RouteCode) values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "')"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery(); //Label2.Text = "New Registration Successfully Saved"; TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = ""; //TextBox5.Text = ""; //TextBox6.Text = ""; Response.Redirect("menu.aspx");
  • 30. 30 } } } AddState.aspx.cs:- using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager { public partial class AddState : System.Web.UI.Page
  • 31. 31 { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "insert into State(StateID,StateName) values('" + TextBox1.Text + "','" + TextBox2.Text + "')"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery(); //Label2.Text = "New Registration Successfully Saved"; TextBox1.Text = ""; TextBox2.Text = ""; //TextBox3.Text = ""; //TextBox4.Text = ""; //textBox5.Text = ""; //TextBox5.Text = ""; Response.Redirect("menu.aspx"); }
  • 33. 33 using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager { public partial class DeleteCountry : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "delete from Country where CountryID='" + TextBox1.Text + "'"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery();
  • 34. 34 Label2.Text = "Data Deleted Successfully"; TextBox1.Text = ""; //TextBox2.Text = ""; Response.Redirect("menu.aspx"); con.Close(); } } }
  • 36. 36 using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager { public partial class DeleteState : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "delete from Country where CountryID='" + TextBox1.Text + "'"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery(); Label2.Text = "Data Deleted Successfully"; TextBox1.Text = "";
  • 37. 37 //TextBox2.Text = ""; Response.Redirect("menu.aspx"); con.Close(); } } } UPDATE ROUTE using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager
  • 38. 38 { public partial class UpdateRoute : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { String query = "UPDATE Route set RouteID='" + TextBox1.Text + "', Airport='" + TextBox2.Text + "', Destination='" + TextBox3.Text + "',RouteCode='" + TextBox4.Text + "'"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; cmd.ExecuteNonQuery(); Label8.Text = "Data UPDATED Successfully"; TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; // TextBox6.Text = ""; TextBox4.Text = ""; // TextBox5.Text = "";
  • 39. 39 con.Close(); Response.Redirect("menu.aspx"); } } } ViewAircraft using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient;
  • 40. 40 namespace airbasemanager { public partial class ViewAirCraft : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { String query = "select * from AirCraft"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; SqlDataReader reader = cmd.ExecuteReader(); Response.Write("<style>th,td{border:solid 1px}</style><table><tr><th>AcID</th><th>AcNumber</th><th>MfdBy</th><th>MfdOn</th> </tr>"); while (reader.Read()) { int id = reader.GetInt32(reader.GetOrdinal("AcID")); String name = reader.GetString(reader.GetOrdinal("AcNumber")); String name1 = reader.GetString(reader.GetOrdinal("MfdBy")); String name2 = reader.GetString(reader.GetOrdinal("MfdOn")); // String name3 = reader.GetString(reader.GetOrdinal("Capacity")); Response.Write("<tr><td>"); Response.Write(id); Response.Write("</td><td>");
  • 42. 42 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; using System.Data.SqlClient; namespace airbasemanager { public partial class ViewCountry1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { String query = "select * from Country"; String mycon = "Data Source=DESKTOP-K5L0TDASQLEXPRESS; Initial Catalog=mohit; Integrated Security=true"; SqlConnection con = new SqlConnection(mycon); con.Open(); SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = con; SqlDataReader reader = cmd.ExecuteReader(); Response.Write("<style>th,td{border:solid 1px}</style><table><tr><th>CountryID</th><th>Country Name</th></tr>");
  • 43. 43 while (reader.Read()) { int id = reader.GetInt32(reader.GetOrdinal("CountryID")); String name = reader.GetString(reader.GetOrdinal("CountryName")); Response.Write("<tr><td>"); Response.Write(id); Response.Write("</td><td>"); Response.Write(name); Response.Write("</td></tr>"); } Response.Write("</table>"); Response.End(); } protected void ListView1_SelectedIndexChanged(object sender, EventArgs e) { } } }
  • 44. 44 CONCLUSION AND FUTURE WORK 7.1 CONCLUSION The project was a work of great effort and new thing is about this is that it has been made on visual studio using c#, which is the one of fastest language and platform too. This project contains complete information or feature that a airbase should and it can be verified if we look at it from anyone point view like employee, passenger, country or state. Moreover, very less products in world are made using visual studio as most world is going mad for java and c++ . hence, this is complete project any airbase can have. 7.2 FUTURE WORK All though the project was complete without any bugs but as we know there’s nothing perfect software. Things that can be improved in this software are that we can make it’s front-end more attractive, we can improve form pop-up process using high-class c#. other than this it’s perfect and fast. REFERENCES https://msdn.microsoft.com/en-us/library/aa288436(v=vs.71).aspx http://wpftutorial.net/LearnWPFin14Days.html http://www.kunal-chowdhury.com/p/visual-studio-2015-tips-and-tricks.html
  • 45. 45