Professional Documents
Culture Documents
PROJECT REPORT
University School of
Information Technology
GGS Indraprastha University,
Delhi –6
1
TABLE OF CONTENTS
1. TITLE OF PROJECT…………………………………………………….……2
2. ACKNOWLEDGEMENT……………………………………………………...3
3. CERTIFICATE…………………………………………………………………4
4. SELF CERTIFICATE………………………………………………………….5
5. INTRODUCTION……………………………………………………….……6-7
6. TOOLS/PLATFORM, HARDWARE AND SOFTWARE
REQUIREMENT SPECIFICATION…………………...……………………8
7. Technology Overview of .net 2008 3.5 with VB,…………………………..9-38
SQL SERVER 2005 , ……………………………………………… 39-93
8. ANALYSIS (DFDs, ER Diagrams, Class Diagrams etc. As per the project
requirements)…………………………………………………………………94-96
9. USE CASE DIAGRAM………………………………………………………..97
10. USE CASES…………………………………………………………………98-124
11. A COMPLETE STRUCTURE OF THE PROGRAM……………………125-157
. Number of modules and their description.
. Data structures for all modules.
. Process Logic of each module
. Report generation.
12. MAINTENANCE………………..…………………………………………158-160
13. FUTURE ENHANCEMENT………………………………………………161-162
14. Glossary……………………………………………………………………..163-173
2
CRIME FILE
(USING MS ACCESS 2007
Framework through VB6)
3
Acknowledgement
This is a great opportunity to acknowledge and to thanks all those persons without whose support
and help this project would have been impossible. We would like to add a few heartfelt words for
I would like to thanks to my project guide “Ms. Anuradha Chug”, for his indefatigable
guidance, valuable suggestion, moral support, constant encouragement and contribution of time
for the successful completion of project work. I am very grateful to him, for providing all the
facilities needed during the project development. At the outset, I sincerely thank all faculty
members of my institution for his extra effort to make our session on line inspire of all ideas.
I thank my Counselors for his indispensable support and encouragement thought the
project. I would like to thank all those who helped me directly or indirectly.
Last but not the least, I would like to acknowledge the ongoing support of my parents and
my family members, whose patience and encouragement during these long days and night have
Thank you
4
CERTIFICATE
This is to certify that project entitled “Crime File” done by “Somdev Arya” , roll no.
INFORMATION TECHNOLOGY under my guidance. The matter embodied in this project has
not been submitted earlier for award of any degree or diploma to the best of my knowledge and
belief.
USIT, GGSIPU
5
SELF CERTIFICATE
This is to certify that project entitled Crime File is done by me is an authentic work carried out
for the partial fulfillment of the requirements for the award of the degree of Master of
Computer Application under the guidance of “Ms. Anuradha Chug ”. The matter embodied
in this project work has not been submitted earlier for award of any degree or diploma to
6
Introduction of Online Crime File
This project is aimed at developing an online application for the Training and Placement Dept. of
the college. The system is an online application that can be accessed throughout the organization
and outside as well. This system can be used as an application for the TPO of the college to
manage the student information with regards to training and placement in different organization.
In this web base Online Training and Placement system, we will manage all such activities (like
registration of the students of the college, updating information, viewing of the respective
company for training and placement) that will save time, manpower and the biggest advantage of
This web based system will provide better prospective for the enhancement of
Thus, the goal of Training & Placement Cell is to provide employment opportunities & world
7
Objectives of Online Training and Placement
This project is aimed at developing an on-line (web-based) training and placement management
for the college. Some features of this system will be storing the students details for registration in
training and placement, updating information when needed by the students, company visited in
the college, training and placement requirements, search results for the training and placement
8
TOOLS, PLATFORM & LANGUAGE TO BE USED
TOOLS:
PLATFORM:
WINDOW XP.
HARDWARE ENVIRONMENT:
SOFTWARE ENVIRONMENT:
9
Technology Overview of my Project
The Microsoft .NET Framework version 3.5 extends the .NET Framework version 2.0 with new
For more information about compatibility and for a list of the public API modifications to the
The new generation of 64-bit computers enables the creation of applications that can run faster
and take advantage of more memory than is available to 32-bit applications. New support for 64-
bit applications enables users to build managed code libraries or easily use unmanaged code
ADO.NET
New features in ADO.NET include support for user-defined types (UDT), asynchronous
database operations, XML data types, large value types, snapshot isolation..
ASP.NET
The Microsoft .NET Framework 3.5 includes significant enhancements to all areas of ASP.NET.
For Web page development, new controls make it easier to add commonly used functionality to
dynamic Web pages. New data controls make it possible to display and edit data on an ASP.NET
Web page without writing code. An improved code-behind model makes developing ASP.NET
10
pages easier and more robust. Caching features provide several new ways to cache pages,
including the ability to build cache dependency on tables in a SQL Server database.
You can now customize Web sites and pages in a variety of ways. Profile properties enable
ASP.NET to track property values for individual users automatically. Using Web Parts, you can
create pages that users can customize in the browser. You can add navigation menus using
simple controls.
Improvements to Web site features allow you to create professional Web sites faster and more
easily. Master pages allow you to create a consistent layout for all the pages in a site, and themes
allow you to define a consistent look for controls and static text. To help protect your sites, you
can precompile a Web site to produce executable code from source files (both code files and the
markup in .aspx pages). You can then deploy the resulting output, which does not include any
source information, to a production server. Enhancements to ASP.NET also include new tools
and classes to make Web site management easier for Web site developers, server administrators,
and hosters.
Authenticated Streams
Applications can use the new Negotiate Stream and Stream classes for authentication and to help
secure information transmitted between a client and a server. These authenticated stream classes
The Network Change class allows applications to receive notification when the Internet Protocol
(IP) address of a network interface, also known as a network card or adapter, changes. An
interface address can change for a variety of reasons, such as a disconnected network cable,
11
moving out of range of a wireless local area network, or hardware failure. The Network Change
class provides address change notification by raising events when a change is detected.
Distributed Computing
In the System.Net namespace, support has been added for FTP client requests, caching of HTTP
resources, automatic proxy discovery, and obtaining network traffic and statistical information.
The namespace now includes a Web server class that you can use to create a simple Web server
for responding to HTTP requests. Classes that generate network traffic have been instrumented
to output trace information for application debugging and diagnostics. Security and performance
added. The TCP channel now supports authentication and encryption, as well as several new
FTP Support
Applications can now access File Transfer Protocol resources using the WebRequest,
The .NET Framework 3.5 introduces generics to allow you to create flexible, reusable code.
Language features collectively known as generics act as templates that allow classes, structures,
interfaces, methods, and delegates to be declared and defined with unspecified, or generic type
parameters instead of specific types. Actual types are specified later when the generic is used.
12
generic classes and methods. The new System.Collections.Generic namespace provides support
values. Generics are supported in three languages: Visual Basic, C#, and C++.
.NET Framework remoting now supports IPv6 addresses and the exchange of generic types. The
encryption using the Security Support Provider Interface (SSPI). Classes in the new
communicate quickly without using the network. Finally, you can now configure the connection
cache time-out and the number of method retries, which can improve the performance of
IPv4, IPv6, TCP, and UDP network traffic statistics. Applications can also view address and
configuration information for the local computer’s network adapters. This information is similar
You can use the HttpListener class to create a simple Web server that responds to HTTP
requests. The Web server is active for the lifetime of the HttpListener object and runs within
your application, with your application's permissions. This class is available only on computers
running the Windows XP Service Pack 2 or Windows Server 2003 operating systems.
13
Programmatic Control of Caching
Using the classes in the System.Net.Cache namespace, applications can control the caching of
resources obtained using the WebRequest, WebResponse, and WebClient classes. You can use
the predefined cache policies provided by the .NET Framework or specify a custom cache
policy. You can specify a cache policy for each request and define a default cache policy for
The .NET Framework is an integral Windows component that supports building and running the
next generation of applications and XML Web services. The .NET Framework is designed to
remotely.
versioning conflicts.
• To make the developer experience consistent across widely varying types of applications,
• To build all communication on industry standards to ensure that code based on the .NET
14
The .NET Framework has two main components: the common language runtime and the .NET
Framework class library. The common language runtime is the foundation of the .NET
Framework. You can think of the runtime as an agent that manages code at execution time,
providing core services such as memory management, thread management, and remoting, while
also enforcing strict type safety and other forms of code accuracy that promote security and
robustness. In fact, the concept of code management is a fundamental principle of the runtime.
Code that targets the runtime is known as managed code, while code that does not target the
runtime is known as unmanaged code. The class library, the other main component of the .NET
Framework, is a comprehensive, object-oriented collection of reusable types that you can use to
develop applications ranging from traditional command-line or graphical user interface (GUI)
applications to applications based on the latest innovations provided by ASP.NET, such as Web
The .NET Framework can be hosted by unmanaged components that load the common language
runtime into their processes and initiate the execution of managed code, thereby creating a
software environment that can exploit both managed and unmanaged features. The .NET
Framework not only provides several runtime hosts, but also supports the development of third-
For example, ASP.NET hosts the runtime to provide a scalable, server-side environment for
managed code. ASP.NET works directly with the runtime to enable ASP.NET applications and
Internet Explorer is an example of an unmanaged application that hosts the runtime (in the form
of a MIME type extension). Using Internet Explorer to host the runtime enables you to embed
managed components or Windows Forms controls in HTML documents. Hosting the runtime in
15
this way makes managed mobile code (similar to Microsoft® ActiveX® controls) possible, but
with significant improvements that only managed code can offer, such as semi-trusted execution
Microsoft® SQL Server™ 2000 is a family of products that meet the data storage requirements
of the largest data processing systems and commercial Web sites, yet at the same time can
provide easy-to-use data storage services to an individual or small business.
Increasing numbers of corporations are implementing large Web sites as a mechanism for
their customers to enter orders, contact the service department, get information about products,
and for many other tasks that previously required contact with employees. These sites require
data storage that is secure, yet tightly integrated with the Web.
Organizations are implementing off-the-shelf software packages for critical services such as
human resources planning, manufacturing resources planning, and inventory control. These
systems require databases capable of storing large amounts of data and supporting large numbers
of users.
Database Architecture
Microsoft® SQL Server™ 2000 data is stored in databases. The data in a database is organized
into the logical components visible to users. A database is also physically implemented as two or
When using a database, you work primarily with the logical components such as tables, views,
procedures, and users. The physical implementation of files is largely transparent. Typically,
only the database administrator needs to work with the physical implementation.
Each instance of SQL Server has four system databases (master, model, tempdb, and msdb)
and one or more user databases. Some organizations have only one user database, containing all
16
the data for their organization. Some organizations have different databases for each group in
their organization, and sometimes a database used by a single application. For example, an
organization could have one database for sales, one for payroll, one for a document management
application, and so on. Sometimes an application uses only one database; other applications may
It is not necessary to run multiple copies of the SQL Server database engine to allow multiple
users to access the databases on a server. An instance of the SQL Server Standard or Enterprise
Edition is capable of handling thousands of users working in multiple databases at the same time.
Each instance of SQL Server makes all databases in the instance available to all users that
When connecting to an instance of SQL Server, your connection is associated with a particular
database on the server. This database is called the current database. You are usually connected to
a database defined as your default database by the system administrator, although you can use
connection options in the database APIs to specify another database. You can switch from one
database to another using either the Transact-SQL USE database_name statement, or an API
SQL Server 2000allows you to detach databases from an instance of SQL Server, then reattach
them to another instance, or even attach the database back to the same instance. If you have a
SQL Server database file, you can tell SQL Server when you connect to attach that database file
17
SOFTWARE REQUIREMENTS SPECIFICATION
1. Introduction
1.1 Purpose
The Project ‘ONLINE TRAINING AND PLACEMENT ‘is a website that aims at making the
training and placement procedure in our institute easier. Presently the training and placement
procedure is carried out by directly registering at the campus training and placement cell to the
training and placement officer. This whole process is quite tedious for TPO. In addition to this
students may not get updated about the procedure and their training and placement status . With
internet reaching at our doorsteps this website aims at bringing an easier way to register yourself
for placements and trainings. Students can easily register themselves and can view their
placement status . This website keeps track of all students personal and academic details and
The central repository of all records helps TPO to update the training and placement record of
students easily and helps in reductions any anomalies and redundancy. With the help of website
students can easily update their personal and academic information that sometimes changes
1.2 Scope:
The website ‘Online Training and Placement’ will be a Reporting application that will be used
for automating the manual process of training and placement in our institute .The application will
manage the details of all the students who register themselves for trainng or placement. The
18
website provides an interface to store the training and placements details of all students and
allows the student to search and view their training and placement status online.
The system will greatly simplify the overall procedure of training and placement in our institute.
1.3 Objectives:
• Students can register for training and placement via registration form provided on
website.
• Search feature is provided which enables the students to only their training and placement
status.
• Student can update their personal and academic records like email id, current semester,
• Latest information about which company is visting the campus is provided which helps
• Website is user friendly with more GUI so that student can register and view the
• Student cannot access or modify the details of Placements and Organisation in which
• Invalid and duplicate registrations can be avoided and hence it provides reliability.
19
• Administrator is responsible for the deletion of any student record from database.
• Helps to make a short list of students who get placed in certain Company or get training
in any Organization.
1.4 Abbrevations:
1.5 References:
1.6 Technologies
2. Overall Description
Online Training and Placement is a website which aims at making the registration procedure for
students for trainings and placements in campus easier. This website provides an easy way to
TPO to keep track of training and placements of all the students and saves him loads of manual
work. This website makes updation of records easier by both students and TPO and provides
updated information about the current trainings and placements status in campus.
20
2.1.1 System interface:
USER INTERFACE:
• Windows based
• Friendly Navigation
HARDWARE INTERFACE:
• Keyboard
• Mouse
• Modem
• Screen resolution of at least 1024x768- required for proper and complete viewing of
screens.
SOFTWARE INTERFACE
2.1.2 Operations :
• Registration
• Updation
• Viewing
• Searching
21
• Displaying correct information on selecting view option.
• Deletion privilege to administrator only who in this case is training and placement officer.
Operator should be computer literate. Must have basic sense of using internet & navigation between
• Interface is in English.
terminals at the client side site will have to support the hardware and software interfaces
2.5 Assumptions :
3. Specific Requirements
Functional Requirement no 1:
22
• Input : students personal details viz - Enrollment no., name, father’s name, current address,
• Students academic details: percentage of marks in class tenth, twelth, various semesters of
• Processing : validation checks are performed on the input data by the student like :
3. current semester enetered by the student must be valid. After validating when submit
Functional Requirement no 2:
• Introduction : Searching
• Processing : After inputting data validation checks on various fields is performed . on submission
of the information the record is searched in the stored database o basis of the information
submitted.
• Output : If the information submitted by the student is valid and found in the database then the
• For training : the output is the name of the organization in which student is scheduled for training.
• For placement : The output is the name of the Company in which the student is placed.
23
Functional Requirement No 3:
• Input : Personal information of student: enrollment no., name. email id , contact , present address.
• Processing : After entering the required information the various validation checks are
performed on submission of the information the updations are made to the database.
Functional Requirement 4
• Introduction : Viewing
• Input : none.
• Processing : on clicking the view button the system search for the specified database stored.
• Output : if the specified database is stored then the whole database is display in the tabular form.
The data displayed is the updated and current information of the students personal and academic
details . It also displays the status of the Training and placement of student.
4. Performance requirements
5. Design Constraints
24
6. Attributes
It is imperative that database should be always up when put into the product. During period of intense
activities like submission and verification and updation of data, back up should be taken. It will help to
minimize downtime in case of failure. Any abnormal operations shall result in the shutting down of the
system.
6.2 Security:
The database should be protected physically by having server located in an enclosed and guarded facility.
Virus scanning software should be installed to protect from viruses. The server should be installed under
firewall so that server only internal users can access it. The system shall be compatible with AIMS
security standards. There should be terms and conditions and a check on the content added by the users.
6.3 Maintenance:
New additional features can be added if required and also the system components i.e. memory, disk,
25
Work Flow of
Online Training & Placement
26
DFD
0 Level
27
Student T & P Officer
Level 1 DFD
Register
Student Training Training
Registration
Register
28
Updation
personal Placement Registration Placement
info
Update
personal Updation for Training
info training
Updation for
placement Placement
Training
TNP View for training
Officer
Data Base
Use Case Diagram
29
View training
View Placements
Training
and
Placement Update trainings
officer
Update Placements
View training
View placement
Use cases
30
This use case allows the actor to register himself for training .
1.2 Actors
There is only one actor (student ) which interacts and participates with this use case.
This use case starts when the actor wishes to Register himself for the training.
1. The system requests that the student must enter his all valid personal and academic
information.
2. Once the student provides the requested information, one of the sub-flows is executed.
3. If the student selected “submit ”, the submit training information sub flow is executed.
includes:
Personal Information
a) Enrollment no
b) Name
c) Father’s name
d) Current address
e) Permanent address
f) Email id
g) Date of birth
h) Email id
i) Phone
31
Academic Information
d) current semester
e) branch
2. Once the user provides the requested information, system first validates the
information provided.
3. If the information is valid then the particular information about the student is
If the student entered the invalid information then the system will generate an error
If the student left blank the text boxes that are mandatory to be filled by him then the
1.3.2.3 On cancel
If the student chooses the cancel then the use case ends and the basic flow begins.
None
1.5 Pre-Condition
32
The user must be a student of USIT, GGSIPU.
1.6 Post-Condition
If the use case was successful, the student information is added in the training database.
None
This use case allows the actor to register himself for PLACEMENT.
2.2 Actors
There is only one actor (student) which interacts and participates with this use case.
This use case starts when the actor wishes to Register himself for the placement.
1. The system requests that the student must enter his all valid personal and academic
information.
2. Once the student provides the requested information, the following sub-flow is
executed.
3. If the student selected “submit ”, the submit training information sub flow is executed.
33
1. The system requests the student to enter the Registration information
which includes:
Personal Information
a) Enrollment no
b) Name
c) Father_name
d) current address
e) Permanent address
f) Email id
g) Date of birth
h) Email id
i) Phone
Academic Information
d) current semester
e) number of backlogs
f) branch
2. Once the user provides the requested information, system first validates the
information provided.
3. If the information is valid then the particular information about the student is
34
2.3.2 Alternative flow
If the student entered the invalid information then the system will generate an error
If the student left blank the text boxes that are mandatory to be filled by him then the
2.3.2.3 On cancel
If the student chooses the cancel then the use case ends and the basic flow begins.
None
2.5 Pre-Condition
2.6 Post-Condition
If the use case was successful, the student information is added in the placement
None
This use case allows the actor to update his personal and academic information for
training .
35
3.2 Actors
There is only one actor (student ) which interacts and participates with this use case.
This use case starts when the actor wishes to update his personal or academic information
for training.
1. The system requests that the student must enter his all valid personal and academic
2. Once the student provides the requested information, the following sub-flow is
executed.
3. If the student selected “submit ”, the submit training information sub flow is executed.
includes:
Personal Information
a) Enrollment no
b) Name
c) Email id
d) Contact no.
e) Current address
Academic Information
a) Current semester
36
2. Once the user provides the requested information, system first validates the
information provided.
3. If the information is valid then the particular information about the student is
If the student entered the invalid information then the system will generate an error
If the student left blank the text boxes that are mandatory to be filled by him then the
3.3.2.3 On cancel
If the student chooses the cancel then the use case ends and the basic flow begins.
None
3.5 Pre-condition
3.6 Post-condition
If the use case was successful, the student information is updated in the training
None
37
4. Update personal information for placement
This use case allows the actor to update his personal and academic information for
placement.
4.2 Actors
There is only one actor (student ) which interacts and participates with this use case.
This use case starts when the actor wishes to update his personal or academic information
for placement.
1. The system requests that the student must enter his all valid personal and academic
2. Once the student provides the requested information, the following sub-flow is
executed.
3. If the student selected “submit ”, the submit training information sub flow is
executed.
includes:
Personal Information
a) Enrollment no
b) Name
38
c) Email id
d) Contact no.
e) Current address
Academic Information
a) Current semester
c) Number of backlogs
2. Once the user provides the requested information, system first validates
3. If the information is valid then the particular information about the student
If the student entered the invalid information then the system will generate an error
If the student left blank the text boxes that are mandatory to be filled by him then the
4.3.2.3 On cancel
If the student chooses the cancel then the use case ends and the basic flow begins.
None
4.5 Pre-condition
39
The user must be a student of USIT, GGSIPU.
4.6 Post-condition
If the use case was successful, the student information is updated in the placement
None
This use case allows the actor to search for his placement status.
5.2 Actors
There is only one actor (student) which interacts and participates with this use case.
Basic flow
This use case starts when the actor wishes to search for the organization in which he is
placed.
1. The system requests the student to enter the required information in order to
which includes:
a) Enrollment no
b) Name
40
c) Major
d) Current semester
2. Once the user provides the requested information, system first validates the
information provided.
3. If the information is valid then the placement status of the particular student is
displayed.
If the student entered the invalid information then the system will generate an error
If the student left blank the text boxes that are mandatory to be filled by him then the
If the information enetered by the student is not found in database then the system will
5.3.2.3 On cancel
If the student chooses the cancel then the use case ends and the basic flow begins.
None
5.5 Pre-condition
5.6 Post-condition
41
If the use case was successful, the placement status of the particular student is displayed.
None
This use case allows the actor to search for his training status.
6.2 Actors
There is only one actor (student) which interacts and participates with this use case.
1. This use case starts when the actor wishes to search for the organization in which he is
2. The system requests the student to enter the required information in order to search for
a) Enrollment no
b) Name
c) Major
d) Current semester
42
2. Once the user provides the requested information, system first validates the
information provided.
3. If the information is valid then the training ststus of the particular student is
displayed.
If the student entered the invalid information then the system will generate an error
If the student left blank the text boxes that are mandatory to be filled by him then the
If the information enetered by the student is not found in database then the system will
6.3.2.3 On cancel
If the student chooses the cancel then the use case ends and the basic flow begins.
None
6.5 Pre-condition
6.6 Post-condition
If the use case was successful, the training status of the particular student is displayed.
43
6.7 Extension points
None
This use case allows the actor to view training details of all students.
7.2 Actors
Training and placement officer (i.e administrator) and student can interacts and
This use case starts when the actor wishes to view the details of the trainings for the
• When the user selects the view training option , the system displays all the
records of the students stored along with their training status i.e the name of
the organisation if they are scheduled for the training in a tabular form.
If there is no information stored in the database or if the database is not found by the
7.3.2.3 On cancel
If the actor chooses the cancel then the use case ends and the basic flow begins.
44
7.4 Special requirements
None
7.5 Pre-condition
The user must be either a student or training and placement officer of USIT, GGSIPU.
7.6 Post-condition
If the use case was successful, the training record of all the students is displayed.
None
This use case allows the actor to view placement details of all students.
8.2 Actors
Training and placement officer (i.e administrator) and student can interact and
This use case starts when the actor wishes to view the details of the placements for the s
• When the user selects the view placements option , the system displays all the
records of the students stored along with their placement status i.e the name of
45
the organisation in which they they are placed or null if not placed in a tabular
form.
If there is no information stored in the database or if the database is not found by the
8.3.2.3 On cancel
If the actor chooses the cancel then the use case ends and the basic flow begins.
None
8.5 Pre-condition
The user must be either a student or training and placement officer of USIT, GGSIPU.
8.6 Post-condition
If the use case was successful, the placements record of all the students is displayed.
None
TABLE :btechchregist
46
B.TEC TRAINING DATABASE
TABLE: btechregistn
47
MCA PLACEMENT DATABASE
TABLE: mcaregist
48
MCA TRAINING DATABASE
TABLE: mcaregistn
49
M.TECH PLACEMENT DATABASE
TABLE: mtechregist
50
M.TECH TRAINING DATABASE
TABLE: mtechregistn
51
User Module
Home Page
52
Procedure page
53
54
Placement Registration B.Tech
55
Placement Registration MCA
56
57
Training Registration B.Tech
58
Training Registration M.Tech
59
60
View B.Tech Placement
RESULT :
61
62
View M.Tech Placement
63
Result:
64
View MCA Placement
65
RESULT:
66
View Training B.Tech
67
View Training M.Tech
68
RESULT
69
View Training MCA
70
RESULT:
71
Search Placement B.Tech
72
RESULT:
73
Search Placement M.Tech
74
RESULT:
75
Search Placement MCA
76
RESULT
77
Search Training B.Tech
78
Search Training M.Tech
79
Search Training MCA
80
Update Placement B.Tech
RESULT:
81
82
Update Placement M.Tech
83
Update Placement MCA
84
Update Training B.Tech
85
Update Training M.Tech
86
Update Training MCA
87
Contact Us
88
Excellent Faculty
89
Allround Development
90
R&D
91
Our Past Recruiters
92
Students Statistics
93
Placement Statistics
94
Coding
Masterpage
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<style type="text/css">
body
{background-color:white;
}
.staticMenuItem
{
color:Blue;
border:solid 1px white;
padding:2px 11px;
border-width:thin;
font-size:large;}
.menuHover
{
color:darkblue;
background-color:lavender;
}
.dynamicMenuItem
{
color:Blue;
font-style:oblique;
padding: 2px 4px;
}
.dynamicMenu
{
border:solid 1px white;
filter:progid:DXImageTransform.Microsoft.dropshadow(offX=5,offY=5,
Color="lightsteelblue", Positive="true")
}
.one
{
color:Blue;
float:left;
width:940px;
height:20px;
padding:10px;
95
border-width:thin;
margin:5px;
background-color:lavender;
position:fixed;
}
.two
{
color:Blue;
float:right;
width:660px;
height:440px;
padding:10px;
border-width:thin;
margin:5px;
background-color:lavender;
}
.three
{
color:Blue;
float:left;
width:940px;
height:15px;
padding:10px;
border-width:thin;
margin:5px;
background-color:lavender;
text-align:center;
table-layout:auto;
border-top-color:Black;
}
.four
{
color:Blue;
float:left;
width:210px;
height:470px;
padding:10px;
border-width:thin;
margin:5px;
background-color:lavender;
}
.image
{float:left;
background-color:silver;
}
.clear
{clear:both;}
</style>
<title>Master Page</title>
</head>
<body>
<form id="form1" runat="server">
<div class="three">
<div class="image">
<asp:image ID="image1"
runat="server"
96
width="98" height="79"
imageurl="~/images/logo.jpg"/>
</div>
<text allign="center">
<font size = "5" face = "verdana" ><b>UNIVERSITY SCHOOL OF INFORMATION
AND TECHNOLOGY
</br></br>ONLINE TRAINING AND PLACEMENT</b></font>
</text>
</div>
<div class="one">
<div>
<asp:Menu
Id="Menu1"
Orientation="Horizontal"
StaticMenuItemStyle-CssClass="staticMenuItem"
StaticHoverStyle-CssClass="menuHover"
DynamicHoverStyle-CssClass="menuHover"
DynamicMenuItemStyle-CssClass="dynamicMenuItem"
DynamicMenuStyle-CssClass="dynamicMenu"
Runat="server">
<Items>
<asp:MenuItem
NavigateUrl="Default.aspx"text="Home"selectable="true">
<asp:MenuItemNavigateUrl="~/Procedure.aspx"text="Procedure" />
</asp:MenuItem>
<asp:MenuItem text="Placement"selectable="false">
<asp:menuitem text="Registration" selectable="false">
<asp:menuitem NavigateUrl="B.Tech Registration.aspx" text="B.Tech" />
<asp:MenuItem NavigateUrl="M.Tech Registration.aspx" text="M.Tech" />
<asp:MenuItem NavigateUrl="MCA Registration.aspx" text="MCA" />
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem text="Training" selectable="false">
<asp:menuitem text="Registration" selectable="false">
<asp:menuitem NavigateUrl="B.Tech Training Registration.aspx" text="B.Tech" />
<asp:MenuItem NavigateUrl="M.Tech Training Registration.aspx" text="M.Tech" />
<asp:MenuItem NavigateUrl="MCA Training Registration.aspx" text="MCA" />
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem text="View" selectable="false">
<asp:menuitem text="Placement" selectable="false">
<asp:menuitem NavigateUrl="View B.Tech Placement.aspx" text="B.Tech" />
<asp:MenuItem NavigateUrl="View M.Tech Placement.aspx" text="M.Tech" />
<asp:MenuItem NavigateUrl="View MCA Placement.aspx" text="MCA" />
</asp:MenuItem>
<asp:menuitem text="Training" selectable="false">
<asp:menuitem
NavigateUrl="View B.Tech Training.aspx" text="B.Tech" />
<asp:MenuItem
NavigateUrl="View M.Tech Training.aspx" text="M.Tech" />
<asp:MenuItem
NavigateUrl="View MCA Training.aspx" text="MCA" />
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem text="Search" selectable="false">
<asp:menuitem text="Placement" selectable="false">
<asp:menuitem NavigateUrl="Search B.Tech Placement.aspx" text="B.Tech" />
97
<asp:MenuItem NavigateUrl="Search M.Tech Placement.aspx" text="M.Tech" />
<asp:MenuItem NavigateUrl="Search MCA Placement.aspx" text="MCA" />
</asp:MenuItem>
<asp:menuitem text="Training" selectable="false">
<asp:menuitem NavigateUrl="Search B.Tech Training.aspx" text="B.Tech" />
<asp:MenuItem NavigateUrl="Search M.Tech Training.aspx" text="M.Tech" />
<asp:MenuItem NavigateUrl="Search MCA Training.aspx" text="MCA" />
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem text="Update" selectable="false">
<asp:menuitem text="Placement" selectable="false">
<asp:menuitem NavigateUrl="Update B.Tech Placement.aspx" text="B.Tech" />
<asp:MenuItem NavigateUrl="Update M.Tech Placement.aspx" text="M.Tech" />
<asp:MenuItem NavigateUrl="Update MCA Placement.aspx" text="MCA" />
</asp:MenuItem>
<asp:menuitem text="Training" selectable="false">
<asp:menuitem NavigateUrl="Update B.Tech Training.aspx" text="B.Tech" />
<asp:MenuItem NavigateUrl="Update M.Tech Training.aspx" text="M.Tech" />
<asp:MenuItem NavigateUrl="Update MCA Training.aspx" text="MCA" />
</asp:MenuItem>
</asp:MenuItem>
<asp:MenuItem NavigateUrl="~/contact us .aspx" text="Contact Us"
selectable="true" >
</asp:MenuItem>
</Items>
</asp:Menu>
</div>
</div>
<div class="four" />
<asp:Menu
Id="Menu2"
Orientation="Vertical"
StaticMenuItemStyle-CssClass="staticMenuItem"
StaticHoverStyle-CssClass="menuHover"
DynamicHoverStyle-CssClass="menuHover"
DynamicMenuItemStyle-CssClass="dynamicMenuItem"
DynamicMenuStyle-CssClass="dynamicMenu"
Runat="server">
<Items>
<asp:MenuItem text="Why Recruit Us" selectable="false">
<asp:MenuItem NavigateUrl="~/Execellent faculty.aspx" text="Excellent
Faculty" />
<asp:MenuItem
NavigateUrl="~/Allround development.aspx"
text="Allround Development" />
<asp:MenuItem
NavigateUrl="~/R&D.aspx"
text="R&D" />
</asp:MenuItem>
<asp:MenuItem
NavigateUrl="~/our recruiters.aspx"
text="Our Past Recruiters"
selectable="true" >
</asp:MenuItem>
<asp:MenuItem
NavigateUrl="~/ss.aspx"
98
text="Students Statistics"
selectable="true" >
</asp:MenuItem>
<asp:MenuItem
NavigateUrl="~/ps.aspx"
text="Placement Statistics"
selectable="true" >
</asp:MenuItem>
</Items>
</asp:Menu>
<p>
"A printer consists of three main parts: the case, the jammed paper tray
and the blinking red light"
</p>
<p>
"Use what talent you possess: the woods would be very silent if no birds
sang except those that sang best"
</p>
<p>
" The principal goal of education is to create men who are capable of
doing new things, not simply of repeating what other generations have done"
</p>
<p>
"RAM /abr./: Rarely Adequate Memory"
</p>
</div>
<div>
<div class="two" />
<asp:ContentPlaceHolder id="contentplaceholder2" Runat="Server">
</asp:Contentplaceholder>
</div>
<div class="clear"/>
</form>
</body>
</html>
Default Page
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Home Page"
%>
<script runat="server">
</script>
<asp:Content ID="Content2" ContentPlaceHolderID="contentplaceholder2"
Runat="Server">
<div class="two">
<asp:Image ID="image1" runat=server Width="650" height="420"
ImageUrl="~/images/colg.jpg" />
</div>
</asp:Content>
Procedure Page
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
<script runat="server">
</script>
<asp:Content ID="Content1" ContentPlaceHolderID="contentplaceholder2"
Runat="Server">
99
<div class ="two" >
<h1><b> PROCEDURE FOR TRAINING AND PLACEMENTS</b></h1></</br>
</br>
</br>
1.The Placement Office (nodal point for placements at USIT) or the Placement
Cell (a body of student representatives) sends invitations to
companies/organizations along with relevant information.</br>
2.Logins are created for students and companies interested in recruiting at
http://usitplacements.co.cc to access their online account.</br>
3.If the company/ organization wishes to conduct a Pre-Placement Talk (PPT)
they can sent a request along with the preferred dates.</br>
4.Placement Office allots dates to companies for campus interviews based on
various details given by companies. The company/ organization
confirms the dates with the Placement Office.</br>
5.Interested students may submit their complete Personal and academic
information online via online registeration forms.</br>
6.students can easily search for their placements.</br>
7.Students should ensure themselves regarding the eligibilty criterion
required before submission for placement.</br>
8.Placement Officers will update the placement and training record of
students as per the list of recruited students provided
by various companies/organisations.</br></br>
100
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@tenth", txttenth.Text)
cmd.Parameters.AddWithValue("@twelth", txttwelth.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@sem5", txtsem5.Text)
cmd.Parameters.AddWithValue("@sem6", txtsem6.Text)
cmd.Parameters.AddWithValue("@sem7", txtsem7.Text)
cmd.Parameters.AddWithValue("@sem8", txtsem8.Text)
cmd.Parameters.AddWithValue("@back", txtback.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@branch", txtbranch.Text)
cmd.Parameters.AddWithValue("@gap", txtgap.Text)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
End Sub
End Sub
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Response.Redirect("default.aspx")
End Sub
</script>
101
<asp:Label ID="Label3" runat="server" Text="Father's
Name"></asp:Label>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqfathername"
ControlToValidate="Textbox4" text="(required)" display="Dynamic"
runat="server" />
</p>
<p>
<asp:Label ID="Label4" runat="server" Text="Current
Address"></asp:Label>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label5" runat="server" Text="Permanent
Address"></asp:Label>
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label6" runat="server" Text="Email-Id"></asp:Label>
<asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="Reqemail"
ControlToValidate="txtemail" text="(Invalid email)" ValidationExpression="\w+
([-+.’]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" display="Dynamic" runat="server" />
</p>
<p>
<asp:Label ID="Label7" runat="server" Text="DateofBirth"></asp:Label>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
102
<asp:ListItem>31</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem>jan</asp:ListItem>
<asp:ListItem>feb</asp:ListItem>
<asp:ListItem>march</asp:ListItem>
<asp:ListItem>april</asp:ListItem>
<asp:ListItem>may</asp:ListItem>
<asp:ListItem>june</asp:ListItem>
<asp:ListItem>july</asp:ListItem>
<asp:ListItem>august</asp:ListItem>
<asp:ListItem>sept</asp:ListItem>
<asp:ListItem>oct</asp:ListItem>
<asp:ListItem>nov</asp:ListItem>
<asp:ListItem>dec</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList3" runat="server">
<asp:ListItem>1980</asp:ListItem>
<asp:ListItem>1981</asp:ListItem>
<asp:ListItem>1982</asp:ListItem>
<asp:ListItem>1983</asp:ListItem>
<asp:ListItem>1984</asp:ListItem>
<asp:ListItem>1985</asp:ListItem>
<asp:ListItem>1986</asp:ListItem>
<asp:ListItem>1987</asp:ListItem>
<asp:ListItem>1988</asp:ListItem>
<asp:ListItem>1989</asp:ListItem>
<asp:ListItem>1990</asp:ListItem>
<asp:ListItem>1991</asp:ListItem>
<asp:ListItem>1992</asp:ListItem>
<asp:ListItem>1993</asp:ListItem>
<asp:ListItem>1994</asp:ListItem>
<asp:ListItem>1995</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</p>
<p>
<asp:Label ID="Label8" runat="server" Text="Contact no."></asp:Label>
103
<asp:RangeValidator ID="Reqtwelth" ControlToValidate="txttwelth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label14" runat="server" Text="Sem 1"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem1" ControlToValidate="txtsem1"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<asp:Label ID="Label15" runat="server" Text="Sem 2"></asp:Label>
<asp:RangeValidator ID="Reqsem2" ControlToValidate="txtsem2"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<asp:Label ID="Label16" runat="server" Text="Sem 3"></asp:Label>
104
<asp:Label ID="Label20" runat="server" Text="Academic Gap(in
Years)"></asp:Label>
<asp:TextBox ID="txtgap" runat="server"></asp:TextBox>
</p>
<p>
<asp:Button ID="Button1" runat="server" Text="Submit"
onclick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
</p>
</div>
</asp:Content>
<script runat="server">
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@tenth", txttenth.Text)
cmd.Parameters.AddWithValue("@twelth", txttwelth.Text)
cmd.Parameters.AddWithValue("@grad", txtgrad.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@back", txtback.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@branch", txtbranch.Text)
cmd.Parameters.AddWithValue("@gap", txtgap.Text)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
End Sub
105
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Response.Redirect("default.aspx")
End Sub
</script>
106
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
107
<asp:ListItem>1987</asp:ListItem>
<asp:ListItem>1988</asp:ListItem>
<asp:ListItem>1989</asp:ListItem>
<asp:ListItem>1990</asp:ListItem>
<asp:ListItem>1991</asp:ListItem>
<asp:ListItem>1992</asp:ListItem>
<asp:ListItem>1993</asp:ListItem>
<asp:ListItem>1994</asp:ListItem>
<asp:ListItem>1995</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</p>
<p>
<asp:Label ID="Label8" runat="server" Text="Contact no."></asp:Label>
<asp:TextBox ID="txtcontact" runat="server"></asp:TextBox>
</p>
<p><b>Academic:</b></p>
<p>
<asp:Label ID="Label11" runat="server" Text="Perc.10th"></asp:Label>
<asp:TextBox ID="txttenth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="reqperc" ControlToValidate="txttenth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label12" runat="server" Text="12th"></asp:Label>
<asp:TextBox ID="txttwelth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqtwelth" ControlToValidate="txttwelth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label13" runat="server" Text="Graduation"></asp:Label>
<asp:TextBox ID="txtgrad" runat="server" style="margin-top:
0px"></asp:TextBox>
<asp:RangeValidator ID="Reqgrad" ControlToValidate="txtgrad"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label14" runat="server" Text="Sem 1"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem1" ControlToValidate="txtsem1"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<asp:Label ID="Label15" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<asp:Label ID="Label16" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label17" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label9" runat="server" Text="No. of
Backlogs"></asp:Label>
108
<asp:TextBox ID="txtback" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label10" runat="server" Text="Current Sem"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="2" MaximumValue="4" Type="Integer"
runat="server" />
</p>
<p>
<asp:Label ID="Label21" runat="server" Text="Branch"></asp:Label>
<asp:TextBox ID="txtbranch" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqbranch"
ControlToValidate="txtbranch" text="(required)" display="Dynamic"
runat="server" />
</p>
<p>
<asp:Label ID="Label20" runat="server" Text="Academic Gap(in
Years)"></asp:Label>
<asp:TextBox ID="txtgap" runat="server"></asp:TextBox>
</p>
<p>
<asp:Button ID="Button1" runat="server" Text="Submit"
onclick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
</p>
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim cmd As New System.Data.SqlClient.SqlCommand
cmd.CommandText = "Insert Into
mcaregist(enrollmentno,name,email,contact,tenth,twelth,grad,sem1,sem2,sem3,se
m4,sem5,sem6,back,cursem)
Values(@enrollmentno,@name,@email,@contact,@tenth,@twelth,@grad,@sem1,@sem2,@
sem3,@sem4,@sem5,@sem6,@back,@cursem)"
cmd.Connection = con
cmd.Parameters.AddWithValue("@enrollmentno", txtenrollmentno.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
cmd.Parameters.AddWithValue("@email", txtemail.Text)
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@tenth", txttenth.Text)
cmd.Parameters.AddWithValue("@twelth", txttwelth.Text)
109
cmd.Parameters.AddWithValue("@grad", txtgrad.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@sem5", txtsem5.Text)
cmd.Parameters.AddWithValue("@sem6", txtsem6.Text)
cmd.Parameters.AddWithValue("@back", txtback.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
End Sub
110
<asp:Label ID="Label5" runat="server" Text="Permanent
Address"></asp:Label>
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label6" runat="server" Text="Email-Id"></asp:Label>
<asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="Reqemail"
ControlToValidate="txtemail" text="(Invalid email)" ValidationExpression="\w+
([-+.’]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" display="Dynamic" runat="server" />
</p>
<p>
<asp:Label ID="Label7" runat="server" Text="DateofBirth"></asp:Label>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem>jan</asp:ListItem>
<asp:ListItem>feb</asp:ListItem>
<asp:ListItem>march</asp:ListItem>
<asp:ListItem>april</asp:ListItem>
<asp:ListItem>may</asp:ListItem>
<asp:ListItem>june</asp:ListItem>
<asp:ListItem>july</asp:ListItem>
<asp:ListItem>august</asp:ListItem>
<asp:ListItem>sept</asp:ListItem>
111
<asp:ListItem>oct</asp:ListItem>
<asp:ListItem>nov</asp:ListItem>
<asp:ListItem>dec</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList3" runat="server">
<asp:ListItem>1980</asp:ListItem>
<asp:ListItem>1981</asp:ListItem>
<asp:ListItem>1982</asp:ListItem>
<asp:ListItem>1983</asp:ListItem>
<asp:ListItem>1984</asp:ListItem>
<asp:ListItem>1985</asp:ListItem>
<asp:ListItem>1986</asp:ListItem>
<asp:ListItem>1987</asp:ListItem>
<asp:ListItem>1988</asp:ListItem>
<asp:ListItem>1989</asp:ListItem>
<asp:ListItem>1990</asp:ListItem>
<asp:ListItem>1991</asp:ListItem>
<asp:ListItem>1992</asp:ListItem>
<asp:ListItem>1993</asp:ListItem>
<asp:ListItem>1994</asp:ListItem>
<asp:ListItem>1995</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</p>
<p>
<asp:Label ID="Label8" runat="server" Text="Contact no."></asp:Label>
<asp:TextBox ID="txtcontact" runat="server"></asp:TextBox>
</p>
<p><b>Academic:</b></p>
<p>
<asp:Label ID="Label11" runat="server" Text="Perc.10th"></asp:Label>
<asp:TextBox ID="txttenth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="reqperc" ControlToValidate="txttenth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label12" runat="server" Text="12th"></asp:Label>
<asp:TextBox ID="txttwelth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqtwelth" ControlToValidate="txttwelth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label13" runat="server" Text="Graduation"></asp:Label>
<asp:TextBox ID="txtgrad" runat="server" style="margin-top:
0px"></asp:TextBox>
<asp:RangeValidator ID="Reqgrad" ControlToValidate="txtgrad"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label14" runat="server" Text="Sem 1"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
112
<asp:RangeValidator ID="Reqsem1" ControlToValidate="txtsem1"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<asp:Label ID="Label15" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<asp:Label ID="Label16" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label17" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
<asp:Label ID="Label18" runat="server" Text="Sem 5"></asp:Label>
<asp:TextBox ID="txtsem5" runat="server"></asp:TextBox>
<asp:Label ID="Label19" runat="server" Text="Sem 6"></asp:Label>
<asp:TextBox ID="txtsem6" runat="server" Width="128px"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label9" runat="server" Text="No. of
Backlogs"></asp:Label>
<asp:TextBox ID="txtback" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label10" runat="server" Text="Current Sem"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="3" MaximumValue="6" Type="Integer"
runat="server" />
</p>
<p>
<asp:Label ID="Label20" runat="server" Text="Academic Gap(in
Years)"></asp:Label>
<asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
</p>
<p>
<asp:Button ID="Button1" runat="server" Text="Submit"
onclick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
</p>
</div>
</asp:Content>
<script runat="server">
113
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim cmd As New System.Data.SqlClient.SqlCommand
cmd.CommandText = "Insert Into
btechregistn(enrollmentno,name,email,contact,tenth,twelth,sem1,sem2,sem3,sem4
,sem5,sem6,sem7,sem8,cursem,branch,field)
Values(@enrollmentno,@name,@email,@contact,@tenth,@twelth,@sem1,@sem2,@sem3,@
sem4,@sem5,@sem6,@sem7,@sem8,@cursem,@branch,@field)"
cmd.Connection = con
cmd.Parameters.AddWithValue("@enrollmentno", txtenrollmentno.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
cmd.Parameters.AddWithValue("@email", txtemail.Text)
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@tenth", txttenth.Text)
cmd.Parameters.AddWithValue("@twelth", txttwelth.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@sem5", txtsem5.Text)
cmd.Parameters.AddWithValue("@sem6", txtsem6.Text)
cmd.Parameters.AddWithValue("@sem7", txtsem7.Text)
cmd.Parameters.AddWithValue("@sem8", txtsem8.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@branch", txtbranch.Text)
cmd.Parameters.AddWithValue("@field", txtfield.Text)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
End Sub
<div class="two">
114
<asp:RequiredFieldValidator ID="reqenrollment"
ControlToValidate="txtenrollmentno" text="(required)" display="Dynamic"
runat="server" />
</p>
<p>
<asp:Label ID="Label2" runat="server" Text="Name"></asp:Label>
<asp:TextBox ID="txtname" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqname" ControlToValidate="txtname"
text="(required)" display="Dynamic" runat="server" />
</p>
<p>
<asp:Label ID="Label3" runat="server" Text="Father's
Name"></asp:Label>
<asp:TextBox ID="TextBox4" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqfathername"
ControlToValidate="Textbox4" text="(required)" display="Dynamic"
runat="server" />
</p>
<p>
<asp:Label ID="Label4" runat="server" Text="Current
Address"></asp:Label>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label5" runat="server" Text="Permanent
Address"></asp:Label>
<asp:TextBox ID="TextBox6" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label6" runat="server" Text="Email-Id"></asp:Label>
<asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="Reqemail"
ControlToValidate="txtemail" text="(Invalid email)" ValidationExpression="\w+
([-+.’]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" display="Dynamic" runat="server" />
</p>
<p>
<asp:Label ID="Label7" runat="server" Text="DateofBirth"></asp:Label>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
115
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem>jan</asp:ListItem>
<asp:ListItem>feb</asp:ListItem>
<asp:ListItem>march</asp:ListItem>
<asp:ListItem>april</asp:ListItem>
<asp:ListItem>may</asp:ListItem>
<asp:ListItem>june</asp:ListItem>
<asp:ListItem>july</asp:ListItem>
<asp:ListItem>august</asp:ListItem>
<asp:ListItem>sept</asp:ListItem>
<asp:ListItem>oct</asp:ListItem>
<asp:ListItem>nov</asp:ListItem>
<asp:ListItem>dec</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList3" runat="server">
<asp:ListItem>1980</asp:ListItem>
<asp:ListItem>1981</asp:ListItem>
<asp:ListItem>1982</asp:ListItem>
<asp:ListItem>1983</asp:ListItem>
<asp:ListItem>1984</asp:ListItem>
<asp:ListItem>1985</asp:ListItem>
<asp:ListItem>1986</asp:ListItem>
<asp:ListItem>1987</asp:ListItem>
<asp:ListItem>1988</asp:ListItem>
<asp:ListItem>1989</asp:ListItem>
<asp:ListItem>1990</asp:ListItem>
<asp:ListItem>1991</asp:ListItem>
<asp:ListItem>1992</asp:ListItem>
<asp:ListItem>1993</asp:ListItem>
<asp:ListItem>1994</asp:ListItem>
<asp:ListItem>1995</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</p>
<p>
<asp:Label ID="Label8" runat="server" Text="Contact no."></asp:Label>
<asp:TextBox ID="txtcontact" runat="server"></asp:TextBox>
</p>
<p><b>Academic:</b></p>
<p>
<asp:Label ID="Label11" runat="server" Text="Perc.10th"></asp:Label>
<asp:TextBox ID="txttenth" runat="server"></asp:TextBox>
116
<asp:RangeValidator ID="reqperc" ControlToValidate="txttenth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label12" runat="server" Text="12th"></asp:Label>
<asp:TextBox ID="txttwelth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqtwelth" ControlToValidate="txttwelth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label14" runat="server" Text="Sem 1"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem1" ControlToValidate="txtsem1"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<asp:Label ID="Label15" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<asp:Label ID="Label16" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label17" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
<asp:Label ID="Label18" runat="server" Text="Sem 5"></asp:Label>
<asp:TextBox ID="txtsem5" runat="server"></asp:TextBox>
<asp:Label ID="Label19" runat="server" Text="Sem 6"></asp:Label>
<asp:TextBox ID="txtsem6" runat="server" Width="128px"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label22" runat="server" Text="Sem 7"></asp:Label>
<asp:TextBox ID="txtsem7" runat="server" Width="128px"></asp:TextBox>
<asp:Label ID="Label23" runat="server" Text="Sem 8"></asp:Label>
<asp:TextBox ID="txtsem8" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label10" runat="server" Text="Current Sem"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="1" MaximumValue="8" Type="Integer"
runat="server" />
</p>
<p>
<asp:Label ID="Label21" runat="server" Text="Branch"></asp:Label>
<asp:TextBox ID="txtbranch" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqbranch"
ControlToValidate="txtbranch" text="(required)" display="Dynamic"
runat="server" />
</p>
<p>
<asp:Label ID="Label24" runat="server" Text="Interested Field of
Training"></asp:Label>
<asp:TextBox ID="txtfield" runat="server"></asp:TextBox>
</p>
<p>
</p>
117
<p>
<asp:Button ID="Button1" runat="server" Text="Submit"
onclick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
</div>
</asp:Content>
<script runat="server">
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@tenth", txttenth.Text)
cmd.Parameters.AddWithValue("@twelth", txttwelth.Text)
cmd.Parameters.AddWithValue("@grad", txtgrad.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@branch", txtbranch.Text)
cmd.Parameters.AddWithValue("@field", txtfield.Text)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
End Sub
118
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Response.Redirect("default.aspx")
End Sub
</script>
119
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem>jan</asp:ListItem>
<asp:ListItem>feb</asp:ListItem>
<asp:ListItem>march</asp:ListItem>
<asp:ListItem>april</asp:ListItem>
<asp:ListItem>may</asp:ListItem>
<asp:ListItem>june</asp:ListItem>
<asp:ListItem>july</asp:ListItem>
<asp:ListItem>august</asp:ListItem>
<asp:ListItem>sept</asp:ListItem>
<asp:ListItem>oct</asp:ListItem>
<asp:ListItem>nov</asp:ListItem>
<asp:ListItem>dec</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList3" runat="server">
<asp:ListItem>1980</asp:ListItem>
<asp:ListItem>1981</asp:ListItem>
<asp:ListItem>1982</asp:ListItem>
<asp:ListItem>1983</asp:ListItem>
<asp:ListItem>1984</asp:ListItem>
<asp:ListItem>1985</asp:ListItem>
<asp:ListItem>1986</asp:ListItem>
<asp:ListItem>1987</asp:ListItem>
<asp:ListItem>1988</asp:ListItem>
<asp:ListItem>1989</asp:ListItem>
<asp:ListItem>1990</asp:ListItem>
120
<asp:ListItem>1991</asp:ListItem>
<asp:ListItem>1992</asp:ListItem>
<asp:ListItem>1993</asp:ListItem>
<asp:ListItem>1994</asp:ListItem>
<asp:ListItem>1995</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</p>
<p>
<asp:Label ID="Label8" runat="server" Text="Contact no."></asp:Label>
<asp:TextBox ID="txtcontact" runat="server"></asp:TextBox>
</p>
<p><b>Academic:</b></p>
<p>
<asp:Label ID="Label11" runat="server" Text="Perc.10th"></asp:Label>
<asp:TextBox ID="txttenth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="reqperc" ControlToValidate="txttenth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label12" runat="server" Text="12th"></asp:Label>
<asp:TextBox ID="txttwelth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqtwelth" ControlToValidate="txttwelth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label13" runat="server" Text="Graduation"></asp:Label>
<asp:TextBox ID="txtgrad" runat="server" style="margin-top:
0px"></asp:TextBox>
<asp:RangeValidator ID="Reqgrad" ControlToValidate="txtgrad"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label14" runat="server" Text="Sem 1"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:Label ID="Label15" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<asp:Label ID="Label16" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label17" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label10" runat="server" Text="Current Sem"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="1" MaximumValue="4" Type="Integer"
runat="server" />
</p>
<p>
<asp:Label ID="Label21" runat="server" Text="Branch"></asp:Label>
<asp:TextBox ID="txtbranch" runat="server"></asp:TextBox>
121
<asp:RequiredFieldValidator ID="Reqbranch"
ControlToValidate="txtbranch" text="(required)" display="Dynamic"
runat="server" />
</p>
<p>
<asp:Label ID="Label22" runat="server" Text="Interested Field of
Training"></asp:Label>
<asp:TextBox ID="txtfield" runat="server"></asp:TextBox>
</p>
<p>
</p>
<p>
<asp:Button ID="Button1" runat="server" Text="Submit"
onclick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
</p>
</div>
</asp:Content>
<script runat="server">
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@tenth", txttenth.Text)
cmd.Parameters.AddWithValue("@twelth", txttwelth.Text)
cmd.Parameters.AddWithValue("@grad", txtgrad.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
122
cmd.Parameters.AddWithValue("@sem5", txtsem5.Text)
cmd.Parameters.AddWithValue("@sem6", txtsem6.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@field", txtfield.Text)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
End Sub
123
</p>
<p>
<asp:Label ID="Label6" runat="server" Text="Email-Id"></asp:Label>
<asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="Reqemail"
ControlToValidate="txtemail" text="(Invalid email)" ValidationExpression="\w+
([-+.’]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" display="Dynamic" runat="server" />
</p>
<p>
<asp:Label ID="Label7" runat="server" Text="DateofBirth"></asp:Label>
<asp:DropDownList ID="DropDownList1" runat="server">
<asp:ListItem>1</asp:ListItem>
<asp:ListItem>2</asp:ListItem>
<asp:ListItem>3</asp:ListItem>
<asp:ListItem>4</asp:ListItem>
<asp:ListItem>5</asp:ListItem>
<asp:ListItem>6</asp:ListItem>
<asp:ListItem>7</asp:ListItem>
<asp:ListItem>8</asp:ListItem>
<asp:ListItem>9</asp:ListItem>
<asp:ListItem>10</asp:ListItem>
<asp:ListItem>11</asp:ListItem>
<asp:ListItem>12</asp:ListItem>
<asp:ListItem>13</asp:ListItem>
<asp:ListItem>14</asp:ListItem>
<asp:ListItem>15</asp:ListItem>
<asp:ListItem>16</asp:ListItem>
<asp:ListItem>17</asp:ListItem>
<asp:ListItem>18</asp:ListItem>
<asp:ListItem>19</asp:ListItem>
<asp:ListItem>20</asp:ListItem>
<asp:ListItem>21</asp:ListItem>
<asp:ListItem>22</asp:ListItem>
<asp:ListItem>23</asp:ListItem>
<asp:ListItem>24</asp:ListItem>
<asp:ListItem>25</asp:ListItem>
<asp:ListItem>26</asp:ListItem>
<asp:ListItem>27</asp:ListItem>
<asp:ListItem>28</asp:ListItem>
<asp:ListItem>29</asp:ListItem>
<asp:ListItem>30</asp:ListItem>
<asp:ListItem>31</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList2" runat="server">
<asp:ListItem>jan</asp:ListItem>
<asp:ListItem>feb</asp:ListItem>
<asp:ListItem>march</asp:ListItem>
<asp:ListItem>april</asp:ListItem>
<asp:ListItem>may</asp:ListItem>
<asp:ListItem>june</asp:ListItem>
<asp:ListItem>july</asp:ListItem>
<asp:ListItem>august</asp:ListItem>
<asp:ListItem>sept</asp:ListItem>
<asp:ListItem>oct</asp:ListItem>
<asp:ListItem>nov</asp:ListItem>
<asp:ListItem>dec</asp:ListItem>
124
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
<asp:DropDownList ID="DropDownList3" runat="server">
<asp:ListItem>1980</asp:ListItem>
<asp:ListItem>1981</asp:ListItem>
<asp:ListItem>1982</asp:ListItem>
<asp:ListItem>1983</asp:ListItem>
<asp:ListItem>1984</asp:ListItem>
<asp:ListItem>1985</asp:ListItem>
<asp:ListItem>1986</asp:ListItem>
<asp:ListItem>1987</asp:ListItem>
<asp:ListItem>1988</asp:ListItem>
<asp:ListItem>1989</asp:ListItem>
<asp:ListItem>1990</asp:ListItem>
<asp:ListItem>1991</asp:ListItem>
<asp:ListItem>1992</asp:ListItem>
<asp:ListItem>1993</asp:ListItem>
<asp:ListItem>1994</asp:ListItem>
<asp:ListItem>1995</asp:ListItem>
<asp:ListItem></asp:ListItem>
</asp:DropDownList>
</p>
<p>
<asp:Label ID="Label8" runat="server" Text="Contact no."></asp:Label>
<asp:TextBox ID="txtcontact" runat="server"></asp:TextBox>
</p>
<p><b>Academic:</b></p>
<p>
<asp:Label ID="Label11" runat="server" Text="Perc.10th"></asp:Label>
<asp:TextBox ID="txttenth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="reqperc" ControlToValidate="txttenth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label12" runat="server" Text="12th"></asp:Label>
<asp:TextBox ID="txttwelth" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqtwelth" ControlToValidate="txttwelth"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label13" runat="server" Text="Graduation"></asp:Label>
<asp:TextBox ID="txtgrad" runat="server" style="margin-top:
0px"></asp:TextBox>
<asp:RangeValidator ID="Reqgrad" ControlToValidate="txtgrad"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
</p>
<p>
<asp:Label ID="Label14" runat="server" Text="Sem 1"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem1" ControlToValidate="txtsem1"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<asp:Label ID="Label15" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
125
<asp:Label ID="Label16" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label17" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
<asp:Label ID="Label18" runat="server" Text="Sem 5"></asp:Label>
<asp:TextBox ID="txtsem5" runat="server"></asp:TextBox>
<asp:Label ID="Label19" runat="server" Text="Sem 6"></asp:Label>
<asp:TextBox ID="txtsem6" runat="server" Width="128px"></asp:TextBox>
</p>
<p>
<asp:Label ID="Label10" runat="server" Text="Current Sem"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="1" MaximumValue="6" Type="Integer"
runat="server" />
</p>
<p>
<asp:Label ID="Label20" runat="server" Text="Interested field of
Training"></asp:Label>
<asp:TextBox ID="txtfield" runat="server"></asp:TextBox>
</p>
<p>
<asp:Button ID="Button1" runat="server" Text="Submit"
onclick="Button1_Click" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
</p>
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim ada As New SqlDataAdapter
Dim dt As New DataTable
ada = New SqlDataAdapter("Select * from btechregist", con)
ada.Fill(dt)
GridView1.DataSource = dt
GridView1.DataBind()
126
End Sub
<br />
<br />
<asp:Button ID="Button3" runat="server" onclick="Button3_Click"
Text="Cancel" Width="84px" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim ada As New SqlDataAdapter
Dim dt As New DataTable
ada = New SqlDataAdapter("Select * from mtechreg", con)
ada.Fill(dt)
GridView1.DataSource = dt
GridView1.DataBind()
End Sub
127
Protected Sub Button3_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Response.Redirect("default.aspx")
End Sub
</script>
<asp:Button ID="Button3" runat="server" onclick="Button3_Click"
Text="Cancel"
Width="96px" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim ada As New SqlDataAdapter
Dim dt As New DataTable
ada = New SqlDataAdapter("Select * from mcaregist", con)
ada.Fill(dt)
GridView1.DataSource = dt
GridView1.DataBind()
End Sub
128
<asp:Content ID="Content1" ContentPlaceHolderID="contentplaceholder2"
Runat="Server">
<div class ="two" >
<asp:GridView ID="GridView1" runat="server">
</asp:GridView>
<br />
<br />
<asp:Button ID="Button1" runat="server" Text="view mca placements"
onclick="Button1_Click" />
<asp:Button ID="Button3" runat="server" onclick="Button3_Click"
Text="Cancel"
Width="95px" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim ada As New SqlDataAdapter
Dim dt As New DataTable
ada = New SqlDataAdapter("Select * from btechregistn", con)
ada.Fill(dt)
GridView1.DataSource = dt
GridView1.DataBind()
End Sub
129
<br />
<asp:Button ID="Button1" runat="server" Text="view B.tech Training"
onclick="Button1_Click" />
<asp:Button ID="Button3" runat="server" onclick="Button3_Click"
Text="Cancel"
Width="83px" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim ada As New SqlDataAdapter
Dim dt As New DataTable
ada = New SqlDataAdapter("Select * from mtechregistn", con)
ada.Fill(dt)
GridView1.DataSource = dt
GridView1.DataBind()
End Sub
130
<asp:Button ID="Button3" runat="server" onclick="Button3_Click"
Text="Cancel"
Width="84px" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim ada As New SqlDataAdapter
Dim dt As New DataTable
ada = New SqlDataAdapter("Select * from mcaregistn", con)
ada.Fill(dt)
GridView1.DataSource = dt
GridView1.DataBind()
End Sub
<asp:Button ID="Button3" runat="server" onclick="Button3_Click"
Text="Cancel"
Width="96px" />
</div>
</asp:Content>
131
Search Placement B.Tech
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim strselect As String
Dim cmd As SqlCommand
strselect = "Select Placement From btechregist Where
enrollmentno=@enrollmentno And name=@name"
cmd = New SqlCommand(strselect, con)
cmd.Parameters.AddWithValue("@enrollmentno", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
con.Open()
lblplacement.Text = cmd.ExecuteScalar()
con.Close()
End Sub
132
<asp:RequiredFieldValidator ID="Reqbranch" ControlToValidate="Textbox3"
text="(required)" display="Dynamic" runat="server" />
<br />
<asp:Label ID="Label4" runat="server" Text="Current Semester"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="4" MaximumValue="8" Type="Integer"
runat="server" />
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Search" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim strselect As String
Dim cmd As SqlCommand
strselect = "Select Placement From mtechreg Where
enrollmentno=@enrollmentno And name=@name"
cmd = New SqlCommand(strselect, con)
cmd.Parameters.AddWithValue("@enrollmentno", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
con.Open()
lblplacement.Text = cmd.ExecuteScalar()
con.Close()
End Sub
133
<asp:Content ID="Content1" ContentPlaceHolderID="contentplaceholder2"
Runat="Server">
<div class="two" >
<b>Fill The Details to Search!</b>
<br />
<br />
<asp:ValidationSummary ID="validation1" ShowMessageBox="true"
ShowSummary="false" runat="server" />
<asp:Label ID="Label1" runat="server" Text="Enrollment No."></asp:Label>
<asp:TextBox ID="txtenrollment" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="reqenrollment"
ControlToValidate="txtenrollment" text="(*required)" display="Dynamic"
runat="server" />
<br />
<asp:Label ID="Label2" runat="server" Text="Name"></asp:Label>
<asp:TextBox ID="txtname" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqname" ControlToValidate="txtname"
text="(*required)" display="Dynamic" runat="server" />
<br />
<asp:Label ID="Label3" runat="server" Text="Major"></asp:Label>
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqbranch" ControlToValidate="Textbox3"
text="(required)" display="Dynamic" runat="server" />
<br />
<asp:Label ID="Label4" runat="server" Text="Current Semester"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="2" MaximumValue="4" Type="Integer"
runat="server" />
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Search" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<b> You are Placed In:</b>
<asp:Label ID="lblplacement" EnableViewstate="False" runat="server" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
134
Dim strselect As String
Dim cmd As SqlCommand
strselect = "Select Placement From mcaregist Where
enrollmentno=@enrollmentno And name=@name"
cmd = New SqlCommand(strselect, con)
cmd.Parameters.AddWithValue("@enrollmentno", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
con.Open()
lblplacement.Text = cmd.ExecuteScalar()
con.Close()
End Sub
<br />
<asp:Label ID="Label2" runat="server" Text="Name"></asp:Label>
<asp:TextBox ID="txtname" runat="server"></asp:TextBox>
</br>
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Search" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<b> You are Placed In:</b>
<asp:Label ID="lblplacement" EnableViewstate="False" runat="server" />
</div>
</asp:Content>
135
<%@ Import Namespace="System.Data.SqlClient" %>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim strselect As String
Dim cmd As SqlCommand
strselect = "Select organisation From btechregistn Where
enrollmentno=@enrollmentno And name=@name"
cmd = New SqlCommand(strselect, con)
cmd.Parameters.AddWithValue("@enrollmentno", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
con.Open()
lbltraining.Text = cmd.ExecuteScalar()
con.Close()
End Sub
136
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Search" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<div>
<b> Organisation:</b>
<asp:Label ID="lbltraining" EnableViewstate="False" runat="server" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim strselect As String
Dim cmd As SqlCommand
strselect = "Select organisation From mtechregistn Where
enrollmentno=@enrollmentno And name=@name"
cmd = New SqlCommand(strselect, con)
cmd.Parameters.AddWithValue("@enrollmentno", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
con.Open()
lbltraining.Text = cmd.ExecuteScalar()
con.Close()
End Sub
137
<asp:Label ID="Label1" runat="server" Text="Enrollment No."></asp:Label>
<asp:TextBox ID="txtenrollment" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="reqenrollment"
ControlToValidate="txtenrollment" text="(*required)" display="Dynamic"
runat="server" />
<br />
<asp:Label ID="Label2" runat="server" Text="Name"></asp:Label>
<asp:TextBox ID="txtname" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqname" ControlToValidate="txtname"
text="(*required)" display="Dynamic" runat="server" />
<br />
<asp:Label ID="Label3" runat="server" Text="Major"></asp:Label>
<asp:TextBox ID="TextBox3" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqbranch" ControlToValidate="Textbox3"
text="(required)" display="Dynamic" runat="server" />
<br />
<asp:Label ID="Label4" runat="server" Text="Current Semester"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="2" MaximumValue="4" Type="Integer"
runat="server" />
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Search" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<div>
<b> Organisation:</b>
<asp:Label ID="lbltraining" EnableViewstate="False" runat="server" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim strselect As String
Dim cmd As SqlCommand
strselect = "Select organisation From mcaregistn Where
enrollmentno=@enrollmentno And name=@name"
cmd = New SqlCommand(strselect, con)
cmd.Parameters.AddWithValue("@enrollmentno", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
con.Open()
138
lbltraining.Text = cmd.ExecuteScalar()
con.Close()
End Sub
</div>
</asp:Content>
139
<%@ Import Namespace="System.Data.SqlClient" %>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim cmd As New System.Data.SqlClient.SqlCommand
Dim strupdate As String
Dim intupdatecount As Integer
strupdate = "Update btechregist Set
email=@email,contact=@contact,cursem=@cursem,sem1=@sem1,sem2=@sem2,sem3=@sem3
,sem4=@sem4,sem5=@sem5,sem6=@sem6,sem7=@sem7,sem8=@sem8,back=@back Where
enrollmentno=@enrollment And name=@name"
cmd = New SqlCommand(strupdate, con)
cmd.Parameters.AddWithValue("@enrollment", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
cmd.Parameters.AddWithValue("@email", txtemail.Text)
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@sem5", txtsem5.Text)
cmd.Parameters.AddWithValue("@sem6", txtsem6.Text)
cmd.Parameters.AddWithValue("@sem7", txtsem7.Text)
cmd.Parameters.AddWithValue("@sem8", txtsem8.Text)
cmd.Parameters.AddWithValue("@back", txtback.Text)
con.Open()
intupdatecount = cmd.ExecuteNonQuery()
con.Close()
lblresults.Text = intupdatecount & "records Updated!"
End Sub
140
<asp:TextBox ID="txtname" runat="server"></asp:TextBox>
<asp:RequiredFieldValidator ID="Reqname" ControlToValidate="txtname"
text="(*required)" display="Dynamic" runat="server" />
<br />
<asp:Label ID="Label4" runat="server" Text="Email-Id"></asp:Label>
<asp:TextBox ID="txtemail" runat="server"></asp:TextBox>
<asp:RegularExpressionValidator ID="Reqemail"
ControlToValidate="txtemail" text="(Invalid email)" ValidationExpression="\w+
([-+.’]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" display="Dynamic" runat="server" />
<br />
<asp:Label ID="Label5" runat="server" Text="Contact No."></asp:Label>
<asp:TextBox ID="txtcontact" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label6" runat="server" Text="Present
Address"></asp:Label>
<asp:TextBox ID="TextBox5" runat="server"></asp:TextBox>
<br />
<br />
<b>Academic Information</b><br />
<br />
<asp:Label ID="Label7" runat="server" Text="Current
Semester"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="4" MaximumValue="8" Type="Integer"
runat="server" />
<br />
<asp:Label ID="Label8" runat="server" Text="Sem 1(%age)"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem1" ControlToValidate="txtsem1"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<asp:Label ID="Label10" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem2" ControlToValidate="txtsem2"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<br />
<asp:Label ID="Label9" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
<asp:Label ID="Label11" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label12" runat="server" Text="Sem 5"></asp:Label>
<asp:TextBox ID="txtsem5" runat="server"></asp:TextBox>
<asp:Label ID="Label13" runat="server" Text="Sem 6"></asp:Label>
<asp:TextBox ID="txtsem6" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label15" runat="server" Text="Sem 7"></asp:Label>
<asp:TextBox ID="txtsem7" runat="server"></asp:TextBox>
<asp:Label ID="Label16" runat="server" Text="Sem 8"></asp:Label>
<asp:TextBox ID="txtsem8" runat="server"></asp:TextBox>
<br />
<br />
<asp:Label ID="Label14" runat="server" Text="No.of
Backlogs"></asp:Label>
<asp:TextBox ID="txtback" runat="server"></asp:TextBox>
141
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Update" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<br />
<br />
<asp:Label ID="lblresults" runat="server" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim cmd As New System.Data.SqlClient.SqlCommand
Dim strupdate As String
Dim intupdatecount As Integer
strupdate = "Update mtechreg Set
email=@email,contact=@contact,cursem=@cursem,sem1=@sem1,sem2=@sem2,sem3=@sem3
,sem4=@sem4,back=@back Where enrollmentno=@enrollment And name=@name"
cmd = New SqlCommand(strupdate, con)
cmd.Parameters.AddWithValue("@enrollment", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
cmd.Parameters.AddWithValue("@email", txtemail.Text)
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@back", txtback.Text)
con.Open()
intupdatecount = cmd.ExecuteNonQuery()
con.Close()
lblresults.Text = intupdatecount & "records Updated!"
End Sub
142
End Sub
</script>
143
<asp:Label ID="Label14" runat="server" Text="No.of
Backlogs"></asp:Label>
<asp:TextBox ID="txtback" runat="server"></asp:TextBox>
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Update" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<br />
<asp:Label ID="lblresults" runat="server" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim cmd As New System.Data.SqlClient.SqlCommand
Dim strupdate As String
Dim intupdatecount As Integer
strupdate = "Update mcaregist Set
email=@email,contact=@contact,cursem=@cursem,sem1=@sem1,sem2=@sem2,sem3=@sem3
,sem4=@sem4,sem5=@sem5,sem6=@sem6,back=@back Where enrollmentno=@enrollment
And name=@name"
cmd = New SqlCommand(strupdate, con)
cmd.Parameters.AddWithValue("@enrollment", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
cmd.Parameters.AddWithValue("@email", txtemail.Text)
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@sem5", txtsem5.Text)
cmd.Parameters.AddWithValue("@sem6", txtsem6.Text)
cmd.Parameters.AddWithValue("@back", txtback.Text)
con.Open()
intupdatecount = cmd.ExecuteNonQuery()
con.Close()
lblresults.Text = intupdatecount & "records Updated!"
End Sub
144
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Response.Redirect("default.aspx")
End Sub
</script>
145
<asp:Label ID="Label11" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label12" runat="server" Text="Sem 5"></asp:Label>
<asp:TextBox ID="txtsem5" runat="server"></asp:TextBox>
<asp:Label ID="Label13" runat="server" Text="Sem 6"></asp:Label>
<asp:TextBox ID="txtsem6" runat="server"></asp:TextBox>
<br />
<br />
<asp:Label ID="Label14" runat="server" Text="No.of
Backlogs"></asp:Label>
<asp:TextBox ID="txtback" runat="server"></asp:TextBox>
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Update" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<br />
<asp:Label ID="lblresults" runat="server" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim cmd As New System.Data.SqlClient.SqlCommand
Dim strupdate As String
Dim intupdatecount As Integer
strupdate = "Update btechregistn Set
email=@email,contact=@contact,cursem=@cursem,sem1=@sem1,sem2=@sem2,sem3=@sem3
,sem4=@sem4,sem5=@sem5,sem6=@sem6,sem7=@sem7,sem8=@sem8 Where
enrollmentno=@enrollment And name=@name"
cmd = New SqlCommand(strupdate, con)
cmd.Parameters.AddWithValue("@enrollment", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
cmd.Parameters.AddWithValue("@email", txtemail.Text)
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@sem5", txtsem5.Text)
146
cmd.Parameters.AddWithValue("@sem6", txtsem6.Text)
cmd.Parameters.AddWithValue("@sem7", txtsem7.Text)
cmd.Parameters.AddWithValue("@sem8", txtsem8.Text)
con.Open()
intupdatecount = cmd.ExecuteNonQuery()
con.Close()
lblresults.Text = intupdatecount & "records Updated!"
End Sub
147
<br />
<asp:Label ID="Label8" runat="server" Text="Sem 1(%age)"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem1" ControlToValidate="txtsem1"
Text="(Invalid Percentage)" MinimumValue="50" MaximumValue="100"
Type="Integer" runat="server" />
<asp:Label ID="Label10" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label9" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
<asp:Label ID="Label11" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label12" runat="server" Text="Sem 5"></asp:Label>
<asp:TextBox ID="txtsem5" runat="server"></asp:TextBox>
<asp:Label ID="Label13" runat="server" Text="Sem 6"></asp:Label>
<asp:TextBox ID="txtsem6" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label15" runat="server" Text="Sem 7"></asp:Label>
<asp:TextBox ID="txtsem7" runat="server"></asp:TextBox>
<asp:Label ID="Label16" runat="server" Text="Sem 8"></asp:Label>
<asp:TextBox ID="txtsem8" runat="server"></asp:TextBox>
<br />
<br />
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Update" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<br />
<asp:Label ID="lblresults" runat="server" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim cmd As New System.Data.SqlClient.SqlCommand
Dim strupdate As String
Dim intupdatecount As Integer
148
strupdate = "Update mtechregistn Set
email=@email,contact=@contact,cursem=@cursem,sem1=@sem1,sem2=@sem2,sem3=@sem3
,sem4=@sem4 Where enrollmentno=@enrollment And name=@name"
cmd = New SqlCommand(strupdate, con)
cmd.Parameters.AddWithValue("@enrollment", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
cmd.Parameters.AddWithValue("@email", txtemail.Text)
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
con.Open()
intupdatecount = cmd.ExecuteNonQuery()
con.Close()
lblresults.Text = intupdatecount & "records Updated!"
End Sub
149
<br />
<br />
<b>Academic Information</b><br />
<br />
<asp:Label ID="Label7" runat="server" Text="Current
Semester"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="1" MaximumValue="4" Type="Integer"
runat="server" />
<br />
<asp:Label ID="Label8" runat="server" Text="Sem 1(%age)"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:Label ID="Label10" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label9" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
<asp:Label ID="Label11" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
<br />
<br />
<br />
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Update" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<br />
<asp:Label ID="lblresults" runat="server" />
</div>
</asp:Content>
<script runat="server">
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As
System.EventArgs)
Dim con As New System.Data.SqlClient.SqlConnection
con.ConnectionString = "data source=.;initial
catalog=mcareg;integrated security=true;"
Dim cmd As New System.Data.SqlClient.SqlCommand
Dim strupdate As String
Dim intupdatecount As Integer
strupdate = "Update mcaregistn Set
email=@email,contact=@contact,cursem=@cursem,sem1=@sem1,sem2=@sem2,sem3=@sem3
,sem4=@sem4,sem5=@sem5,sem6=@sem6 Where enrollmentno=@enrollment And
name=@name"
150
cmd = New SqlCommand(strupdate, con)
cmd.Parameters.AddWithValue("@enrollment", txtenrollment.Text)
cmd.Parameters.AddWithValue("@name", txtname.Text)
cmd.Parameters.AddWithValue("@email", txtemail.Text)
cmd.Parameters.AddWithValue("@contact", txtcontact.Text)
cmd.Parameters.AddWithValue("@cursem", txtcursem.Text)
cmd.Parameters.AddWithValue("@sem1", txtsem1.Text)
cmd.Parameters.AddWithValue("@sem2", txtsem2.Text)
cmd.Parameters.AddWithValue("@sem3", txtsem3.Text)
cmd.Parameters.AddWithValue("@sem4", txtsem4.Text)
cmd.Parameters.AddWithValue("@sem5", txtsem5.Text)
cmd.Parameters.AddWithValue("@sem6", txtsem6.Text)
con.Open()
intupdatecount = cmd.ExecuteNonQuery()
con.Close()
lblresults.Text = intupdatecount & "records Updated!"
End Sub
151
<b>Academic Information</b><br />
<br />
<asp:Label ID="Label7" runat="server" Text="Current
Semester"></asp:Label>
<asp:TextBox ID="txtcursem" runat="server"></asp:TextBox>
<asp:RangeValidator ID="Reqsem" ControlToValidate="txtcursem"
Text="(Invalid semester)" MinimumValue="1" MaximumValue="6" Type="Integer"
runat="server" />
<br />
<asp:Label ID="Label8" runat="server" Text="Sem 1(%age)"></asp:Label>
<asp:TextBox ID="txtsem1" runat="server"></asp:TextBox>
<asp:Label ID="Label10" runat="server" Text="Sem 2"></asp:Label>
<asp:TextBox ID="txtsem2" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label9" runat="server" Text="Sem 3"></asp:Label>
<asp:TextBox ID="txtsem3" runat="server"></asp:TextBox>
<asp:Label ID="Label11" runat="server" Text="Sem 4"></asp:Label>
<asp:TextBox ID="txtsem4" runat="server"></asp:TextBox>
<br />
<asp:Label ID="Label12" runat="server" Text="Sem 5"></asp:Label>
<asp:TextBox ID="txtsem5" runat="server"></asp:TextBox>
<asp:Label ID="Label13" runat="server" Text="Sem 6"></asp:Label>
<asp:TextBox ID="txtsem6" runat="server"></asp:TextBox>
<br />
<br />
<br />
<br />
<asp:Button ID="Button1" runat="server" onclick="Button1_Click"
Text="Update" />
<asp:Button ID="Button2" runat="server" Text="Cancel"
onclick="Button2_Click" />
<br />
<asp:Label ID="lblresults" runat="server" />
</div>
</asp:Content>
Contact Us
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
<script runat="server">
</script>
152
<b> Mr. Ramakishore</b></br>
email: rama.ipu@gmail.com
phone:23900328.
</br>
</br>
</br>
<b> For website related Details and Queries Contact</b>
</br>
Priya Gautam :9873338345
Swati Manishya: 9811833597
</asp:Content>
Excellent Faculty
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
<script runat="server">
</script>
With the aspiration to grow and develop, USIT has been continuing its efforts
to widen its faculty base. </br>
As a measure towards this end , there is a regular induction of, Visiting,
Adjunct as well as Faculty on contract basis,</br>
into the Institute.</br>
</asp:Content>
153
All round Development
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
<script runat="server">
</script>
R&D
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
<script runat="server">
</script>
154
<asp:Content ID="Content1" ContentPlaceHolderID="contentplaceholder2"
Runat="Server">
<div class ="two" >
<h1><b> RESEARCH AND DEVELOPMENT</b></h1></br></br>
USIT considers research and development as pivotal activities in the pursuit
of excellence. The institute plays a vital role in diverse facets of research
and development </br>by keeping pace with the rapidly expanding frontiers of
knowledge, trying to address national needs and contributing to global
development. Its preeminent position at the cutting edge of research is
reflected in its impressive catalogue of research projects funded by national
and international organizations and industries.</br>
<h1><b> PUBLICATIONS</b></h1></br></br>
Students are encouraged to publish their work in the form of papers in peer
reviewed national and international conferences and refereed journals.</br>
<h1><b>RESEARCH ASSISTANTSHIP</b></h1></br>
</asp:Content>
Students Statistics
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
</div>
</asp:Content>
Placement Statistics
155
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="Untitled
Page" %>
<script runat="server">
</script>
</asp:Content>
Future Scope
On the basis of the work done on the project “ONLINE TRAINING AND PLACEMENT, the
1. This project has achieved the objective of replacing/augmenting the conventional system
156
2. The development of this website has been achieved by using ASP.NET 3.5 framework ,
which is very conductive to develop the website with regard to time and specific need to
the user.
3. This website is highly user friendly, required an optimal minimal input from user while
4. Fully automated, avoiding human intervention. Hence it provides a very rapid cost
5. In future the website can be extended to be made on any language and any server side
6. more advanced features and GUI can be added to the website without changing any core
functionalities.
7. The system can further extended as per user and administrative requirements to
CONCLUSION
The website ‘online training and placement has been developed to provide an easier way to
students to register themselves for the training and placements. It also reduces the loads of
157
database of all students when they register online.so the TNP officer can easily update the
training and placement status of each student and the same can be displayed online.
158