COLLEGE OF TECHNOLOGY AND ENGINEERING
MAHARANA PRATAP UNIVERSITY OF AGRICULTURE & TECHNOLOGY
UDAIPUR (RAJ.)
A TRAINING REPORT ON Tourism in India AT DCM Shriram Consolidated Ltd ,Kota
Submitted by: Ankita Garg
II Yr, Computer Science and Engineering
Submitted to: Dr. DHARM SINGH
Training Incharge IT & CSE
ACKNOWLEDGEMENT
It gives me immense pleasure to express my deepest sense of gratitude and sincere thanks to my highly respected and esteemed guide Dr. Dharm Singh , for their valuable guidance, encouragement and help for completing this work. Their useful suggestions for this whole work and co-operative behavior are sincerely acknowledged. I would like to express my sincere thank to Dr. N.S Rathor,Dean, College of Technology And Engineering. For giving me this opportunity to undertake this project. I also wish to express my gratitudes to Dr. Naveen Chaudhary, HOD (CSE) for his kind hearted support. I am also grateful to my teachers for their constant support and guidance. I also wish to express my indebtedness to my parents as well as my family member whose blessings and support always helped me to face the challenges ahead. At the end I would like to express my sincere thanks to all my friends and others who helped me directly or indirectly during this project work.
Place: Udaipur
Ankita Garg
Table of Content
 Chapter 1  Chapter 2  Chapter 3  Chapter 4  Chapter 5  Chapter 6  Chapter 7  Chapter 8  Chapter 9  Chapter 10  Chapter 11
Introduction Company Profile Project Development Enviormment Project Profile Flow Chart Use Case Diagram Class and Function Description How to use This Application Sample Outputs Bibliography References
2
CHAPTER 1 INTRODUCTION
This project is developed in asp.net framework using visual studio 2008. The project is on tourism in india. The backend language used is Microsoft access and frontend is C# and html. The objective set while developing this project was to provide a helping hand for all those tourists who wants to visit india and admire its prolong beauty. The training consisted of two sessions-one was theory session in which I learned asp.net concepts and all programming languages viz. c#,html and little bit of javascript. The second session was based on practically designing the website by implementing my knowledge of project and using all data, some of which I downloaded from internet and some I took from my guide in DSCL . I sincerely thank all my teachers for being so supportive throughout my project work and helping me in my work.
CHAPTER 2 COMPANY PROFILE
DCM SHRIRAM CONSOLIDATED LIMITED
Founded by Sir Shriram in 1889 (as DCM limited), today DCM Shriram Consolidated Limited ( DSCL) is managed by Mr. Ajay S. Shriram, Chairman and Senior Managing Director and Mr. Vikram S. Shriram, Vice Chairman and Managing Director along with a highly professional executive team. We have manufacturing facilities at Kota (Rajasthan), Bharuch (Gujarat), and Ajbapur, Rupapur, Hariawan and Loni(UP). Our hybrid seed operations are at Hyderabad (India), Vietnam, Philippines and Thailand. The Company also has its windows fabrication units at Bhiwadi, Mumbai, Hyderabad and Chennai. DSCL has a strong brand equity reflective of credibility, ethical values and consistent high quality product image. With over 30 years of experience in managing large scale process industries with sustained high level of performance, DSCL meets the needs of a wide range of customers from farmers to industrial users, from house builders to business owners. Fostering enduring relationships is at the core of DSCL's business philosophy - with vendors, business partners, and customers and within the organization between employees. The company operates in a range of energy intensive businesses in the Chloro-Vinyl and agri-sectors. We are always seeking to produce multiple downstream products in a manner that we derive the maximum earnings accrual from every unit of power that we generate in a sustainable way and in varied market conditions. We follow this model across our manufacturing operations at different locations with an endeavor to add value while we curtail operating costs. Such an approach allows us to direct resources and inputs to various downstream businesses in the most efficient manner and also become a cost competitive producer in our chosen area. As a leading equal opportunity employer in India, DSCL has a motivated and dynamic management team of highly qualified professionals and dedicated workmen and staff whose work has shown the way towards creating " Team Excellence ". DSCL has a long history of accessing and employing the best technologies for its projects and has worked successfully with renowned international and domestic technology partners. As a learning organization DSCL has worked regularly with the national and international consultants of repute, in diverse areas of Business Strategy, Quality, Organizational Development etc. In a major IT initiative the company has networked all its locations on a Wide Area Network (WAN) and implemented SAP R/3 Enterprise Resource Package (ERP) across the Company. Other key IT enabling
initiatives are Customer Relationship Management (CRM) and Business Information Warehousing (BIW). The Hariyali division of the company was awarded ACE-Best Customer Award for successful implementation of the SAP IS retail package. All its main line locations/products have ISO 9000, 14000 certification and OHSAS 18001: 1999 system of Occupational Health and Safety certifications. The Kota complex of the company was instituted in 2006 with the prestigious British Sword of Honour for implementing and practicing the best safety standards. In an increasingly global business environment, DSCL's vision is to strengthen its agri and energy intensive business while ramping up "Value Added" & "Knowledge based" products & services in the areas of its operations. Accordingly, DSCL is expanding its rural retail initiative Hariyali Kisaan Bazaar to create a rural hub that makes agri and consumer products (of all manufacturers) and agri services available to farmers in a fair, transparent and convenient format. Currently there are over 275 such Bazaars. The company had launched value added UPVC window system business under the Fenesta TM brand in India. This product has very attractive design and insulation attributes that makes it strong business proposition as the concept is gaining acceptability. DSCL strongly believes in socially responsible business activity. DSCL has made significant contribution to the society in the fields of Environment, Health Care, Family Planning, Education, Cultural Heritage, Rural Development and in promoting. For its social contributions DSCL's Chlor-Alkali facility at Bharuch has been recognized with a SA 8000:2001 certification by RINA (Registro Italiano Navale), making it amongst the few companies in India to get this recognition
DSCLs CORE VALUES AND BELIEFS
DSCLs core values and beliefs are a reflection of its commitment to build a world class, learning organisation, to excel and win in all its endeavors : Customer Focus 
Be sensitive to the needs of the customer; develop superior customer insight Commitment to surpass expectations and deliver superior value
Innovation and Excellence
 Think differently and promote creativity Make continuous improvement a way of life; drive excellence 5
People Development
 
Continuously improve and upgrade the skills and competencies of our people Support people to realise their potential
Team work
 
Work closely as a cohesive, well-knit team Inculcate a spirit of openness and collaboration
Relationships and Human Dignity
 Value people and partnerships Nurture understanding, compassion, trust and respect in all relationships
Social Responsibility and Ethics
  Be a socially responsible corporate, addressing the needs of the community and environment Conduct business ethically Maintain highest standards of personal integrity
CHAPTER 3 PROJECT DEVELOPMENT ENVIRONMENT: OVERVIEW
1. LANGUAGE USED:C# C# (pronounced see sharp) is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, objectoriented (class-based), and component-oriented programming disciplines. It was developed by Microsoft within its .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming languages designed for the Common Language Infrastructure  History of c#: C#'s principal designer and lead architect at Microsoft is Anders Hejlsberg. Since the release of C# 2.0 in November 2005, the C# and Java languages have evolved on increasingly divergent trajectories, becoming somewhat less similar. One of the first major departures came with the addition of generics to both languages, with vastly different implementations.c# version 3.0 came in 2007 and version 4.0 came in 2011 repectively.Latest version is c# 5.0, which was recently released in February,2012.  Features of c#: C# is a very powerful programming language that exists on virtually every programming platform. It is the multi paradigm, compile, free form , general purpose, statistically typed programming language. This is known as middle level language as it comprises of low level and high level language features. The main features of the C# are
  
Classes Multiple Inheritance Data abstraction and encapsulation
7
Polymorphism Dynamic Binding Message Passing
1)
Classes: By using classes we can create user defined data types. In other
words the class is the collection of set of data and code. The class allows us to do some things which are polymorphism, inheritance, abstraction, encapsulation which are our next features. The objects are the instances of classes. Inheritance: Inheritance allows one data type to acquire properties of other data types. Inheritance from a base class may be declared as public, protected, or private. If the access specifier is omitted, a class inherits privately, while a struct inherits publicly. This provides the idea of reusability that means we can add the new features to an existing class without modifying it.
2)
3)
Data Abstraction and Encapsulation: Encapsulation means hiding of data from the data structures or in other words wrapping up of data in single entity is known as Encapsulation. In this the data is not accessible to outside world and only the functions are allowed to access it. When we want to write the class in which we dont have the knowledge about the arguments used to instantiate it then we can use templates in C++. Abstraction can be defined as the act of representing essential features without including background details.
4)
Polymorphism). : It means that the one interface can be used for many implementation so that object can behave differently for each implementation. The different types of polymorphism are static (Compile time) and dynamic (Run time Dynamic Binding: It means that the linking of a procedure call to code to be executed in response to the call. A function call associated with a polymorphic reference depends on the dynamic type that reference. And at run-time the code matching the object under current reference will be called.
5) 6)
Message Passing: An object oriented program consists of the set of objects that communicate with each other. objects communicate with one another by sending and receiving information much the same way as people pass messages to one another. The concept of message passing makes it easier to direct model or simulate their real world counterparts.
 File handling in c#: Some terms related to file handling: File. The information / data stored under a specific name on a storage device, is called a file. Stream. It refers to a sequence of bytes. Text file. It is a file that stores information in ASCII characters. In text files, each line of text is terminated with a special character known as EOL (End of Line) character or delimiter character. When this EOL character is read or written, certain internal translations take place. Binary file. It is a file that contains information in the same format as it is held in memory. In binary files, no delimiters are used for a line and no translations occur here.  Classes for file stream operation ofstream: Stream class to write on files ifstream: Stream class to read from files fstream: Stream class to both read and write from/to files.  Opening a file Opening File Using Constructor ofstream fout(results); //output only ifstream fin(data); //input only Opening File Using open() Stream-object.open(filename, mode) ofstream ofile; ofile.open(data1); ifstream ifile; ifile.open(data2); File mode parameter Meaning
9
ios::app ios::ate ios::binary ios::in ios::out ios::nocreate ios::noreplace ios::trunc
Append to end of file go to end of file on opening file open in binary mode open file for reading only open file for writing only open fails if the file does not exist open fails if the file already exist delete the contents of the file if it exist
All these flags can be combined using the bitwise operator OR (|). For example, if we want to open the file example.bin in binary mode to add data we could do it by the following call to member function open(): fstream file; file.open ("example.bin", ios::out | ios::app | ios::binary);  Closing file: fout.close(); fin.close();  Input And Output Operations: put() and get() function the function put() writes a single character to the associated stream. Similarly, the function get() reads a single character form the associated stream. example : file.get(ch); file.put(ch); write() and read() function write() and read() functions write and read blocks of binary data. example: file.read((char *)&obj, sizeof(obj)); file.write((char *)&obj, sizeof(obj));  Error Handling Functions: eof() fail() returns true (non zero) if end of file is encountered while reading; otherwise return false(zero) return true when an input or output operation has failed
10
bad() good()
returns true if an invalid operation is attempted or any unrecoverable error has occurred. returns true if no error has occurred.
 File Pointers And Their Manipulation All i/o streams objects have, at least, one internal stream pointer: ifstream, like istream, has a pointer known as the get pointer that points to the element to be read in the next input operation. ofstream, like ostream, has a pointer known as the put pointer that points to the location where the next element has to be written. Finally, fstream, inherits both, the get and the put pointers, from iostream (which is itself derived from both istream and ostream). These internal stream pointers that point to the reading or writing locations within a stream can be manipulated using the following member functions: seekg() seekp() tellg() tellp() moves get pointer(input) to a specified location moves put pointer (output) to a specified location gives the current position of the get pointer gives the current position of the put pointer
The other prototype for these functions is: seekg(offset, refposition ); seekp(offset, refposition ); The parameter offset represents the number of bytes the file pointer is to be moved from the location specified by the parameter refposition. The refposition takes one of the following three constants defined in the ios class. ios::beg ios::cur ios::end start of the file current position of the pointer end of the file
11
2. Microsoft Visual c#: The reference C# compiler is Microsoft Visual C#. Other C# compilers exist, often including an implementation of the Common Language Infrastructure and the .NET class libraries up to .NET 2.0:
The Mono project provides an open source C# compiler, a complete open source implementation of the Common Language Infrastructure including the required framework libraries as they appear in the ECMA specification, and a nearly complete implementation of the Microsoft proprietary .NET class libraries up to .NET 3.5. As of Mono 2.6, no plans exist to implement WPF; WF is planned for a later release; and there are only partial implementations of LINQ to SQL and WCF.[44] The DotGNU project also provides an open source C# compiler, a nearly complete implementation of the Common Language Infrastructure including the required framework libraries as they appear in the ECMA specification, and subset of some of the remaining Microsoft proprietary .NET class libraries up to .NET 2.0 (those not documented or included in the ECMA specification, but included in Microsoft's standard .NET Framework distribution). Microsoft's Rotor project (currently called Shared Source Common Language Infrastructure) (licensed for educational and research use only) provides a shared source implementation of the CLR runtime and a C# compiler, and a subset of the required Common Language Infrastructure framework libraries in the ECMA specification (up to C# 2.0, and supported on Windows XP only). The DotNetAnywhere Micro Framework-like Common Language Runtime is targeted at embedded systems, and supports almost all C# 2.0 specifications. It is licensed under the MIT License conditions and is implemented in C
12
CHAPTER 4
PROJECT PROFILE
TITLE: - Tourism in India Aim of the Project:-To provide access to different places of India through Our website and encourage tourism in India. Submitted to: - DCM ShreeRam Consolidated Ltd. ,Kota Application: - 1.To provide information and transport facility for visiting India. 2.It helps in enhancing Tourism in India in better ways. Memory used: - 64 bits. Designed by: - Ankita Garg B.E. 2nd Year(C.S.E)
SYSTEM REQUIREMENTS
HARDWARE REQUIREMENTS:
13
PROCESSOR RAM HARD DISK INPUT DEVICE
: Pentium I 133 MHz or Higher : 16 MB OR Higher : 2.1 gb or higher : Keyboard and mouse
OUTPUT DEVICE : Color monitor
SOFTWARE REQUIREMENTS: OPERATING SYSTEM: DOS, Windows 98/XP/7 COMPILER : TURBO C++
14
CHAPTER 5 FLOW CHART
Home
login
Register
Ajmer
Jaipur
Udaipur
Bikaner
15
CHAPTER 6 USE CASE DIAGRAM
Register
Login
Home
Hotel renting
Car renting
Visit India
Contact us
16
CHAPTER 7 CLASS AND FUNCTIONS DESCRIPTION
This Project Connect around 36 classes in diffent aspx frames. These are: 1. Bikaner_home 2. Car_Booking 3. Contact_US 4. Hotel 5. Hotelterrif 6. FestivalFair 7. Geography 8. Photogallery 9. Jaipur_transportation 10. Tourist_places 11. Login 12. Map_of_rajasthan 13. Tarrif_Table 14. Udaipur_City 15. WildLife_KeoladevghanaPark So on. There are several default classes also present.
Unlike events in desktop applications, ASP.NET server-control events are raised as well as handled on the server. When a Web request communicates a client-side action to the server, a control can raise events on the server in response to the client
17
action. The event is handled by the page or by its child controls, and ASP.NET sends a response back to the client. This results in a user experience similar to that of a desktop application. However, control developers must understand that only one client-side event is posted to the server  the postback event. Common userinterface events such as mouse clicks or key presses are not communicated to the server and thus cannot be processed on the server. The base class System.Web.UI.Control provides the events that govern a control's execution lifecycle, such as initialization, loading, and unloading. For the sequence in which these events are executed, see Control Execution Lifecycle. You can handle these events as well as raise additional events from your control. This section shows how to handle inherited events and how to raise custom events.
18
CHAPTER 8 HOW TO USE THIS APPLICATION
 Run project in visual studio 2008. Select your choice as from Menu as follows : 1.Register 2.Login 3.Home 4.Jaipur 5.Bikaner 6.Udaipur 7.Ajmer 8.Hotel rent 9.Car rent 10.Contact us
The above options will have following effects: 1. It will display register frame to enter all details by user. 2. It will display login form to enter user id and password by registered user. 3. It will display home page which contains options for all tourists destinations in india. 4. It will prompt the jaipur home page. 5. It will prompt the Bikaner home page. 6. It will prompt the Udaipur home page.
19
7. It will prompt the ajmer home page. 8. It will prompt for hotels available at respected places for rent. 9. It will prompt for car rent service for tourists. 10.It will display the contact details of the owner of this website.
CHAPTER 9 SAMPLE OUTPUTS
Register form:
20
1. Login:
2. Map of Rajasthan:
21
3. Ajmer:
22
4. Jaipur:
23
5. Udaipur:
24
6. Bikaner:
25
7. Car rent:
26
8. Wild life:
27
9: Contact us:
28
29
CHAPTER 10 BIBLIOGRAPHY
1. Software engineering- A Practitioners Approach, Roger S. Pressman. Sixth Edition. Tata McGraw Hill. 2. 3. 4. 5. 6. BalaguruSwami Let us c# Programming c# for beginners Wikipedia BUILD YOUR ON ASP.NET WEBSITE USING C# book
30
CHAPTER 11 REFERENCES
1. 2. 3. 4. 5. 6.
http://net.tutsplus.com/ http://www.smashingmagazine.com/ http://www.webresourcesdepot.com/ www.Google.com http://www.hanselman.com/blog/ http://www.kevinwilliampang.com
31