Default.
aspx
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="[Link]"
Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="[Link]
<head runat="server">
<title></title>
<style type="text/css">
#Image1 {
height: 572px;
width: 429px;
text-align: center;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<asp:Table id="Table1" runat="server"
CellPadding="10"
GridLines="Both"
HorizontalAlign="Center">
<asp:TableRow>
<asp:TableCell ColumnSpan ="2">
<asp:Image id="Image1" runat="server"
AlternateText="Image text"
ImageAlign="left"
width="479"
height="531"
ImageUrl="[Link]"/>
</asp:TableCell>
</asp:TableRow>
<%-- --%>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:Label ID="Label2" runat="server" Text="User Name"></asp:Label>
</asp:TableCell>
<asp:TableCell HorizontalAlign="Center">
<asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:Label ID="Label1" runat="server" Text="Password" ></asp:Label>
</asp:TableCell>
<asp:TableCell HorizontalAlign="Center">
<asp:TextBox ID="TextBox1" runat="server" type="password"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:Button ID="Button2" runat="server" Text="New User Registration" />
</asp:TableCell>
<asp:TableCell HorizontalAlign="Center">
<asp:Button ID="Button1" runat="server" Text="Enter" />
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
</body>
</html>
[Link]
Partial Class _Default
Inherits [Link]
Protected Sub Button2_Click(sender As Object, e As EventArgs) Handles [Link]
If [Link] = "Admin" And [Link] = "Pass" Then
[Link]("[Link]")
Else
[Link]("[Link]")
End If
End Sub
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles [Link]
[Link]("[Link]")
End Sub
End Class
[Link]
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="[Link]"
Inherits="Registration" %>
<!DOCTYPE html>
<html xmlns="[Link]
<head runat="server">
<title></title>
</head>
<body>
<form id="form3" runat="server">
<p></p>
<asp:Table id="Table2" runat="server"
CellPadding="10"
GridLines="Both"
HorizontalAlign="Center">
<asp:TableRow >
<asp:TableCell ColumnSpan="2" Font-Bold ="true" HorizontalAlign="Center"> User
Registration Form
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell ColumnSpan="2" HorizontalAlign="Center">
<asp:Image id="Image1" runat="server"
AlternateText="Image text"
width="400"
height="200"
ImageUrl="[Link]"/>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label10" runat="server" Text="Name"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label4" runat="server" Text="Gender"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label5" runat="server" Text="Date of
Birth"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label6" runat="server" Text="Address"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label1" runat="server" Text="Contact
No"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label2" runat="server" Text="Email ID"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:Button ID="Button1"
runat="server" Text="Submit" />
</asp:TableCell>
<asp:TableCell HorizontalAlign="Center"> <input id="Reset1" type="reset"
value="reset" />
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
</body>
</html>
[Link]
Partial Class Registration
Inherits [Link]
End Class
[Link]
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="[Link]" Inherits="Route"
%>
<!DOCTYPE html>
<html xmlns="[Link]
<head runat="server">
<title></title>
</head>
<body>
<form id="form3" runat="server">
<p></p>
<asp:Table id="Table2" runat="server"
CellPadding="10"
GridLines="Both"
HorizontalAlign="Center">
<asp:TableRow >
<asp:TableCell ColumnSpan="2" Font-Bold ="true" HorizontalAlign="Center"> Train Route
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell ColumnSpan="2" HorizontalAlign="Center">
<asp:Image id="Image1" runat="server"
AlternateText="Image text"
width="200"
height="200"
ImageUrl="[Link]"/>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label10" runat="server" Text="Starting
Station"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label4" runat="server" Text="Reaching
Station"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label5" runat="server" Text="Time Taken
Ordinary"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label6" runat="server" Text="Time Taken
Mail/Express"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label1" runat="server" Text="Time Taken SuperFast
"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:Button ID="Button1"
runat="server" Text="Save" />
</asp:TableCell>
<asp:TableCell HorizontalAlign="Center"> <input id="Reset1" type="reset"
value="reset" />
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
</body>
</html>
[Link]
Partial Class Route
Inherits [Link]
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles [Link]
[Link]("[Link]")
End Sub
End Class
[Link]
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="[Link]"
Inherits="Search" %>
<!DOCTYPE html>
<html xmlns="[Link]
<head runat="server">
<title></title>
</head>
<body>
<form id="form3" runat="server">
<asp:Table id="Table2" runat="server"
CellPadding="10"
GridLines="Both"
HorizontalAlign="Center">
<asp:TableRow >
<asp:TableCell ColumnSpan="2" Font-Bold ="true" HorizontalAlign="Center"> Search Train
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell ColumnSpan="2" HorizontalAlign="Center">
<asp:Image id="Image1" runat="server"
AlternateText="Image text"
width="400"
height="200"
ImageUrl="[Link]"/>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label10" runat="server" Text="Starting
Station"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label4" runat="server" Text="Reaching
Station"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label5" runat="server" Text="Date of
Journey"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label6" runat="server" Text="Train
Type"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label1" runat="server" Text="No of
Passengers"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:Button ID="Button1" runat="server"
Text="Search" />
</asp:TableCell>
<asp:TableCell HorizontalAlign="Center"> <input id="Reset1" type="reset"
value="reset" />
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
</body>
</html>
[Link]
[Link]
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="[Link]" Inherits="Train"
%>
<!DOCTYPE html>
<html xmlns="[Link]
<head runat="server">
<title></title>
</head>
<body >
<form id="form2" runat="server">
<p></p>
<asp:Table id="Table2" runat="server"
CellPadding="10"
GridLines="Both"
HorizontalAlign="Center">
<asp:TableRow >
<asp:TableCell ColumnSpan="2" HorizontalAlign="Center"> Train Name
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell ColumnSpan="2" HorizontalAlign="Center">
<asp:Image id="Image1" runat="server"
AlternateText="Image text"
width="200"
height="200"
ImageUrl="[Link]"/>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell > <asp:Label ID="Label3" runat="server" Text="Train No/Train
Name"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label10" runat="server" Text="Starting
Station"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label4" runat="server" Text="Reaching
Station"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label5" runat="server" Text="Starting
Time"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell> <asp:Label ID="Label6" runat="server" Text="Reaching
Time"></asp:Label>
</asp:TableCell>
<asp:TableCell> <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:Button ID="Button1"
runat="server" Text="Save" />
</asp:TableCell>
<asp:TableCell HorizontalAlign="Center"> <input id="Reset1" type="reset"
value="reset" />
</asp:TableCell>
</asp:TableRow>
</asp:Table>
</form>
</body>
</html>
[Link]
Partial Class Train
Inherits [Link]
Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles [Link]
[Link]("[Link]")
End Sub
End Class