BCA
1
Under Supervision of
Submitted By:
Name Programme Code Enrollment No. Study centre
: : : : BCA
ACKNOWLEDGEMENT
With Candor and Pleasure I take opportunity to express my sincere thanks and obligation to my esteemed guide G.S.Baluja. It is because of his able and mature guidance and co-operation without which it would not have been possible for me to complete my project. It is my pleasant duty to thank all the staff member of the computer center who never hesitated me from time during the project. Finally, I gratefully acknowledge the support, encouragement & patience of my family, and as always, nothing in my life would be possible without God, Thank You!
Amit Tuteja
DECLARATION
I hereby declare that this project work titled ADMINISTRATIVE & LOGISTIC MANAGEMENT SYSTEM COURIER BOOKING is my original work and no part of it has been submitted for any other degree purpose or published in any other from till date.
Amit Tuteja
Administrative & Logistic Management System for Courier Company TABLE OF CONTENTS
Acknowledgment Declaration 1. Introduction & Objectives of the Project 1.1 Introduction 1.2 Objectives 1.3 Advantage 1.4 Drawback of Current Manual-System 1.5 Proposed System 1.6 Need 2. System Study 2.1 Preliminary Investigation 2.2 System Development Life Cycle 3. System Analysis 3.1 Importance of Computerized System 3.2 Principle of System Analysis 30 31 24 25 3 4 8 8 8 9 10 11 15
4.
System Design 34 40 41 42 48 5
4.1 Design Objectives 4.2 Data Modeling 4.3 E-R Diagram 4.4 Context Level DFD 4.5 Modules
51
5. System Development 5.1 Source Code 5.2 Code Efficiency 5.3 Optimization of code 6. Testing 210 211 216 59 208 208
6.1 Testing Phase 6.2 Level of Testing 6.3 Verification and Validation (V&V) 7. System Implementation Post Implementation Maintenance and Review Hardware Evaluation Factors Software Evaluation Factors Conversion and Training Training Needs
219 220 221 222 223 224 222 228 229 230 162
10. Security and Validations 11. Scope of Future Application 12. Conclusion 13. Bibliography
1.1 INTRODUCTION:
This system is being developed to manage a process known as Trading, which is one of the basic pillars in development of human society. This system, which is known as Administrative & Logistic Management System for Courier Company, is useful for courier companies, which acts as a carrier to carry goods from one place to another, to and from all stations where it operates. A shipper sends some consignment to the buyer and charge transportation charges to carry those goods.
developed to make process of booking, planning and delivery of Courier very easy and manageable. This system will be mostly used by Courier Companies Employees so, it is very necessary to make their work systematic and ergonomic. All modules will be easy to use. 4. As whole Courier trade is based on commercialism, so accounting should be an integrated part of such system. So, this system should manage all accounts and keeps records of amount credited and debited on individuals.
5. To manage user profiles and to validate who can do business on credit basis and who cannot.
1.3. Advantages
I have designed the given proposed system in the ASP.NET to automate Administrative & Logistic Management System for Courier Company. The following steps that give the detailed information of the need of proposed system are: Performance: During past several decades, the records are supposed to be manually handled for all activities. The manual handling of the record is time consuming and highly prone to error. To improve the performance of the Company system, the computerized system is to be undertaken. The computerized project is fully computerized and user friendly even that any of the members can see the report and status of the company. Efficiency: The basic need of this website is efficiency. The website should be efficient so that a user can track his courier. The website is updated by the administrator. This record will be useful for other users instantly. Control: The complete control of the project is under the hands of authorized person who has the password to access this project and illegal access is not supposed to deal with. All the control is under the administrator and the other members have the rights to just see the records not to change any transaction or entry. Security: Security is the main criteria for the proposed system. Since illegal access may corrupt the database. So security has to be given in this project.
The current manual system has a lot of paper work and it does not
deal with old and new car purchase and sale. To maintain the records of sale and service manually, is a Time-
consuming job. With the increase in database, it will become a massive job to
maintain the database. Requires large quantities of file cabinets, which are huge and
require quite a bit of space in the office, which can be used for storing records of previous claims. The retrieval of records of employees will be a tedious job. Lack of security for the records, anyone disarrange the records of
your system.
10
1.
seems to vary in quality from one month to the next. Some times it gives good output, but some times the output is worst. 2. reports. 3. Problem of timeliness: In the current system the reports Problem of Accuracy: There are too many mistakes in
and output produced is mostly late and in most of the cases it is useless because it is not on time. 4. Problem of Validity: The output and reports mostly contains
misleading information. The customer's information is sometimes not valid. 5. Problem of Economy: The current system is very costly.
We have to spend lots of money to keep the system up and going, but still not get the desired results. 6. Problem of Capacity: The current system is suffering from
problem of capacity also. The staff for organization is very less and the workload is too much. Few peoples cannot handle all the work.
1.
Details: The new proposed system stores and maintains all the eye bank details,donators details,nodal hospital details etc.
2. Calculations: The new proposed system updates tables and other information automatically and it is very fast and accurate. 3. Registers: There is no need of keeping and maintaining salary and information manually. It remembers each and every record and we can get any report at any time. 11
4. Speed: The new proposed system is very fast with 100% accuracy and saves time. 5. Manpower: The new proposed system needs less manpower. Less people can do the large work. 6. Efficiency: The new proposed systems complete the work of many people in less time. 7. Past details: The new proposed system contains the details of every past claims taken by the employees. 8. Reduces redundancy: The most important benefit of this system is that it reduces the redundancy of data within the data. 9. Work load: Reduces the work load of the data store by helping in easy updates of the products and providing them with the necessary details together with financial transactions management. 10. Easy statements: Month-end and day-end statement easily taken out without getting headaches on browsing through the day end statements.
1.6 NEED
I have designed the given proposed system in the ASP.NET to automate the process of ADMINISTRATIVE & LOGISTIC MANAGEMENT SYSTEM COURIER
BOOKING. This project is useful for the authorities who keep track of all the
eye bank details . The following steps that give the detailed information of the need of proposed system are: Performance: During past several decades, the records are supposed to be manually handled for all activities. The manual handling of the record is time consuming and highly prone to error. To improve the performance of the system, the computerized 12
system is to be undertaken. The computerized project is fully computerized and user friendly even that any of the members can see the report and status of the eye bank. Efficiency: The basic need of this website is efficiency. The website should be efficient so that whenever a new user submits his/her details the website is updated automatically. This record will be useful for other users instantly. Control: The complete control of the project is under the hands of authorized person who has the password to access this project and illegal access is not supposed to deal with. All the control is under the administrator and the other members have the rights to just see the records not to change any transaction or entry. Security: Security is the main criteria for the proposed system. Since illegal access may corrupt the database. So security has to be given in this project.
13
FRONT END
.NET programming tools are complete programming environments. It allows programmers to build a GUI program using the various on-screen controls such as buttons, text, menus, boxes etc. These controls are placed on a form and then the processing details related with each control are filled in. In the business world, competitive strategies have become the order of the day to improve quality, cut costs and provide a high response customer service base. Most organizations today need to be market driven and do a lot of value addition to their products and services. This naturally calls for rational decision making, which requires information. Information Technology or IT provides that effective channel to support and implement this strategy. Client/Server is the technology that empowers the desktop, thus setting a trend for the way successful organizations will use technology in the next decade.
14
1. A Vision.
Web sites will be joined by Web services New smart devices will join the PC User interfaces will become more adaptable and customizable Enabled by Web standards
2. A Platform.
The .NET Framework Visual Studio.NET .NET Enterprise Servers o Database, Messaging, Integration, Commerce, Proxy, Security, Mobility, Orchestration, Content Management .NET Building Block Services o Passport o .NET My Services (Appin) Goal: make it incredibility easy to build powerful Web applications and Web services
3. A business model.
Software as a service Subscription-based services Application hosting, e.g. bCentral
A single executable file handles all functions relating to the user, business, and data service layers. o Two-tier architecture Divides an application into the following two components: Client Server o Three-tier architecture All the three service layers reside separately, either on the same machine or on different machines. o n-tier architecture Uses business objects for handling business rules and data access. Has multiple servers handling business services.
specific requirements, they are not interoperable. Microsoft has introduced the .NET initiative with the intention of bridging the gap in interoperability between applications. The .NET initiative offers a complete suite for developing and deploying applications, which consists of the following: o NET products: Microsoft has already introduced Visual Studio .NET, which is a tool for developing NET applications by using programming languages such as Visual Basic, C#, and Visual C++. o NET services: Microsoft is coming up with its own set of Web services, known as My Services. These services are based on the Microsoft Passport Authentication service, the same service that is used in Hotmail. 17
ADO.NET
Is a model used by Visual Basic .NET applications to communicate with a database for retrieving, accessing, and updating data? Uses a structured process flow to interact with a database.
Evolution of ADO.NET The first data access model, DAO (data access model) was created for local databases with the built-in Jet engine which had performance and functionality issues. Next came RDO (Remote Data Object) and ADO (Active Data Object) which were designed for Client Server architectures but soon ADO took over RDO. ADO was a good architecture but as the language changes so is the technology within it. With ADO, all the data is contained in a 19
record set object which had problems when implemented on the network (Internet) and penetrating firewalls. ADO was a connected data access which means that when a connection to the database is established the connection remains open until the application is closed, which raises concerns about database security and network traffic. And also as databases are becoming increasingly important and as they are serving more people a connected data access model makes us think about its use. For example, an application with connected data access may do well when connected to two clients, the same may do poorly when connected to 10 and might be unusable when connected to 100 or more. Also, open database connections use system resources to a maximum extent making the system performance less effective.
Why ADO.NET?
To cope up with some of the problems mentioned above, ADO.NET came into existence. ADO.NET addresses the above mentioned problems by maintaining a disconnected database access model which means that when an application interacts with the database the connection is opened to serve the request of the application and is closed as soon as the request is completed. Likewise if a database is updated, the connection is opened long enough to complete the Update operation and is closed. By keeping connections open for only a minimum period of time ADO.NET conserves system resources and provides maximum security for databases and also has less impact on system performance. Also, ADO.NET when interacting with database uses XML by converting all the data into XML and using it for database related operations making them more efficient.
Features of ADO.NET
Disconnected data architecture Applications connect to the database only while retrieving and updating data. Data cached in datasets ADO.NET is based on a disconnected data structure. Therefore, the data is retrieved and stored in datasets. Data transfer in XML format ADO.NET uses XML for transferring information from a database into a dataset and from the dataset to another component. 20
21
o Is used to retrieve data from a data source in a read-only and forward-only mode. o Stores a single row at a time in the memory. o Commonly used methods: Read() Close() NextResult() Dataset o Is a disconnected, cached set of records that are retrieved from a database. o Is present as a DataSet class in the System.Data namespace. o Has its own object model.
22
23
24
DEFINING A SYSTEM
A collection of components that work together to realize some objective forms a system. Basically there are three major components in every system, namely input, processing and output. In a system the different components are connected with each other and they are interdependent. For example, human body represents a complete natural system. We are also bound by many national systems such as political system, economic system, educational system and so forth. The objective of the system demands that some output is produced as a result of processing the suitable inputs.
25
26
The Different Phases Of Software Development Life Cycle Are Shown Below.
PRELIMINARY INVESTIGATION DETERMINATION OF REQUIREMENTS DEVELOPMENT OF PROTOTYPE SYSTEM DESIGN OF SYSTEM
SYSTEM IMPLEMENTATION
FIG: SHOWING GENERAL LIFE CYCLE PROCESS AND PERCENTAGE OF TIME DEVOTED
27
A system analysis is a separation of a substance into parts for study and their implementation and detailed examination. Before designing any system it is important that the nature of the business and the way it currently operates are clearly understood. The detailed examination provides the specific data required during designing in order to ensure that all the client's requirements are fulfilled. The investigation or the study conducted during the analysis phase is largely based on the feasibility study. Rather it would not be wrong to say that the analysis and feasibility phases overlap. High-level analysis begins during the feasibility study. Though analysis is represented as one phase of the system development life cycle (SDLC), this is not true. Analysis begins with system initialization and continues until its maintenance. Even after successful implementation of the system, analysis may play its role for periodic maintenance and up gradation of the system. One of the main causes of project failures is inadequate understanding, and one of the main causes of inadequate understanding of the requirements is the poor planning of system analysis. Analysis requires us to recall the objectives of the project and consider following three questions: What type of information is required? What are the constraints on the investigation? What are the potential problems that may make the task more difficult?
28
29
Transaction System:
A transaction is a record of some well-defined single and usually small occurrence in a system. Transactions are input into the computer to update the database files. It checks the entering data for its accuracy. This means that numeric data appears in numeric field and character data in character field. Once all the checks are made, transaction is used to update the database. Transaction can be inputted in on-line mode or batch mode. In on-line mode, transactions are entered and updated into the database almost instantaneously. In batch mode, transactions are collected into batches, which may be held for a while and inputted later.
30
A Complete Structure:
The limited time and resources have restricted us to incorporate, in this project, only the main activities that are performed in news sites, but utmost care has been taken to make the system efficient and user friendly. For the optimum use of practical time it is necessary that every session is planned. Planning of this project will include the following things: Topic Understanding. Modular Break Up of the System. Processor Logic for Each Module. Database Requirements.
Topic Understanding:
It is vital that the field of application as introduced in the project may be totally a new field. So as soon as the project was allocated to me, I carefully went through the project to identify the requirements of the project.
31
Modular Break Up of the System: Identify The Various Modules In The System. List Them In The Right Hierarchy. Identify Their Priority Of Development Description Of The Modules:
32
33
The final deliverable from system analysis is a document containing an unambiguous statement of the client's requirements from the new system and what the development project will have to deliver in order to be considered a success. The functional specification is the starting point for designing, which depends to a large extent on the accuracy and thoroughness with which the analysis has been carried out. Understanding of the business, appreciation of the client's problems and documentation of requirements provide the foundation on which the designing is based. A key factor in this approach is the use of the structured techniques. Analysis ends with a description of what the new system must do to fulfill the requirements of the organization, while design specifies how this will be done by selecting one of the many ways of doing it.
ANALYSIS
Describing WHAT the System will do?
The gap
The structured techniques used during the analysis which provide this logical view are: Data flow diagrams - representing the process, which manipulate the data as it passes through the system. Entity model - showing the relationship within the data items held within the system. A data dictionary - providing an overall consistent definition of the data used during the system development. This definition includes the content of the data stores, data flows and the process shown on the data flow diagrams, and the entities that make up the entity model. 34
Maintainable A good design is easy to maintain and this reduces the client's maintenance cost, which usually represents a proportion of the lifetime of the system. Portable A client for whom the software was developed may wish to change the hardware on which the system run. A good design is portable - in other words it is capable of being transferred from one machine environment to another with minimum amount of effort. Easy to use With increasing number of general users having exposure to computers and access to web sites, expectations of computer applications in term of their ease of use are also increasing. A good design will result in a system which is `user - friendly' - easy to understand, not difficult to learn how to use and straightforward to operate. Reliable The system designed must be secure against human error, deliberate misuse or machine failure, and which the data will be stored without corruption.
35
User Table
Field Name User id User Name Password Email Address Phone Type Char (30) Char (30) Char (30) Char (30) Char (30) Numeric Constrains Primary key Not Null Not Null Not Null Not Null Not Null
ADMIN TABLE
Field Name User name Password Type Char (30) Char (30) Constrains Primary key Not Null
COURIER TABLE
Field Name Reg. No. Shipper Name S Address S Phone S Email Receiver Name R Address R Phone No. Type Char (30) Char (30) Char (50) Numeric Char (30) Char (30) Char (30) Numeric 36 Constrains Primary Key Not Null Not Null Not Null Not Null Not Null Not Null Not Null
Char (30) Numeric Char (30) Numeric Date/ Time Date/ Time Numeric
Not Null Not Null Not Null Not Null Not Null Not Null Not Null
AGENT TABLE
Field Name Agent_Id Agent Name Address City Phone Type Char (30) Char (30) Char (30) Char (30) Numeric Constrains Primary key Not Null Not Null Not Null Not Null
37
DIMENSION TABLE
Field Name Courier No Length Weight Width Height Piece Type Char (30) Numeric Numeric Numeric Numeric Numeric Constrains Not Null Not Null Not Null Not Null Not Null Not Null
38
DO TABLE
Field Name DONO Courier_id Pieces Origin Destination Amount Paid Weight Remark Type Char (30) Char (30) Char (30) Char (30) Char (30) Numeric Numeric Char (100) Constrains Primary Key Not Null Not Null Not Null Not Null Not Null Not Null Not Null
SEGREGATION TABLE (Registers all discrepancies in shipments and record of action steps taken thereafter)
Field Name Courier Id Origin Destination Descrep Detail Action Tkn Type Char (30) Char (30) Char (30) Char (100) Char (100) Constrains Not Null Not Null Not Null Not Null Not Null
39
40
Customer
Books Courier
Forwar d Na me Branch Id Consignment No Date Id Delivery Slip ID Shipping Branch 1 Addr ess City
Delive rs To
Shippe d To
41
1. ADMIN
2. Customer
3. Agent
6. Delivery Module
5. Booking
7. Shipping
42
USER
Not Validated
Not Validated
43
Customer
Customer data
Update Date
Customer
Screen / Print
44
Agent data
Update Date
Agent
Screen | Print
45
Branch data
Update Date
Branch
Screen | Print
46
Customer
Bill
5.3 Shipped
47
48
1.6. Reconciliation Module This module comes into effect at Destination stage there. All Courier is checked as per the manifest and all discrepancies like pilferage, tear and wear etc. are noted. All shipments which are received in good condition are kept in warehouse. 1.7 Courier Arrival Notification Module
A Courier Arrival Notice is send to Consignees of all shipments which were received in good condition from Origin Station using this module. 1.8 Courier Delivery Module
That entire Courier, which is lying at Import Warehouse of a station and bears no discrepancy, can be delivered to Consignee. At this stage, Courier is delivered to consignee or its authorized agent using a Delivery Challan, and amount pertaining to shipment, if any, is collected from them. 1.9 Bill Status Module
Using this module, we can display the whole Consignment Note. It shows all details of a Bill and its current status. 1.10 Dimensions Module.
This module contains dimensions of all pieces of each consignment. As weight of each piece matters, likewise volume of each piece is also required because we have to accommodate shipment into the aircrafts, railways. 1.11 Discrepancies Module.
When shipment reaches destination, Courier check is done under Reconciliation Module. Any discrepancy found there is registered under Discrepancy Module and a report is sent to Origin Station for further action. All shipments which lies under discrepancy list, are not delivered to consignee or its authorized agent until the discrepancy is solved.
49
COMPLETE STRUCTURE:
The limited time and resources have restricted us to incorporate, in this project, only the main activities that are performed in Courier Company, but utmost care has been taken to make the system efficient and user friendly. For the optimum use of practical time it is necessary that every session is planned. Planning of this project will include the following things: Topic Understanding. Modular Break Up of the System. Processor Logic for Each Module. Database Requirements. Topic Understanding: It is vital that the field of application as introduced in the project may be totally a new field. So as soon as the project was allocated to me, I carefully went through the project to identify the requirements of the project. Modular Break Up of the System: Identify The Various Modules In The System. List Them In The Right Hierarchy. Identify Their Priority Of Development Description Of The Modules:
50
Bill Generation
input data to request a booking A new AWB is created or existing AWB gets updated. Bill is ready to be planned for loading
Pre
All finalised Bills are available at warehouse for planning Process Bills are selected on basis of destination and priority Output A Pre-Manifest is generated for load planning
Manifestation
Manifest
Input Proces s
Pre Manifest report after loading on transport Offloaded Courier is eliminated from Pre Manifest and rest Courier is finalised and Manifest report is generated. Output Manifest report is sent to Destination. Input Proces s Output Manifest report for a particular area Courier is checked physically and any discrepancy is registered and informed to Origin Station. Segregation report of received Courier.
Segregation
Input
Shipments which are received at Destination without any discrepancy. Proces A notice is prepared to be sent to Consignee to s inform them to collect their Courier. Output Courier Arrival Notice. CAN
51
Input
All Bills which bears no discrepancy and are related to one Consignee. Process All such Bills are listed, date and time of delivery is noted. Any amount pending on any Bill is also shown in report. Output Delivery Challan Report is generated for record purpose.
Courier Delivery
Input Shipments which are delivered Process Amount of all shipments booked within a particular time period by individual agent or shipper are listed and total amount due on them is shown in list Output CSR is generated and sent to those agents or shippers for releasing payment. Courier Sales Report
52
Report Generation
'Crystal Reports' is a popular third party package that is included with .NET, which allows you to create reports for your application. The package consists of a designer where you can design and test the reports, Crystal Reports API calls and Crystal Report Viewer control. The administrator can generate following reports 1. Report on different Users: This report contains total no. of Users Logged in the system (such as in a day, week, month etc.). 2. Report on Courier Details: This report contains how many couriers booked in the system (such as in a day, week, month etc.). 3. Report on discrepencies listing: This report contains the time taken in delivering courier. 4. Report on tracking couriers: This report contains information about courier from origin to destination. 5. Report on different agencies: This report contains total no. of agencies of a courier company. 6. Report on different transactions: This report contains the total no. of transactions.
53
4. 7. TOOLS/PLATFORM,
REQUIREMENT SPECIFICATIONS:
Tools/Platform used are: FRAMEWORK:- ASP.NET version 2 .0 with C# DATABASE:- SQL Server PLATFORM USED:- Windows XP S/w Requirement specification: .NET framework 2.0 Visual Studio.NET 2005 ASP.NET ADO.NET SQL Server 2005 Visual C#.NET HTML Internet Information Services (IIS) v 5.1 H/w Requirement specification: Pentium 3, 1.5 GHz and above 256 MB DDRAM or more 20 GB HDD Pen Drive 2Gb
o Ease of deployment
Security
Evidence-based security (authentication) Based on user identity and code identity Configurable policies Imperative and declarative interfaces
SQL SERVER
Microsoft SQL Server is an application used to create computer databases for the Microsoft Windows family of server operating systems. It provides an environment used to generate databases that can be accessed from workstations, the web, or other media such as a personal digital assistant (PDA). Microsoft SQL Server is probably the most accessible and the most documented enterprise database environment right now. This also means that you can learn it a little quicker than most other database environments on the market.
55
4.8 SCHEDULING
Scheduling of a software project does not differ greatly from scheduling of any multi- task engineering effort. Therefore, generalized project scheduling tools and techniques can be applied with little modification to software projects. Program evaluation and review technique (PERT) and critical path method (CPM) are two project scheduling methods that can be applied to software development. Both techniques are driven by information already developed in earlier project planning activities.
Estimates of Effort
A decomposition of the product function. The selection of the appropriate process model and task set. Decomposition of tasks.
Interdependencies among tasks may be defined using a task network. Tasks, sometimes called the project Work Breakdown Structure (WBS) are defined for the product as a whole or for individual functions. Both PERT and CPM provide quantitative tools that allow the software planner to (1) determine the critical path-the chain of tasks that determines the duration of the project; (2) establish "most likely" time estimates for individual tasks by applying statistical models; and (3) calculate "boundary times" that define a time window" for a particular task. Boundary time calculations can be very useful in software project scheduling. Slippage in the design of one function, for example, can retard further development of other functions. It describes important boundary times that may be discerned from a PERT or CPM network: (I) the earliest time that a task can begin when preceding tasks are completed in the shortest possible time, (2) the latest time for task initiation before the minimum project completion time is delayed, (3) the earliest finish-the sum of the earliest start 56
and the task duration, (4) the latest finish- the latest start time added to task duration, and (5) the total float-the amount of surplus time or leeway allowed in scheduling tasks so that the network critical path maintained on schedule. Boundary time calculations lead to a determination of critical path and provide the manager with a quantitative method for evaluating progress as tasks are completed.
Both PERT and CPM have been implemented in a wide variety of automated tools that are available for the personal computer. Such tools are easy to use and take the scheduling methods described previously available to every software project manager.
57
58
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2
59
width: 800px; } .style6 { width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 600px; height: 230px; } .style17 { width: 22px; } .style18 { width: 22px; height: 31px; } .style19 { height: 31px;
60
} .style20 { font-size: large; font-weight: bold; font-family: "Times New Roman", Times, serif; color: #333333; } .style22 { font-family: Verdana; font-size: small; color: #333333; } </style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td>
61
</tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> rowspan="5" valign="top">
< table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr> <td class="style18"> </td> <td bgcolor="#FF6600" class="style19">
62
<span class="style20">Welcome to Online Courier, Booking, Distribution and Tracking System </span></td> </tr> <tr> <td class="style17"> </td> <td> <span class="style22"> <br /> Online Courier, Booking, Distribution and Tracking System operates a cost effective collection and delivery service available throughout the India and India mainland. Through our various delivery partners we are able to offer high levels of service backed up by our dedicated customer service team, based at our head office.</span><br /> </td> </tr> <tr> <td class="style17"> </td> <td> <asp:Image ID="Image1" runat="server" ImageUrl="~/Image/courier.bmp" Width="575px" /> </td> </tr> /table>
63
width="200"> nbsp;</td>
asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink>
width="200"> nbsp;</td>
width="200">
table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/PostCodeAndAddressFinder.aspx" ForeColor="#333333">Postcode and address finder</asp:HyperLink> </td> </tr> <tr>
64
<td> <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/CourierTracking.aspx" ForeColor="#333333">Track your courier here</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Feedback.aspx" ForeColor="#333333">Leave feedback</asp:HyperLink> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td>
65
</tr> </table> </td> </tr> /table> < </td> </tr> <tr> <td width="200"> nbsp;</td> nbsp;</td> <td> & &
</tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
66
67
Aboutus.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AboutUs.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6
68
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 500px; border: 1px solid #EFEFEF; } .style19 { width: 500px; border-color: #E8E8E8; } .style20 { height: 17px; } .style25 { font-size: x-large; font-weight: bold; color: #800000; height: 31px; }
69
</style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td>
70
<asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> rowspan="6" valign="top">
< table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr> <td> </td> <td> </td> </tr> <tr bgcolor="#0099FF"> <td class="style25" colspan="2" bgcolor="#F1AC1D"> About Us</td> </tr>
71
<tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style19"> <tr> <td colspan="2"> <ul> <li>Online Courier, Booking, Distribution and Tracking System operates a cost effective collection and delivery service available throughout the India and India mainland. Through our various delivery partners we are able to offer high levels of service backed up by our dedicated customer service team, based at our head office.<br /> </li> <li>Praveen kumar<br /> A-2, A/82,<br /> Type -II, Telecom Colony<br /> Janakpuri, New Delhi<br /> 110058 <br /> </li> </ul> </td> </tr> <tr> <td> </td> <td>
72
</td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> /table>
< </td> </tr> <tr> <td & </tr> <tr> <td <
width="200"> nbsp;</td>
asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink>
width="200"> nbsp;</td>
width="200">
73
<span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12"> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink4" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Postcode and address finder</asp:HyperLink> </tr> <tr> <td> <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> < </td> </tr>
74
<td <
</tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
75
Contactus.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ContactUs.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6
76
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 500px; border: 1px solid #EFEFEF; } .style19 { width: 500px; border-color: #E8E8E8; } .style20 { height: 17px; } .style25 { font-size: x-large; font-weight: bold; color: #800000; height: 31px; }
77
.style26 { color: #FF0000; font-weight: bold; } </style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9">
78
<tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> rowspan="6" valign="top"> < </td> <td < table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr> <td> </td> <td> </td> </tr> <tr bgcolor="#0099FF"> <td class="style25" colspan="2" bgcolor="#F1AC1D">
79
Contact Us</td> </tr> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style19"> <tr> <td colspan="2"> <p> </p> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td class="style26"> Balujalabs</td> <td height="150" rowspan="6" valign="top" width="150"> </td> </tr> <tr> <td> A-1/17,III Floor,Janak Puri,</td> </tr> <tr> <td> New Delhi</td>
80
</tr> <tr> <td> Mobile : 9313565406,9212002599</td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table> </td> </tr> /table> < </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < &
bgcolor="#0099FF" class="style13" width="200"> asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink> h </td> </tr> <tr> <td width="200">
81
&
width="200">
table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Post code and address finder</asp:HyperLink> </tr> <tr> <td> <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink4" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> </td> </tr>
82
</tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
Register.aspx
83
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; height: 733px; }
84
.style6 { width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 600px; height: 386px; } .style15 { width: 536px; } .style16 { height: 45px; font-weight: bold; color: #666666; font-size: large; } .style17 { height: 65px; font-weight: bold; font-size: x-large; color: #333333; } .style18 { height: 40px; font-weight: bold; font-size: medium; color: #FFFFFF;
85
} .style21 { text-align: left; font-size: small; font-family: Verdana; font-weight: bold; color: #666666; } .style22 { font-size: small; font-family: Verdana; font-weight: bold; color: #666666; } .style23 { width: 800px; font-weight: bold; } .style24 { color: #FFFFFF; font-size: medium; } .style25 { color: #FF0000; } .style26 { font-size: small; } </style> </head> <body> <form id="form1" defaultfocus ="TextBox1" defaultbutton="Button1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr>
86
<td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr> <td>
<tr>
<
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr>
87
< table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style15"> <tr> <td class="style16"> Register for Online cbdt</td> </tr> <tr> <td bgcolor="#F2BB15" class="style17"> Sign up for your Online Courier, Booking, Distribution & Tracking System account</td> </tr> <tr> <td> <table align="center" bgcolor="#EFEFEF" cellpadding="0" cellspacing="0" class="style15"> <tr> <td bgcolor="#0099FF" class="style18" colspan="2"> Please Enter Your Details Below</td> </tr>
88
<tr> <td> </td> <td style="text-align: right"> <span class="style25">*</span><span class="style26">Mandatory Fields</span></td> </tr> <tr> <td class="style22"> Email :<span class="style25">*</span> </td> <td> <asp:TextBox ID="TextBox1" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" Display="None" ErrorMessage="Invalid Email Id" SetFocusOnError="True">*</asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox1" Display="None" ErrorMessage="Invalid Email Id" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+ ([-.]\w+)*">*</asp:RegularExpressionValidator> </td> </tr> <tr> <td class="style22"> Password :<span class="style25">*</span></td> <td>
89
<asp:TextBox ID="TextBox8" runat="server" Width="150px" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox8" Display="None" ErrorMessage="Invalid Password" SetFocusOnError="True">*</asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox8" Display="None" ErrorMessage="Password should be 6-12 characters" ValidationExpression="\S{6,12}">*</asp:RegularExpressionValidator> </td> </tr> <tr> <td class="style22"> Confirm Password :<span class="style25">*</span></td> <td style="text-align: left"> <asp:TextBox ID="TextBox3" runat="server" Width="150px" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBox3" Display="None" ErrorMessage="Password does not match" SetFocusOnError="True">*</asp:RequiredFieldValidator> <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox8" ControlToValidate="TextBox3" Display="None" ErrorMessage="Password does not match" SetFocusOnError="True">*</asp:CompareValidator> </td> </tr> <tr>
90
<td class="style21"> Contact Name :<span class="style25">*</span></td> <td> <asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4" Display="None" ErrorMessage="Enter Contact Name" SetFocusOnError="True">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style21"> Telephone/Mob No.</span><span class="style25">*</span></td> <td> <asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5" Display="None" ErrorMessage="Enter Telephone/Mob No." SetFocusOnError="True">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style21"> Security Question :<span class="style25">*</span></td> <td> <asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox>
91
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox6" Display="None" ErrorMessage="Enter Security Question" SetFocusOnError="True">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style21"> Security Answer :<span class="style25">*</span></td> <td> <asp:TextBox ID="TextBox7" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox7" Display="None" ErrorMessage="Enter Security Answer" SetFocusOnError="True">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td> <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List" ShowMessageBox="True" ShowSummary="False" /> </td> <td> <asp:Label ID="Label1" runat="server" Font-Bold="True" FontSize="Small" ForeColor="#000099"></asp:Label> </td> </tr>
92
<tr> <td> </td> <td> <asp:Button ID="Button1" runat="server" Font-Bold="True" ForeColor="#666666" Text="Create User" onclick="Button1_Click" /> </td> </tr> </table> </td> </tr> </table> </td> </tr> /table>
< </td> </tr> <tr> <td & </tr> <tr> <td <
width="200"> nbsp;</td>
asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink>
width="200"> nbsp;</td>
93
width="200">
<td <
table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink4" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Post code and address finder</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> </td> </tr>
94
< </td> </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> </table> </td> </tr> <tr>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
95
<td> <td>
</td>
</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style23"> <tr> <td bgcolor="#0099FF" class="style24" height="10" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html> using using using using using using using using using using using using
Administrativeregister.aspx.cs
System; System.Configuration; System.Data; System.Data.SqlClient ; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; System.Xml.Linq;
96
protected void Page_Load(object sender, EventArgs e) { con = new SqlConnection(ConfigurationManager.AppSettings["mycon"]); } protected void Button1_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("Insert into UserRegistration values(@Email,@Password,@ContactName,@ContactNo,@SecurityQuestion,@Se curityAnswer)", con); SqlParameter pa1 = new SqlParameter("@Email", DbType.String); pa1.Value = TextBox1.Text; cmd.Parameters.Add(pa1); SqlParameter pa2 = new SqlParameter("@Password", DbType.String); pa2.Value = TextBox8.Text; cmd.Parameters.Add(pa2); SqlParameter pa3 = new SqlParameter("@ContactName", DbType.String); pa3.Value = TextBox4.Text; cmd.Parameters.Add(pa3); SqlParameter pa4 = new SqlParameter("@ContactNo", DbType.String); pa4.Value = TextBox5.Text; cmd.Parameters.Add(pa4); SqlParameter pa5 = new SqlParameter("@SecurityQuestion", DbType.String); pa5.Value = TextBox6.Text; cmd.Parameters.Add(pa5); SqlParameter pa6 = new SqlParameter("@SecurityAnswer", DbType.String); pa6.Value = TextBox7.Text; cmd.Parameters.Add(pa6); con.Open(); try { cmd.ExecuteNonQuery(); con.Close(); Label1.Text = "You are successfully registered!"; TextBox1.Text = ""; TextBox3.Text = ""; TextBox4.Text = ""; TextBox5.Text = ""; TextBox6.Text = ""; TextBox7.Text = ""; TextBox8.Text = ""; } catch (Exception ex) { Response.Write(ex.Message); } } }
97
Adminlogin.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminLogin.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6
98
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 509px; border: 1px solid #EFEFEF; height: 212px; } .style20 { height: 17px; } .style19 { width: 311px; border-color: #E8E8E8; } .style21 { font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; color: #666666;
99
} .style23 { font-family: Arial, Helvetica, sans-serif; font-size: small; } .style25 { color: #333333; font-weight: bold; font-size: x-large; } .style26 { height: 199px; } </style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left">
100
Login</td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> rowspan="7" valign="top">
101
Administration Login</td> </tr> <tr> <td class="style26"> <asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="1" BackColor="#F7F6F3" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" Height="187px" style="textalign: right" Width="534px"> <StepStyle BorderWidth="0px" ForeColor="#5D7B9D" /> <WizardSteps> <asp:WizardStep runat="server" title="Head Office Login"> <table align="center" cellpadding="0" cellspacing="0" class="style19"> <tr> <td> </td> <td> </td> </tr> <tr> <td class="style21" style="text-align: right"> Admin Id: </td> <td> <asp:TextBox ID="TextBox1" runat="server" Width="150px"></asp:TextBox> </td> </tr>
102
<tr> <td class="style21" style="text-align: right"> </td> <td> </td> </tr> <tr> <td style="text-align: right"> <span class="style21">Password :</span><span class="style23"> </span> </td> <td> <asp:TextBox ID="TextBox2" runat="server" TextMode="Password" Width="150px"></asp:TextBox> </td> </tr> <tr> <td style="text-align: right"> </td> <td> </td> </tr> <tr> <td> </td> <td> <asp:Button ID="Button3" runat="server" Font-Bold="True" OnClick="Button3_Click" Text="Login" Width="75px" /> </td>
103
</tr> <tr> <td> </td> <td> <asp:Label ID="Label1" runat="server" Font-Bold="True" FontSize="Small" ForeColor="Red"></asp:Label> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </asp:WizardStep> <asp:WizardStep runat="server" title="Branch Login"> <table align="center" cellpadding="0" cellspacing="0" class="style19"> <tr> <td>
104
</td> <td> </td> </tr> <tr> <td class="style21" style="text-align: right"> Branch Id : </td> <td> <asp:TextBox ID="TextBox3" runat="server" Width="150px"></asp:TextBox> </td> </tr> <tr> <td class="style21" style="text-align: right"> </td> <td> </td> </tr> <tr> <td style="text-align: right"> <span class="style21">Password :</span><span class="style23"> </span> </td> <td> <asp:TextBox ID="TextBox4" runat="server" TextMode="Password" Width="150px"></asp:TextBox> </td> </tr> <tr>
105
<td style="text-align: right"> </td> <td> </td> </tr> <tr> <td> </td> <td> <asp:Button ID="Button2" runat="server" Font-Bold="True" OnClick="Button2_Click" style="margin-left: 0px" Text="Login" Width="85px" /> </td> </tr> <tr> <td> </td> <td> <asp:Label ID="Label2" runat="server" Font-Bold="True" FontSize="Small" ForeColor="Red"></asp:Label> </td> </tr> <tr> <td> </td> <td> </td> </tr>
106
<tr> <td> </td> <td> </td> </tr> </table> </asp:WizardStep> </WizardSteps> <SideBarButtonStyle BorderWidth="0px" Font-Names="Verdana" ForeColor="White" /> <NavigationButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" FontSize="0.8em" ForeColor="#284775" /> <SideBarStyle BackColor="#7C6F57" BorderWidth="0px" Font-Size="0.9em" VerticalAlign="Top" /> <HeaderStyle BackColor="#5D7B9D" BorderStyle="Solid" Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Left" /> </asp:Wizard> </td> </tr> /table> < </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < &
107
Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink> h </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < &
width="200"> table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Postcode and address finder</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr>
108
<tr> <td> <asp:HyperLink ID="HyperLink4" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> </td> </tr> </table> </td> </tr> /table>
< </td> </tr> <tr> <td < </tr> <tr> <td &
</tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center">
109
CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
110
Adminwelcome.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AdminWelcome.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6
111
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 600px; } .style17 { font-size: x-large; font-weight: bold; color: #333333; } .style18 { height: 39px; } .style19 { height: 39px; } .style20 { width: 543px;
112
} .style21 { width: 39px; } </style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9">
113
<tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> <tr> <td> </td> </tr> </table> </td> </tr> /table>
<
</td> <td> < table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr> <td class="style18"> </td> <td bgcolor="#FF6600" class="style19" colspan="2" style="color: #FF6600">
114
<span class="style17"> Welcome Admin</span> </td> </tr> <tr> <td> </td> <td class="style20"> </td> <td> </td> </tr> <tr> <td> </td> <td class="style20"> <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Courier.aspx" Font-Bold="True">Click here for fill courier table</asp:HyperLink> </td> <td> </td> </tr> <tr> <td> </td> <td class="style20"> <asp:HyperLink ID="HyperLink6" runat="server" NavigateUrl="~/Agent.aspx" Font-Bold="True">Click here for fill agent table</asp:HyperLink> </td>
115
asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Click ere for send a courier</asp:HyperLink> rowspan="4" valign="top">
h </td> <td
< table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr> <td class="style21"> </td> p; <asp:HyperLink ID="HyperLink7" runat="server" Font-Bold="True" NavigateUrl="~/CourierOrderDetails.aspx">Click here for Courier Order Details</asp:HyperLink> </td> </tr> <tr> <td class="style21"> </td> <td> <asp:HyperLink ID="HyperLink10" runat="server" Font-Bold="True" NavigateUrl="~/Delivery.aspx">Click here for submit delivery Information</asp:HyperLink>
&nbs
116
</td> </tr> <tr> <td class="style21"> </td> <td> <asp:HyperLink ID="HyperLink11" runat="server" Font-Bold="True" NavigateUrl="~/CourierDeliveryReport.aspx">Click here for Courier Delivery Report</asp:HyperLink> </td> </tr> <tr> <td class="style21"> </td> <td> </td> </tr> <tr> <td class="style21"> </td> <td> </td> </tr> /table> < </td> </tr> <tr> <td class="style22"> nbsp;</td> </tr> <tr> &
117
class="style22"> nbsp;</td>
class="style22">
table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink9" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Post code and address finder</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink8" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track here your courier here</asp:HyperLink> </td> </tr> <tr> <td>
118
<asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Feedback.aspx" ForeColor="#333333">Leave feedback</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> < </td> </tr> <tr> <td class="style22"> nbsp;</td> nbsp;</td> </tr> <tr> <td & <td> nbsp;</td> </tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> & <td> & &
class="style22"> nbsp;</td>
119
<td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reservedine CBDT All Rights Reserved </form> </body> </html>
120
Packagingsupplies.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PackagingSupplies.aspx.cs" Inherits="PackagingSupplies" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking, Distribution and Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-style: solid; border-width: 1px; } .style2 { width: 803px; } .style6 { width: 800px; border-style: solid; border-width: 1px; }
121
.style8 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style12 { height: 20px; } .style13 { width: 286px; color: #333300; height: 38px; } .style14 { font-size: large; font-weight: bold; } .style15 { width: 295px; } .style16 { color: #333333; font-weight: bold; } .style17 { font-size: small; color: #333333; } .style18 { height: 20px; font-weight: bold; color: #333333; } .style19 { width: 200px; height: 32px; } .style20 { width: 200px; height: 18px; } .style21 { height: 18px; } .style22 { width: 793px; font-weight: normal;
122
color: #FFFFFF; } .style23 { height: 18px; width: 336px; } .style24 { width: 336px; } .style25 { width: 200px; height: 4px; } .style26 { width: 281px; } .style27 { width: 290px; float: left; } .style28 { font-size: small; } .style29 { font-weight: bold; background-color: #FFFFFF; } </style> </head> <body> <form id="form1" runat="server"> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td bgcolor="#0099FF" class="style20">
123
<span class="style10"> Login</span> </td> <td class="style21"> <table bgcolor="#FF6600" cellpadding="0" cellspacing="1" class="style13"> <tr> <td> <span class="style14"> Bubble Wrap</span> </td> </tr> </table> </td> <td class="style23"> <table bgcolor="#FF6600" cellpadding="0" cellspacing="1" class="style13"> <tr> <td> <span class="style14"> Packing Tape</span> </td> </tr> </table> </td> </tr> <tr> <td class="style8"> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#333333" NavigateUrl="~/Login.aspx ">Click here to sign in</asp:HyperLink> </td> <td rowspan="9" valign="top"> <table cellpadding="0" cellspacing="0" class="style15"> <tr> <td class="style16"> Roll of Foam Rubber Protection </td> </tr> <tr> <td> <span class="style16">Rs. 39.99 </span></td> </tr> <tr> <td> <asp:Image ID="Image1" runat="server" ImageUrl="~/Image/blackroll.jpg" /> </td> </tr> <tr> <td> </td> </tr> <tr> <td class="style17"> - One roll provides protection for up to 10 laptops</td> </tr> <tr> <td class="style17"> - 25mm thick x 4m long x 1m wide</td> </tr> <tr> <td class="style17">
124
- Ideal for protection and packaging of laptops</td> </tr> </table> </td> <td class="style24" rowspan="9" valign="top"> <table cellpadding="0" cellspacing="0" class="style15"> <tr> <td class="style16"> 36x Brown Packing Tape</td> </tr> <tr> <td class="style18"> Rs. 22.99</td> </tr> <tr> <td> <asp:Image ID="Image2" runat="server" ImageUrl="~/Image/parceltape.jpg" /> </td> </tr> <tr> <td class="style17"> -Very strong, split and tear resistant </td> </tr> <tr> <td class="style17"> -66m x 48cm PER ROLL</td> </tr> </table> </td> </tr> <tr> <td class="style8"> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#333333" NavigateUrl="~/Register.a spx">Click here to Register</asp:HyperLink> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td bgcolor="#0099FF" class="style8"> <asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Click here to send a courier</asp:HyperLink> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr>
125
class="style19">
<td bgcolor="#0099FF"
<span class="style10"> Site Tool</span> </td> </tr> <tr> <td class="style8"> <asp:HyperLink ID="HyperLink4" runat="server" ForeColor="#333333" NavigateUrl="~/OrderPlace Successfully.aspx">Postcode and address finder</asp:HyperLink> </td> </tr> <tr> <td class="style8"> <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTra cking.aspx">Track your courier</asp:HyperLink> </td> </tr> <tr> <td class="style25"> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.a spx">Leave Feedback</asp:HyperLink> </td> </tr> <tr> <td class="style8"> </td> <td rowspan="25" valign="top"> <table align="left" cellpadding="0" cellspacing="0" class="style26"> <tr> <td class="style16"> Roll of Bubble wrap </td> </tr> <tr> <td class="style16"> Rs. 10.99 </td> </tr> <tr> <td> <asp:Image ID="Image3" runat="server" ImageUrl="~/Image/bubblewrap.jpg" /> </td> </tr> <tr> <td class="style17"> -Air-filled bubbles cushion for fragile products </td> </tr> <tr> <td class="style17"> -Length 100m x 300 mm wide</td> </tr> <tr> <td class="style17">
126
-Note: Orders
</td> </tr> <tr> <td class="style16"> 25 x Bubble Bags</td> </tr> <tr> <td class="style16"> Rs. 10.99</td> </tr> <tr> <td> <asp:Image ID="Image5" runat="server" ImageUrl="~/Image/bubblez.jpg" /> </td> </tr> <tr> <td class="style28"> -Bubble cushion bags for fragile products </td> </tr> <tr> <td class="style28"> -350mm x 250mm per roll</td> </tr> <tr> <td class="style28"> -Please note these bags are clear</td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table> </td> <td class="style24" rowspan="25" valign="top"> <table cellpadding="0" cellspacing="0" class="style27"> <tr> <td class="style16"> 36 x Fragile Packing Tape </td> </tr> <tr> <td class="style16">
127
Rs.29.99&nb
<asp:Image ID="Image4" runat="server" ImageUrl="~/Image/fragile.jpg" /> </td> </tr> <tr> <td class="style28"> -Very strong, split and tear resistant </td> </tr> <tr> <td class="style28"> -66m x 48cm PER ROLL</td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td class="style29"> 36 x Clear Packing Tape</td> </tr> <tr> <td class="style29"> Rs. 29.99 </td> </tr> <tr> <td> <asp:Image ID="Image6" runat="server" ImageUrl="~/Image/cleartape.jpg" /> </td> </tr> <tr> <td class="style28"> -Very strong, split and tear resistant </td> </tr> <tr> <td class="style28"> -66m x 48cm PER ROLL</td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr>
128
<tr>
<td> </td>
</td>
</td> </tr> </table> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr>
129
<tr>
<td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> </tr> <tr> <td class="style8"> </td> <td> </td> <td class="style24"> </td> </tr> <tr> <td class="style8"> </td> <td> </td> <td class="style24"> </td>
130
</tr> <tr> <td class="style8"> </td> <td> </td> <td class="style24"> </td> </tr> <tr> <td class="style12" colspan="3"> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style22" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </form> </body> </html>
131
Login2.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login2.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6
132
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 500px; border: 1px solid #EFEFEF; } .style17 { font-size: medium; font-weight: bold; color: #FFFFFF; height: 31px; } .style18 { font-family: Arial, Helvetica, sans-serif; } .style19 { width: 500px; border-color: #E8E8E8; }
133
.style20 { height: 17px; } .style21 { font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; color: #666666; } .style23 { font-family: Arial, Helvetica, sans-serif; font-size: small; } </style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left">
134
Login</td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> rowspan="6" valign="top">
< table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr bgcolor="#0099FF"> <td class="style17"> <span class="style18">Login</span></td> </tr>
135
<tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style19"> <tr> <td> </td> <td> </td> </tr> <tr> <td class="style21" style="text-align: right"> Email Address : </td> <td> <asp:TextBox ID="TextBox1" runat="server" Width="150px"></asp:TextBox> </td> </tr> <tr> <td class="style21" style="text-align: right"> </td> <td> </td> </tr> <tr> <td style="text-align: right"> <span class="style21">Password :</span><span class="style23"> </span> </td>
136
<td> <asp:TextBox ID="TextBox2" runat="server" Width="150px" TextMode="Password"></asp:TextBox> </td> </tr> <tr> <td style="text-align: right"> </td> <td> </td> </tr> <tr> <td> </td> <td> <asp:Button ID="Button1" runat="server" Font-Bold="True" ForeColor="#666666" Text="Login" Width="97px" onclick="Button1_Click" /> </td> </tr> <tr> <td> </td> <td> <asp:Label ID="Label1" runat="server" Font-Bold="True" FontSize="Small" ForeColor="Red"></asp:Label> </td> </tr> <tr>
137
<td> </td> <td> <asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Small" ForeColor="Gray" NavigateUrl="~/Register.aspx">New User Signup</asp:HyperLink> </td> </tr> <tr> <td> </td> <td> <asp:HyperLink ID="HyperLink5" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Small" ForeColor="Gray" NavigateUrl="~/ForgetPassword.aspx">Forget Password</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> < </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < &
138
Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink> h </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < &
width="200"> table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Postcode and address finder</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink7" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr>
139
<tr> <td> <asp:HyperLink ID="HyperLink8" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> </td> </tr> </table> </td> </tr> /table>
</tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table>
140
Adminlogin2.cs
using using using using using using using using using using using using System; System.Configuration; System.Data; System.Data.SqlClient ; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; System.Xml.Linq;
public partial class _Default : System.Web.UI.Page { SqlConnection con; protected void Page_Load(object sender, EventArgs e) { con = new SqlConnection(ConfigurationManager.AppSettings["mycon"]); } protected void Button1_Click(object sender, EventArgs e) { SqlDataAdapter da = new SqlDataAdapter("Select * from UserRegistration where Email='" + TextBox1.Text + "' and Password='" + TextBox2.Text + "'", con); DataSet ds = new DataSet(); da.Fill(ds); if (ds.Tables[0].Rows.Count == 0) { Label1.Text = "Invalid email id & password!"; } else { } } }
141
Send_a_parcel.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Send_a_Parcel.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6
142
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 600px; } .style17 { height: 19px; } .style21 { height: 44px; font-weight: bold; font-size: x-large; font-family: Arial; } .style22 { color: #666666; } .style23 {
143
height: 29px; } .style24 { font-size: large; color: #FFFFFF; font-family: Arial; } .style25 { height: 30px; font-weight: bold; font-size: large; font-family: Arial; color: #FFFFFF; } .style26 { color: #666666; font-weight: bold; text-align: right; width: 232px; } .style28 { height: 19px; width: 232px; font-weight: bold; text-align: right; color: #666666; } .style29 { font-weight: normal; } .style30 { height: 30px; font-size: large; font-family: Arial; color: #FFFFFF; } .style31 { height: 44px; font-weight: bold; font-size: x-large; font-family: Arial; width: 23px; } .style32 { width: 23px; } .style33 { height: 30px; font-weight: bold; font-size: large; font-family: Arial; color: #FFFFFF; width: 23px; }
144
.style34 { color: #666666; font-weight: bold; text-align: right; width: 23px; } .style35 { height: 29px; width: 23px; } .style36 { height: 30px; font-size: large; font-family: Arial; color: #FFFFFF; width: 23px; } .style37 { height: 19px; width: 23px; font-weight: bold; text-align: right; color: #666666; } .style38 { color: #FF0000; } .style39 { font-size: small; } </style> </head> <body> <form id="form1" defaultfocus ="TextBox1" defaultbutton ="Button1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" />
145
</td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr> <td>
<
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table>
146
</td> </tr> /table> rowspan="21" valign="top" colspan="4"> table align="center" cellpadding="0" cellspacing="0" class="style16" bgcolor="White"> <tr> <td bgcolor="White" class="style31"> </td> <td bgcolor="#FF6600" class="style21" colspan="2"> <span class="style22">Place My Order</span></td> </tr> <tr> <td class="style32"> </td> <td colspan="2"> </td> </tr> <tr> <td bgcolor="White" class="style33"> </td> <td bgcolor="#0099FF" class="style25" colspan="2"> <span class="style29">My Details</span></td> </tr> <tr> <td class="style32"> </td> <td colspan="2" style="text-align: right"> < </td> <td <
147
<span class="style38">*</span><span class="style39">Mandatory fields</span></td> </tr> <tr> <td class="style34"> </td> <td class="style26"> Your Name :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" Display="None" ErrorMessage="Enter Your Name">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style34"> </td> <td class="style26"> Your Courier ID :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox2" runat="server" ReadOnly="True"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2" Display="None" ErrorMessage="nter Your eBay id">*</asp:RequiredFieldValidator> </td> </tr> <tr>
148
<td class="style34"> </td> <td class="style26"> Your Email Address :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="TextBox3" Display="None" ErrorMessage="Enter Your email id">*</asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox3" Display="None" ErrorMessage="Invalid email id" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+ ([-.]\w+)*">*</asp:RegularExpressionValidator> </td> </tr> <tr> <td class="style32"> </td> <td colspan="2"> </td> </tr> <tr> <td bgcolor="White" class="style35"> </td> <td bgcolor="#0099FF" class="style23" colspan="2"> <span class="style24">Collection/Destination</span></td> </tr> <tr>
149
<td class="style32"> </td> <td colspan="2"> </td> </tr> <tr> <td class="style34"> </td> <td class="style26"> Origin :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4" Display="None" ErrorMessage="Enter the orgin">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style34"> </td> <td class="style26"> Destination :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5" Display="None" ErrorMessage="Enter the destination">*</asp:RequiredFieldValidator> </td>
150
</tr> <tr> <td class="style32"> </td> <td colspan="2"> </td> </tr> <tr> <td bgcolor="White" class="style36"> </td> <td bgcolor="#0099FF" class="style30" colspan="2"> My Parcel Details</td> </tr> <tr> <td class="style32"> </td> <td colspan="2"> </td> </tr> <tr> <td class="style34"> </td> <td class="style26"> Parcel Quantity :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
151
ControlToValidate="TextBox6" Display="None" ErrorMessage="Enter the quantity">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style37"> </td> <td class="style28"> Weight :<span class="style38">*</span></td> <td class="style17"> <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox7" Display="None" ErrorMessage="Enter the weight">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style34"> </td> <td class="style26"> Length :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBox8" Display="None" ErrorMessage="Enter the length">*</asp:RequiredFieldValidator> </td> </tr> <tr>
152
<td class="style34"> </td> <td class="style26"> Width :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="TextBox9" Display="None" ErrorMessage="Enter the width">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style34"> </td> <td class="style26"> Height :<span class="style38">*</span></td> <td> <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="TextBox10" Display="None" ErrorMessage="Enter the height">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style34"> </td> <td class="style26"> My measurements are given in :<span class="style38">*</span></td>
153
<td> <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"> <asp:ListItem>cms</asp:ListItem> <asp:ListItem>inches</asp:ListItem> </asp:RadioButtonList> </td> </tr> /table> < </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td & < &
bgcolor="#0099FF" class="style13" width="200"> nbsp; asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Click ere to send a courier</asp:HyperLink>
width="200"> nbsp;</td>
width="200">
table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr>
154
<tr> <td class="style12"> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Postcode and address finder</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track my courier</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Feedback.aspx" ForeColor="#333333">Leave feedback</asp:HyperLink> </td> </tr> </table> </td> </tr> /table>
155
width="200"> nbsp;</td>
<td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200">
156
&
width="200"> nbsp;</td>
& </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & <td & </tr> <tr> <td & <td> &
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
<td>
& nbsp; &nbs p; & nbsp; &nbs p; & nbsp; &nbs p; < asp:Button ID="Button1" runat="server" Font-Bold="True"
157
asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False" /> </td> <td> & </tr> <tr> <td & <td & </tr> </table> </td> </tr> </table>
nbsp;</td>
</td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reservedhts Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
Send_a_parcel.cs
using System; using System.Configuration;
158
using using using using using using using using using using
System.Data; System.Data.SqlClient ; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; System.Xml.Linq;
public partial class _Default : System.Web.UI.Page { SqlConnection con; protected void Page_Load(object sender, EventArgs e) { if (Session["Login"] != "Yes") { Response.Redirect("Login2.aspx"); } con = new SqlConnection(ConfigurationManager.AppSettings["mycon"]); SqlDataAdapter da = new SqlDataAdapter("Select * from SendParcel", con); DataSet ds = new DataSet(); da.Fill(ds); int id = ds.Tables[0].Rows.Count; id++; TextBox2.Text = id.ToString(); } protected void Button1_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("Insert into SendParcel values(@Name,@Ebay,@Email,@Orgin,@Destination,@Quant,@Weight,@Length, @Width,@Height,@Measurements,@Date,@CourierPickedFromSource)", con); SqlParameter pa1 = new SqlParameter("@Name", DbType.String); pa1.Value = TextBox1.Text; cmd.Parameters.Add(pa1); SqlParameter pa2 = new SqlParameter("@Ebay", DbType.String); pa2.Value = TextBox2.Text; cmd.Parameters.Add(pa2); SqlParameter pa3 = new SqlParameter("@Email", DbType.String); pa3.Value = TextBox3.Text; cmd.Parameters.Add(pa3); SqlParameter pa4 = new SqlParameter("@Orgin", DbType.String); pa4.Value = TextBox4.Text; cmd.Parameters.Add(pa4); SqlParameter pa5 = new SqlParameter("@Destination", DbType.String); pa5.Value = TextBox5.Text; cmd.Parameters.Add(pa5); SqlParameter pa6 = new SqlParameter("@Quant", DbType.Int32); pa6.Value = TextBox6.Text; cmd.Parameters.Add(pa6); SqlParameter pa7 = new SqlParameter("@Weight", DbType.Int32 ); pa7.Value = TextBox7.Text; cmd.Parameters.Add(pa7); SqlParameter pa8 = new SqlParameter("@Length", DbType.Int32 ); pa8.Value = TextBox8.Text;
159
cmd.Parameters.Add(pa8); SqlParameter pa9 = new SqlParameter("@Width", DbType.Int32); pa9.Value = TextBox9.Text; cmd.Parameters.Add(pa9); SqlParameter pa10 = new SqlParameter("@Height", DbType.Int32); pa10.Value = TextBox10.Text; cmd.Parameters.Add(pa10); SqlParameter pa11 = new SqlParameter("@Measurements", DbType.String); pa11.Value = RadioButtonList1.SelectedItem.Text; cmd.Parameters.Add(pa11); SqlParameter pa12 = new SqlParameter("@Date", DbType.String ); pa12.Value = System.DateTime.Now.ToString(); cmd.Parameters.Add(pa12); SqlParameter pa13 = new SqlParameter("@CourierPickedFromSource", DbType.String); pa13.Value = "No"; cmd.Parameters.Add(pa13); con.Open(); cmd.ExecuteNonQuery(); con.Close(); Response.Redirect("OrderPlaceSuccessfully.aspx");
} }
Couriertracking.aspx
160
<%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6 { width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14
161
} .style15 { color: #FFFFFF; } .style16 { width: 600px; height: 176px; } .style17 { color: #666666; font-weight: bold; } .style18 { height: 40px; } .style19 { font-size: x-large; font-weight: bold; } .style20 { color: #333333; } .style21 { height: 200px; } .style22 { width: 591px; height: 52px; } </style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr>
162
<td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> <
163
</tr> </table> </td> </tr> /table> rowspan="5" valign="top"> < </td> <td < table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr> <td bgcolor="#FF6600" class="style18" colspan="2"> <span class="style19"> <span class="style20">Courier Tracking</span></span> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td colspan="2"> <p class="style17"> If you know your Courier Id, please enter the Courier Id below depending on the Courier that picked up your Parcel. If you are unsure of the Courier then please see your Email Confirmation.</p> </td> </tr> <tr> <td style="text-align: right"> </td> <td>
164
</td> </tr> <tr> <td style="text-align: right"> <span class="style17">Enter Courier Id:</span> </td> <td> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> <asp:Button ID="Button1" runat="server" Font-Bold="True" ForeColor="#666666" onclick="Button1_Click" Text="Submit" /> </td> </tr> <tr> <td colspan="2" style="text-align: center"> <asp:Label ID="Label1" runat="server" Font-Bold="False" FontSize="Small"
165
ForeColor="Red"></asp:Label> </td> </tr> <tr> <td colspan="2" style="text-align: center"> <table align="center" cellpadding="0" cellspacing="0" class="style22"> <tr> <td> <asp:DataList ID="DataList1" runat="server" ExtractTemplateRows="True"> <ItemTemplate> <table > <tr ><td bgcolor="#ff6600" width="600"> Courier Details</td></tr> <tr> <table > <tr> <td width="250"> Courier Id</td><td width="450">: %#Eval("CourierId") %></td> </tr> <tr> <td width="250"> %></td> </tr> <tr> <td width="250"> Destination </td><td width="450">: < %#Eval("Destination") %></td> </tr> <tr> <td width="250"> Branch Id </td><td width="450">: < %#Eval("BranchId") %></td> Source </td><td width="450">: <%#Eval("Source") <
166
</tr> <tr> <td width="250"> Branch Name </td><td width="450">: < %#Eval("BranchName") %></td> </tr> <tr> <td width="250"> Branch Contact No. </td><td width="450">: < %#Eval("BranchContactNo") %></td> </tr> <tr> <td width="250"> Branch Address </td><td width="450">: < %#Eval("BranchAddress") %></td> </tr> <tr> <td width="250"> </tr> <tr> <td width="250"> Delivery Status </td><td width="450">: < %#Eval("Status") %></td> </tr> </table> </tr> </table> Date </td><td width="450">: <%#Eval("Date") %></td>
167
/table>
&
bgcolor="#0099FF" class="style13" width="200"> asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink> h </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < & <
width="200" class="style21"> table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Postcode and address finder</asp:HyperLink> </td>
168
</tr> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/Feedback.aspx" ForeColor="#333333">Leave feedback</asp:HyperLink> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr>
169
<td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> </table> </td> </tr> /table> < </td> </tr> <tr>
170
width="200"> nbsp;</td>
nbsp;</td>
</tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
Courirer tracking.aspx.cs
using using using using using using using using using using using using
System; System.Configuration; System.Data; System.Data.SqlClient ; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; System.Xml.Linq;
171
public partial class _Default : System.Web.UI.Page { SqlConnection con; protected void Page_Load(object sender, EventArgs e) { if (Session["Login"] != "Yes") { Response.Redirect("Login1.aspx"); } con = new SqlConnection(ConfigurationManager.AppSettings["mycon"]); } protected void Button1_Click(object sender, EventArgs e) { SqlDataAdapter da = new SqlDataAdapter("Select top 1 * from CourierTable where CourierId='"+TextBox1 .Text +"' order by Date desc", con); DataSet ds = new DataSet(); da.Fill(ds); if (ds.Tables[0].Rows.Count != 0) { DataList1.ExtractTemplateRows = false; DataList1.DataSource = ds; DataList1.DataBind(); } else { Label1.Text = "Sorry there are currently no details available for this courier"; } } }
172
Help.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Help.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6 {
173
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 500px; border: 1px solid #EFEFEF; } .style19 { width: 500px; border-color: #E8E8E8; } .style20 { height: 17px; } .style25 { font-size: x-large; font-weight: bold; color: #800000; height: 31px; } .style26
174
</head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr> <td>
175
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> rowspan="6" valign="top">
< table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr> <td> </td> <td> </td> </tr> <tr bgcolor="#0099FF">
176
<td class="style25" colspan="2" bgcolor="#F1AC1D"> Help</td> </tr> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style19"> <tr> <td> </td> </tr> <tr> <td> <ul class="style26"> <li class="style27"> <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/How_It_Works.aspx">How does Online- CBDT work?</asp:HyperLink> </li> <li class="style27"> <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/Report_Failed_Collection.aspx">What happend if driver doesn't collect my parcel?</asp:HyperLink> </li> <li class="style27"> <asp:HyperLink ID="HyperLink7" runat="server" NavigateUrl="~/ContactUs.aspx">How can I contact Online-CBDT?</asp:HyperLink> </li>
177
<li class="style27"> <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/Claim.aspx">What happen if a parcel is lost or damaged during delivery? </asp:HyperLink> </li> <li class="style27"> <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="~/Tips_on_Making_Claim.aspx">Tips on making a claim? </asp:HyperLink> </li> </ul> </td> </tr> </table> </td> </tr> /table>
< </td> </tr> <tr> <td & </tr> <tr> <td <
width="200"> nbsp;</td>
asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink>
width="200"> nbsp;</td>
178
width="200">
table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink10" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Postcode and address finder </asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink11" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr> </table> </td> </tr> /table>
179
<td <
asp:HyperLink ID="HyperLink12" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> /td> < </tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
180
News.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="News.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6
181
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 500px; border: 1px solid #EFEFEF; } .style19 { width: 500px; border-color: #E8E8E8; } .style20 { height: 17px; } .style25 { font-size: x-large; font-weight: bold; color: #800000; height: 31px; }
182
.style26 { list-style-type: square; } .style27 { color: #626262; font-weight: bold; } </style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr>
183
<td> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> rowspan="6" valign="top"> < </td> <td < table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr bgcolor="#0099FF"> <td class="style25" bgcolor="#F1AC1D"> News</td> </tr> <tr> <td>
184
<table align="center" cellpadding="0" cellspacing="0" class="style19"> <tr> <td> </td> </tr> <tr> <td> <ul class="style26"> <li class="style27"> <asp:HyperLink ID="HyperLink4" runat="server" NavigateUrl="~/News1.aspx">Councillors plan meeting over harrow post office</asp:HyperLink> </li> <li class="style27"> <asp:HyperLink ID="HyperLink5" runat="server" NavigateUrl="~/News2.aspx">Investigation expose Royal Mail failure</asp:HyperLink> </li> <li class="style27"> </li> <li class="style27"> </li> <li class="style27"> </li> </ul> </td> </tr> </table> </td>
185
</tr> /table>
< </td> </tr> <tr> <td & </tr> <tr> <td <
width="200"> nbsp;</td>
asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink>
width="200"> nbsp;</td>
width="200">
table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Postcode and address finder</asp:HyperLink>
186
</td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink7" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> < </td> </tr> <tr> <td width="200" class="style20"> asp:HyperLink ID="HyperLink8" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> /td> < </tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <
187
<td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
<tr>
188
Login.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; } .style2 { width: 800px; } .style6 {
189
width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 800px; font-weight: bold; } .style15 { color: #FFFFFF; } .style16 { width: 500px; border: 1px solid #EFEFEF; } .style17 { font-size: medium; font-weight: bold; color: #FFFFFF; height: 31px; } .style18 { font-family: Arial, Helvetica, sans-serif; } .style19 { width: 500px; border-color: #E8E8E8; } .style20
190
height: 17px; } .style21 { font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: bold; color: #666666; } .style23 { font-family: Arial, Helvetica, sans-serif; font-size: small; } </style> </head> <body> <form id="form1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> < table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td>
191
</tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> rowspan="6" valign="top"> < </td> <td < table align="center" cellpadding="0" cellspacing="0" class="style16"> <tr bgcolor="#0099FF"> <td class="style17"> <span class="style18">Login</span></td> </tr>
192
<tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style19"> <tr> <td> </td> <td> </td> </tr> <tr> <td class="style21" style="text-align: right"> Email Address : </td> <td> <asp:TextBox ID="TextBox1" runat="server" Width="150px"></asp:TextBox> </td> </tr> <tr> <td class="style21" style="text-align: right"> </td> <td> </td> </tr> <tr> <td style="text-align: right"> <span class="style21">Password :</span><span class="style23"> </span> </td>
193
<td> <asp:TextBox ID="TextBox2" runat="server" Width="150px" TextMode="Password"></asp:TextBox> </td> </tr> <tr> <td style="text-align: right"> </td> <td> </td> </tr> <tr> <td> </td> <td> <asp:Button ID="Button1" runat="server" Font-Bold="True" ForeColor="#666666" Text="Login" Width="97px" onclick="Button1_Click" /> </td> </tr> <tr> <td> </td> <td> <asp:Label ID="Label1" runat="server" Font-Bold="True" FontSize="Small" ForeColor="Red"></asp:Label> </td> </tr> <tr>
194
<td> </td> <td> <asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Small" ForeColor="Gray" NavigateUrl="~/Register.aspx">New User Signup</asp:HyperLink> </td> </tr> <tr> <td> </td> <td> <asp:HyperLink ID="HyperLink5" runat="server" Font-Bold="True" Font-Names="Arial" Font-Size="Small" ForeColor="Gray" NavigateUrl="~/ForgetPassword.aspx">Forget Password</asp:HyperLink> </td> </tr> </table> </td> </tr> /table> < </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < &
195
Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink> h </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < &
width="200"> table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Postcode and address finder</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink7" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr>
196
<tr> <td> <asp:HyperLink ID="HyperLink8" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> </td> </tr> </table> </td> </tr> /table>
</tr> </table> </td> </tr> <tr> <td> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td bgcolor="#0099FF" class="style15" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table>
197
Login.aspx.cs
using using using using using using using using using using using using System; System.Configuration; System.Data; System.Data.SqlClient ; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; System.Xml.Linq;
public partial class _Default : System.Web.UI.Page { SqlConnection con; protected void Page_Load(object sender, EventArgs e) { con = new SqlConnection(ConfigurationManager.AppSettings["mycon"]); } protected void Button1_Click(object sender, EventArgs e) { SqlDataAdapter da = new SqlDataAdapter("Select * from UserRegistration where Email='" + TextBox1.Text + "' and Password='" + TextBox2.Text + "'", con); DataSet ds = new DataSet(); da.Fill(ds); if (ds.Tables[0].Rows.Count == 0) { Label1.Text = "Invalid email id & password!"; } else { } } }
198
Register.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="_Default" %> <%@ Register src="WebUserControl.ascx" tagname="WebUserControl" tagprefix="uc1" %> <%@ Register src="WebUserControl2.ascx" tagname="WebUserControl2" tagprefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>Online Courier Booking Distribution & Tracking System</title> <style type="text/css"> .style1 { width: 800px; height: 900px; border-left-style: solid; border-left-width: 1px; border-right: 1px solid #C0C0C0; border-top-style: solid; border-top-width: 1px; border-bottom: 1px solid #C0C0C0; }
199
.style2 { width: 800px; height: 733px; } .style6 { width: 800px; } .style7 { height: 8px; text-align: center; } .style8 { } .style9 { width: 200px; } .style10 { font-size: large; font-weight: bold; color: #FFFFFF; } .style11 { height: 33px; } .style12 { height: 18px; } .style13 { height: 27px; } .style14 { width: 600px; height: 386px; } .style15 { width: 536px; } .style16 { height: 45px; font-weight: bold; color: #666666; font-size: large; } .style17 { height: 65px; font-weight: bold; font-size: x-large; color: #333333; } .style18
200
} .style21 { text-align: left; font-size: small; font-family: Verdana; font-weight: bold; color: #666666; } .style22 { font-size: small; font-family: Verdana; font-weight: bold; color: #666666; } .style23 { width: 800px; font-weight: bold; } .style24 { color: #FFFFFF; font-size: medium; } .style25 { color: #FF0000; } .style26 { font-size: small; } </style> </head> <body> <form id="form1" defaultfocus ="TextBox1" defaultbutton="Button1" runat="server"> <div> <table align="center" cellpadding="0" cellspacing="0" class="style1"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style2"> <tr> <td> <uc1:WebUserControl ID="WebUserControl1" runat="server" /> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr>
201
<td class="style7"> <uc2:WebUserControl2 ID="WebUserControl21" runat="server" /> </td> </tr> <tr> <td class="style8"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td colspan="2"> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td width="200"> table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style10" height="30" style="text-align: left"> Login</td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink1" runat="server" ForeColor="#666666" NavigateUrl="~/Login.aspx">Click here to sign in</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#666666" NavigateUrl="~/Register.aspx">Click here to register</asp:HyperLink> <
202
< table align="center" cellpadding="0" cellspacing="0" class="style14"> <tr> <td valign="top"> <table align="center" cellpadding="0" cellspacing="0" class="style15"> <tr> <td class="style16"> Register for Online cbdt</td> </tr> <tr> <td bgcolor="#F2BB15" class="style17"> Sign up for your Online Courier, Booking, Distribution & Tracking System account</td> </tr> <tr> <td> <table align="center" bgcolor="#EFEFEF" cellpadding="0" cellspacing="0" class="style15"> <tr> <td bgcolor="#0099FF" class="style18" colspan="2">
203
Please Enter Your Details Below</td> </tr> <tr> <td> </td> <td style="text-align: right"> <span class="style25">*</span><span class="style26">Mandatory Fields</span></td> </tr> <tr> <td class="style22"> Email :<span class="style25">*</span> </td> <td> <asp:TextBox ID="TextBox1" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1" Display="None" ErrorMessage="Invalid Email Id" SetFocusOnError="True">*</asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBox1" Display="None" ErrorMessage="Invalid Email Id" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+ ([-.]\w+)*">*</asp:RegularExpressionValidator> </td> </tr> <tr> <td class="style22">
204
Password :<span class="style25">*</span></td> <td> <asp:TextBox ID="TextBox8" runat="server" Width="150px" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox8" Display="None" ErrorMessage="Invalid Password" SetFocusOnError="True">*</asp:RequiredFieldValidator> <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBox8" Display="None" ErrorMessage="Password should be 6-12 characters" ValidationExpression="\S{6,12}">*</asp:RegularExpressionValidator> </td> </tr> <tr> <td class="style22"> Confirm Password :<span class="style25">*</span></td> <td style="text-align: left"> <asp:TextBox ID="TextBox3" runat="server" Width="150px" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="TextBox3" Display="None" ErrorMessage="Password does not match" SetFocusOnError="True">*</asp:RequiredFieldValidator> <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="TextBox8" ControlToValidate="TextBox3" Display="None" ErrorMessage="Password does not match" SetFocusOnError="True">*</asp:CompareValidator> </td>
205
</tr> <tr> <td class="style21"> Contact Name :<span class="style25">*</span></td> <td> <asp:TextBox ID="TextBox4" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TextBox4" Display="None" ErrorMessage="Enter Contact Name" SetFocusOnError="True">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style21"> Telephone/Mob No.</span><span class="style25">*</span></td> <td> <asp:TextBox ID="TextBox5" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TextBox5" Display="None" ErrorMessage="Enter Telephone/Mob No." SetFocusOnError="True">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style21"> Security Question :<span class="style25">*</span></td> <td>
206
<asp:TextBox ID="TextBox6" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="TextBox6" Display="None" ErrorMessage="Enter Security Question" SetFocusOnError="True">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td class="style21"> Security Answer :<span class="style25">*</span></td> <td> <asp:TextBox ID="TextBox7" runat="server" Width="150px"></asp:TextBox> <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="TextBox7" Display="None" ErrorMessage="Enter Security Answer" SetFocusOnError="True">*</asp:RequiredFieldValidator> </td> </tr> <tr> <td> <asp:ValidationSummary ID="ValidationSummary1" runat="server" DisplayMode="List" ShowMessageBox="True" ShowSummary="False" /> </td> <td> <asp:Label ID="Label1" runat="server" Font-Bold="True" FontSize="Small" ForeColor="#000099"></asp:Label> </td>
207
</tr> <tr> <td> </td> <td> <asp:Button ID="Button1" runat="server" Font-Bold="True" ForeColor="#666666" Text="Create User" onclick="Button1_Click" /> </td> </tr> </table> </td> </tr> </table> </td> </tr> /table> < </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td < &
bgcolor="#0099FF" class="style13" width="200"> asp:HyperLink ID="HyperLink3" runat="server" Font-Bold="True" Font-Size="Large" ForeColor="White" NavigateUrl="~/Send_a_Parcel.aspx">Cikch ere to send a courier</asp:HyperLink> h </td> </tr> <tr> <td width="200"> nbsp;</td> &
208
width="200">
table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td bgcolor="#0099FF" class="style11"> <span class="style10">Site Tools </span></td> </tr> <tr> <td class="style12">
<table align="center" cellpadding="0" cellspacing="0" class="style9"> <tr> <td> <asp:HyperLink ID="HyperLink4" runat="server" ForeColor="#333333" NavigateUrl="~/PostCodeAndAddressFinder.aspx">Post code and address finder</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink5" runat="server" ForeColor="#333333" NavigateUrl="~/CourierTracking.aspx">Track your courier</asp:HyperLink> </td> </tr> <tr> <td> <asp:HyperLink ID="HyperLink6" runat="server" ForeColor="#333333" NavigateUrl="~/Feedback.aspx">Leave feedback</asp:HyperLink> </td>
209
</tr> </table> </td> </tr> /table> < </td> </tr> <tr> <td width="200"> nbsp;</td> </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> <tr> <td & </tr> </table> </td> &
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
width="200"> nbsp;</td>
210
</td>
</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style6"> <tr> <td> </td> </tr> <tr> <td> <table align="center" cellpadding="0" cellspacing="0" class="style23"> <tr> <td bgcolor="#0099FF" class="style24" height="10" style="text-align: center"> Copyrights 2010 Online CBDT All Rights Reserved</td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </div> </form> </body> </html>
Register.aspx.cs
using using using using using using using using using using using using
System; System.Configuration; System.Data; System.Data.SqlClient ; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI.HtmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.WebParts; System.Xml.Linq;
211
public partial class _Default : System.Web.UI.Page { SqlConnection con; protected void Page_Load(object sender, EventArgs e) { con = new SqlConnection(ConfigurationManager.AppSettings["mycon"]); } protected void Button1_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("Insert into UserRegistration values(@Email,@Password,@ContactName,@ContactNo,@SecurityQuestion,@Se curityAnswer)", con); SqlParameter pa1 = new SqlParameter("@Email", DbType.String); pa1.Value = TextBox1.Text; cmd.Parameters.Add(pa1); SqlParameter pa2 = new SqlParameter("@Password", DbType.String); pa2.Value = TextBox8.Text; cmd.Parameters.Add(pa2); SqlParameter pa3 = new SqlParameter("@ContactName", DbType.String); pa3.Value = TextBox4.Text; cmd.Parameters.Add(pa3); SqlParameter pa4 = new SqlParameter("@ContactNo", DbType.String); pa4.Value = TextBox5.Text; cmd.Parameters.Add(pa4); SqlParameter pa5 = new SqlParameter("@SecurityQuestion", DbType.String); pa5.Value = TextBox6.Text; cmd.Parameters.Add(pa5); SqlParameter pa6 = new SqlParameter("@SecurityAnswer", DbType.String); pa6.Value = TextBox7.Text; cmd.Parameters.Add(pa6); con.Open(); try { cmd.ExecuteNonQuery(); con.Close(); Label1.Text = "You are successfully registered!"; TextBox1.Text = ""; TextBox3.Text = ""; TextBox4.Text = ""; TextBox5.Text = ""; TextBox6.Text = ""; TextBox7.Text = ""; TextBox8.Text = ""; } catch (Exception ex) { Response.Write(ex.Message); } } }
212
213
214
215
216
UNIT TESTING
217
1. UNIT TESTING:
This is the smallest testable unit of a computer system and is normally tested using the white box testing. The author of the programs usually carries out unit tests.
2. INTEGRATION TESTING:
In integration testing, the different units of the system are integrated together to form the complete system and this type of testing checks the system as whole to ensure that it is doing what is supposed to do. The testing of an integrated system can be carried out top-down, bottom-up, or big-bang. In this type of testing, some parts will be tested with white box testing and some with black box testing techniques. This type of testing plays very important role in increasing the systems productivity. We have checked our system by using the integration testing techniques.
3. SYSTEM TESTING:
A part from testing the system to validate the functionality of software against the requirements, it is also necessary to test the nonfunctional aspect of the system. Some examples of non-functional tools include tests to check performance, data security, usability/user friendliness, volume, load/stress that we have used in our project to test the various modules.
218
4. FIELD TESTING:
This is a special type of testing that may be very important in some projects. Here the system is tested in the actual operational surroundings. The interfaces with other systems and the real world are checked. This type of testing is very rarely used. So far our project is concerned; we haven't tested our project using the field testing.
5. ACCEPTANCE TESTING:
After the developer has completed all rounds of testing and he is satisfied with the system, then the user takes over and re-tests the system from his point of view to judge whether it is acceptable according to some previously identified criteria. This is almost always a tricky situation in the project because of the inherent conflict between the developer and the user. In this project, it is the job of the bookstores to check the system that whether the made system fulfills the goals or not.
219
The test plan entails the following activities: 1. Prepare test plan. 2. Specify conditions for user acceptance testing. 3. Prepare test data for program testing. 4. Prepare test data for transaction path testing. 5. Plan user training. 6. Compile/assemble programs. 7. Prepare job performance aids. 8. Prepare operational documents.
SPECIFY CONDITIONS FOR USER ACCEPTANCE TESTING Planning for user acceptance testing calls for the analyst and the user to agree on conditions for the test. PREPARE TEST DATA FOR PROGRAM TESTING As each program is coded, test data are prepared and documented to ensure that all aspects of the program are properly tested. PREPARE TEST DATA FOR TRANSACTION PATH TESTING This activity develops the data required for testing every condition and transactions to be introduced into the system. The path of each transaction from origin to destination is carefully tested reliable results.
220
PLAN USER TRAINING User training is designed to prepare the user for testing and converting the system. User involvement and training take place parallel with programming for three reasons: The system group has time available to spend on training while the programs are being written. Initiating a user-training program gives the systems group a clearer image of the user's interest in the new system. A trained user participates more effectively in system testing. The training plan is followed by preparation of the user training manual and other text materials. COMPILE / ASSEMBLE PROGRAMS All programs have to be compiled / assembled for testing. PREPARE JOB PERFORMANCE AIDS In this activity the materials to be used by personnel to run the system are specified and scheduled. This includes a display of materials. PREPARE OPERATIONAL DOCUMENTS During the test plan stage, all operational documents are finalized including copies of the operational formats required by the candidate system. SYSTEMS TESTING The computer department to ensure that the system functions as specified does this testing. This testing is important to ensure that a working system is handed over to the user for acceptance testing. ACCEPTANCE TESTING The user to ensure that the system functions, as the user actually wanted performs this testing. With prototyping techniques, this stage becomes very much a formality to check the accuracy and completeness of processing. The screen layouts and output should already have been tested during the prototyping phase. 221
An error in the program code can remain undetected indefinitely. To prevent this from happening the code was tested at various levels. To successfully test a system, each condition, and combinations of conditions had to be tested. Each program was tested and linked to other programs. This unit of program is tested and linked to other units and so on until the complete system has been tested. The purpose of testing is to ensure that each program is fully tested. To do so a test plan had to be created. The test plan consists of a number of test runs such as the valid paths through the code, and the exception and error handling paths. For each test run there is a list of conditions tested, the test data used and the result expected. The test plan was then reviewed to check that each path through the code is tested correctly. It is the responsibility of the programmer to collect the data that will produce the required test condition.
222
The major V&V activities for software development are inspection, reviews, and testing (both static and dynamic). The V&V plan identifies the different V&V tasks for the different phases and specifies how these tasks contribute to the project V&V goals. The methods to be used for performing these V&V activities, the responsibilities and milestones for each of these activities, inputs and outputs for each V&V task, and criteria for evaluating the outputs are also specified. The two major V&V approaches are testing and inspections. Testing is an activity that can be generally performed only on code. It is an important activity and is discussed in detail in a later chapter. Inspection is a more general activity that can be applied to any work product, including code. Many of the V&V tasks are such that for them, an inspection type of activity is the only possible way to perform the tasks (e.g. trace ability and document evaluation). Due to this, inspections play a significant role in verification.
223
224
As we know, creating software is one thing and the implementation of the created software is another. The process of implementing software is much difficult as compared to the task of creating the project. First we have to implement the software on a small scale for removing the bugs and other errors in the project and after removing them we can implement the software on a large scale.
Before we think in terms of implementing the Software on a large basis, we must consider the Hardware requirements.
Whenever we develop software or project a certain hardware and software is being used by the programmer for developing the project. The hardware and software to be used by the programmer for developing the project should be such that it would result in the development of a project, which would satisfy all the basic needs for which the project has been created by the programmer. The Hardware should be such that cost constraints of the Client should also be taken into account without affecting the performance.
225
Software can be evaluated according to many factors similar to the hardware evaluation. Thus the factors of performance, cost, reliability, compatibility, modularity, technology, ergonomics, and support should be used to evaluate proposed software acquisitions. In addition, however, the software evaluation factors are summarized in below figure. For e.g. some software packages require too much memory capacity and are notoriously slow, hard to use, or poorly documented. They are not a good selection for most end users, even if offered at attractive prices.
An important aspect of is to make sure that the new design is implemented to establish standards. The term implementation has different meanings, ranging form the conversion of a basic application to a complete replacement of a computer system. Implementation is used here to mean the process of converting a new or revise system into an operational one. Conversion is one aspect of implementation. Conversion means changing form one system to another. The objective is to put the tested system into operation while holding costs, risks, and personnel irritation to a minimum. It involves creating computer-compatible files, training the operation staff, and installing terminal and hardware. A critical aspect of conversion is not disrupting the functioning of the organization. When a new system is used over and old, existing and running one, there are always compatibility errors. These errors are caused because of the lack of equipment or personnel to work the new system. Running any specified system at an organization does require some or other hardware or, in this case, software requirement as well.
228
229
Cost in a project is due to the requirements for software, hardware, and human resources. Hardware resources are computer time, terminal time and memory required for the project. Software resources include the tools and compilers needed during development. The bulk of cost of software development is due to human resources needed. Cost estimates are determined in terms of person-months (PM).
Total No. Of Persons Involved In This Project: 1. Administrator 2. Senior Programmer 3. Junior Programmers 4. On line Users. Since this Project will complete in 4 months COST ESTIMATE: (Salary of Project Manager + Salary of Senior Programmer + 2 * Salary of Junior Programmer) * 2
230
System Design
Sept.
Oct.
Nov.
Dec.
231
Pert Chart
PERT (Project Evaluation and Review Technique) charts consist of a network of boxes and arrows. The boxes represent activities and the arrows represent task dependencies. PERT chart represents the statistical variations in the project estimates assuming a normal distribution. Thus in a PERT chart instead of making a single estimate for each task, pessimistic, likely, and optimistic estimates are also made. The boxes of PERT charts are usually annotated with the pessimistic, likely, and optimistic estimates for every task. Since all possible completion times between the minimum and maximum durations for every task have to be considered, there are many critical paths, depending on the permutations of the estimates for each task. This makes critical path analysis in PERT charts very complex. A critical path in a PERT chart is shown by using thicker arrows. The PERT chart representation of the ADMINISTRATIVE & LOGISTIC MANAGEMENT SYSTEM COURIER BOOKING problem of Figure A. is shown in Figure B. Task Specification Part Design Database Part Design GUI Part Code Database Part Code GUI Part Integrate and Test Write User Manual ES 0 15 15 60 45 165 15 EF 15 60 45 165 90 285 75 LS 0 15 90 60 120 165 225 LF 15 60 120 165 165 285 285 ST 0 0 75 0 75 0 210
Figure A : Different Tasks for the ADMINISTRATIVE & LOGISTIC MANAGEMENT SYSTEM COURIER BOOKING shown in above table.
232
Design Database part 40, 45, 60 Specificati on 12, 15, 20 Design GUI part 24, 30, 38
Code Database part 95,105,120 Integrated And test 100,120,14 0 Code GUI part 4538,, 52
Finish 0
FIGURE B : PERT Chart representation of the ADMINISTRATIVE & LOGISTIC MANAGEMENT SYSTEM COURIER BOOKING
PERT charts are a more sophisticated form of activity chart. In activity diagrams only the estimated task durations are represented. Since the actual durations might vary from the estimated durations, the utility of the activity diagrams is limited.
233
234
Administrative & Logistic Management System for Courier Company is not developed for any particular client, but observing the increasing trade between countries and within a country, this system can be implemented by any transporting or shipping company who runs their business via Road, Air, Sea or Train. As trading in multiple countries involve Custom Regulations also, this software can prove to be a best choice for record keeping and accounting system. This system is developed in a simple GUI, so it can be understood simply by a person of any status or understanding. Also, Administrative & Logistic Management System for Courier Company can be extended in various forms, depending on the nature or requirement of any shipping or transportation company who wants to use it. The core transactions which happen at any shipping company are developed in this system. Further, this system can be extended depending on Custom Regulations of any country, or nature of goods which the shipping company carries and extensibility can also depend on increasing market competition.
235
12. CONCLUSION
This project is decided to meet the requirements of the users for online courier tracking and requirements of courier companies . It has been developed in ASP.NET, keeping in mind the specifications of the system. For designing the system we have used simple data flow diagrams. Overall the project teaches us the essential skills like: Using system analysis and design techniques like data flow diagram in designing the system.
Understanding the database handling and query processing using SQL SERVER.
13. Bibliography
1. Senn James A : Analysis and Design of Information Systems, McGraw Hill,
International Ed, 1989. 2. O'Brien Jamea A : Management Information Systems, Galgotia Publications Pvt Ltd, New Delhi, 1998. 3. Laudon & Laudon : Management Information Systems, Organisation and Technology, PHI, New Delhi, 1998. 4. Wetherebe James : Systems Analysis and Design, Galgotia Publications Pvt Ltd, New Delhi, 1990
236