Vous êtes sur la page 1sur 106

Human

Resource

Management

INTRODUCTION The Secondary goal of Human resource proportionality is inventory minimization. By integrating accurate demand forecasting is human resource management, replenishment inventories can be schedule to arrive just in time to replenishment the product destined to run out first. While at the same time balancing out the inventory supply of all products to make their inventories more proportional and thereby closer to achieving the primary goal. Accurate demand forecasting also allows the desired inventory proportions to be dynamic by determining expected sales out into the future, this allows for inventory to be in proportion to expected short term sales or consumption rather than to post averages a much more accurate and optional out come.

1.1Module Description:
This modules contains 9 modules Employee information Company leave details Incidents details

57

Human

Resource

Management

Company view records Interview details Training details Salary details Salary report Employee information: A person should use the human resources . They should give our details in the form. The items stored in the form is Employee ID, Employee Name, Qualification, Gender, Date of birth, College Name, Religion, National ID, Technical skills. Then he/she will fill the employee information. They should use link button like personal details, company details, accounts details etc
COMPANY LEAVE DETAILS:

Name, Description, start date, End date, Intended date. INCIDENT DETAILS: The company should grant leave to employee (or) employee should get leave for a personal work .she/he will fill the form like

57

Human

Resource

Management

company leave details. The company leave details includesEmployee ID, Employee A person should have any accident, problem, retirement, death. A company have get insurance policy to every employee. The item are include Employee ID, Employee Name, Incident Date, Title, Insurance, Problem, ect.., They should help for us family. COMPANY VIEW RECORDS: Company should have every records . A person one should as a employee in the company . The company have a full view records about her/him. INTERVIEW DETAILS: A person should attend a interview give a personal details like Name, Date of birth, Qualification, Address, Experience, salary, expected.., A company should store the details in it. It is called interview details. TRAINING DETAILS: A company should select a person to do the work well. A company give a training for a person to do well our job with expect level. The training details include training Name, Trainer Name, gender, contract

57

Human

Resource

Management

name, Date from, Date to, training description, company/ sponsor, Email ID.

SALARY DETAILS: A person should know the salary details and A company should know the salary details. The salary details includes Employee ID, Name, Gender, Year salary, Year of month, Date of salary, No. of. Working days, No. of .present day, basic salary, over time(hrs), over time salary, total salary. SALARY REPORT: Salary report should be maintain from a company. They include cash, cheque, salary date, salary given by online.

57

Human

Resource

Management

SYSTEM STUDY 2.1 FEASIBILITY STUDY All projects are feasible given unlimited resources and infinite time. It is both necessary and prudent to evaluate the feasibility of the project at the earliest possible time. Feasibility and risk analysis is related in many ways. If project risk is great, the feasibility listed below is equally important. The following feasibility techniques has been used in this project ECONOMIC FEASIBILITY TECHNICAL FEASIBILITY

57

Human

Resource

Management

OPERATIONAL FEASIBILITY

2.1.1 ECONOMIC FEASIBILITY Economic feasibility is the most frequently used method for evaluating the effectiveness of a candidate system. More commonly known as cost / benefit analysis, the procedure is to determine the benefits and saving that are expected from a candidate and compare them with the costs. If the benefits outweigh cost. Then the decision is made to design and implement the system. Otherwise drop the system. This system has been implemented such that it can be used to analysis the traffic. So it does not require any extra equipment or hardware to implement. So it is economically feasible to use. 2.1.2 TECHNICAL FEASIBILITY Technical feasibility centers on the existing computer system (hardware software, etc) and to what extent it can support the proposed addition. For ex, if the current computer is operating at 80% capacity. This involves, additional hardware (RAM and Processor) will increase the speed of the process software and normal hardware configuration is enough, so the system is more feasible on this criteria. 57

Human

Resource

Management

2.1.3 OPERATIONAL FEASIBILITY Proposed system is beneficial since it turned into information system analyzing the traffic that will meet the organizations operating requirements. In security, the file is transferred to the destination and the acknowledgement is given to the server. Bulk of data transfer is sent without traffic.

2.2 EXISTING SYSTEM As we know processing is quite tedious time consuming less accurate in compression to computerized processing .Obviously the present is not is exemption consultant encountering all the above Problems. 1. 2. 3. TIME CONSUMING IT IS VERY TEDIOUS ALL INFORMATION IS NOT PLACED SEPERATLY

57

Human

Resource

Management

4. 5. 6. 7.

LOT OF PAPER WORK SLOW DATA PROCESSING NOT USER-FRIENDLY ENVIRONMENT IT IS DIFFICULT TO FOUND RECORDS DUE FILE MANAGEMENT SYSTEM

2.3 PROPOSED SYSTEM It new computerized system I tried to give these facilities 1. 2. 3. 4. 5. Manually system changes into computerized system Friendly user interface Time saving Save paperwork Connecting to database so we different type of queries, data report 6. 7. Give facility of different type of inquiry Formatted data

57

Human

Resource

Management

8.

Datas are easily approachable

SYSTEM SPECIFICATION 3.1 HARDWARE SPECIFICATION:

57

Human

Resource

Management

The Minimum Hardware Requirement is as follows: Intel Pentium IV and above 512 MB of RAM 80 GB Hard Disk Keyboard ,Mouse

3.2 SOFTWARE SPECIFICATION: The Minimum Software Requirements are as follows: Operating system :Windows xp2

Language : DOTNET 2008(C#) Front End :Asp.net,C#.Net Backend : Sql server 2005

LANGUAGE DESCRIPTION 57

Human

Resource

Management

4. LANGUAGE DESCRIPTION 4.1 Microsoft. NET Framework The .NET Framework is a new computing platform that simplifies application development in the highly distributed environment of the Internet. The .NET Framework is designed to fulfill the following objectives: To provide a consistent object-oriented programming environment whether object code is stored and executed locally, executed locally but Internet-distributed, or executed remotely. To provide a code-execution environment that minimizes software deployment and versioning conflicts. To provide a code-execution environment that guarantees safe execution of code, including code created by an unknown or semi-trusted third party. To provide a code-execution environment that eliminates the performance problems of scripted or interpreted environments.

57

Human

Resource

Management

To make the developer experience consistent across widely varying types of applications, such as Windows-based applications and Webbased applications. To build all communication on industry standards to ensure that code based on the .NET Framework can integrate with any other code. The .NET Framework has two main components: the common language runtime and the .NET Framework class library. The common language runtime is the foundation of the .NET Framework. You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that ensure security and robustness. In fact, the concept of code management is a fundamental principle of the runtime. Code that targets the runtime is known as managed code, while code that does not target the runtime is known as unmanaged code. The class library, the other main component of the .NET Framework, is a comprehensive, object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface (GUI) applications to applications based on the 57

Human

Resource

Management

latest innovations provided by ASP.NET, such as Web Forms and XML Web services. The .NET Framework can be hosted by unmanaged components that load the common language runtime into their processes and initiate the execution of managed code, thereby creating a software environment that can exploit both managed and unmanaged features. The .NET Framework not only provides several runtime hosts, but also supports the development of third-party runtime hosts.

57

Human

Resource

Management

For example, ASP.NET hosts the runtime to provide a scalable, server-side environment for managed code. ASP.NET works directly with the runtime to enable Web Forms applications and XML Web services, both of which are discussed later in this topic. Internet Explorer is an example of an unmanaged application that hosts the runtime (in the form of a MIME type extension). Using Internet Explorer to host the runtime enables you to embed managed components or Windows Forms controls in HTML documents. Hosting the runtime in this way makes managed mobile code (similar to Microsoft ActiveX controls) possible, but with significant improvements that only managed code can offer, such as semi-trusted execution and secure isolated file storage. The following illustration shows the relationship of the common language runtime and the class library to your applications and to the overall system. The illustration also shows how managed code operates within a larger architecture. Features of the Common Language Runtime: The common language runtime manages memory, thread execution, code execution, code safety verification, compilation, and other system 57

Human

Resource

Management

services. These features are intrinsic to the managed code that runs on the common language runtime. With regards to security, managed components are awarded varying degrees of trust, depending on a number of factors that include their origin (such as the Internet, enterprise network, or local computer). This means that a managed component might or might not be able to perform file-access operations, registry-access operations, or other sensitive functions, even if it is being used in the same active application. The runtime enforces code access security. For example, users can trust that an executable embedded in a Web page can play an animation on screen or sing a song, but cannot access their personal data, file system, or network. The security features of the runtime thus enable legitimate Internetdeployed software to be exceptionally featuring rich. The runtime also enforces code robustness by implementing a strict typeand code-verification infrastructure called the common type system (CTS). The CTS ensures that all managed code is self-describing. The various Microsoft and third-party language compilers generate managed code that conforms to the CTS. This means that managed code can

57

Human

Resource

Management

consume other managed types and instances, while strictly enforcing type fidelity and type safety. In addition, the managed environment of the runtime eliminates many common software issues. For example, the runtime automatically handles object layout and manages references to objects, releasing them when they are no longer being used. This automatic memory management resolves the two most common application errors, memory leaks and invalid memory references. The runtime also accelerates developer productivity. For example, programmers can write applications in their development language of choice, yet take full advantage of the runtime, the class library, and components written in other languages by other developers. Any compiler vendor who chooses to target the runtime can do so. Language compilers that target the .NET Framework make the features of the .NET Framework available to existing code written in that language, greatly easing the migration process for existing applications. While the runtime is designed for the software of the future, it also supports software of today and yesterday. Interoperability between

57

Human

Resource

Management

managed and unmanaged code enables developers to continue to use necessary COM components and DLLs. The runtime is designed to enhance performance. Although the common language runtime provides many standard runtime services, managed code is never interpreted. A feature called just-in-time (JIT) compiling enables all managed code to run in the native machine language of the system on which it is executing. Meanwhile, the memory manager removes the possibilities of fragmented memory and increases memory locality-of-reference to further increase performance. Finally, the runtime can be hosted by high-performance, server-side applications, such as Microsoft MS Access and Internet Information Services (IIS). This infrastructure enables you to use managed code to write your business logic, while still enjoying the superior performance of the industry's best enterprise servers that support runtime hosting. .NET Framework Class Library The .NET Framework class library is a collection of reusable types that tightly integrate with the common language runtime. The class library is Object Oriented, providing types from which your own 57

Human

Resource

Management

managed code can derive functionality. This not only makes the .NET Framework types easy to use, but also reduces the time associated with learning new features of the .NET Framework. In addition, third-party components can integrate seamlessly with classes in the .NET Framework. For example, the .NET Framework collection classes implement a set of interfaces that you can use to develop your own collection classes. Your collection classes will blend seamlessly with the classes in the .NET Framework. As you would expect from an object-oriented class library, the .NET Framework types enable you to accomplish a range of common programming tasks, including tasks such as string management, data collection, database connectivity, and file access. In addition to these common tasks, the class library includes types that support a variety of specialized development scenarios. For example, you can use the .NET Framework to develop the following types of applications and services: Console applications. Scripted or hosted applications.

57

Human

Resource

Management

Windows GUI applications (Windows Forms). ASP.NET applications. XML Web services. Windows services.

For example, the Windows Forms classes are a comprehensive set of reusable types that vastly simplify Windows GUI development. If you write an ASP.NET Web Form application, you can use the Web Forms classes. Client Application Development Client applications are the closest to a traditional style of application in Windows-based programming. These are the types of applications that display windows or forms on the desktop, enabling a user to perform a task. Client applications include applications such as word processors and spreadsheets, as well as custom business applications such as data-entry tools, reporting tools, and so on. Client applications usually employ windows, menus, buttons, and other GUI elements, and they likely access local resources such as the file system and peripherals such as printers.

57

Human

Resource

Management

Another kind of client application is the traditional ActiveX control (now replaced by the managed Windows Forms control) deployed over the Internet as a Web page. This application is much like other client applications: it is executed natively, has access to local resources, and includes graphical elements. In the past, developers created such applications using C/C++ in conjunction with the Microsoft Foundation Classes (MFC) or with a rapid application development (RAD) environment such as Microsoft Visual Basic. The .NET Framework incorporates aspects of these existing products into a single, consistent development environment that drastically simplifies the development of client applications. The Windows Forms classes contained in the .NET Framework are designed to be used for GUI development. You can easily create command windows, buttons, menus, toolbars, and other screen elements with the flexibility necessary to accommodate shifting business needs. For example, the .NET Framework provides simple properties to adjust visual attributes associated with forms. In some cases the underlying operating system does not support changing these attributes directly, and in these cases the .NET Framework automatically recreates 57

Human

Resource

Management

the forms. This is one of many ways in which the .NET Framework integrates the developer interface, making coding simpler and more consistent. Unlike ActiveX controls, Windows Forms controls have semitrusted access to a user's computer. This means that binary or natively executing code can access some of the resources on the user's system (such as GUI elements and limited file access) without being able to access or compromise other resources. Because of code access security, many applications that once needed to be installed on a user's system can now be safely deployed through the Web. Your applications can implement the features of a local application while being deployed like a Web page. 4.2 ASP.NET ASP.NET is part of the whole. NET framework, built on top of the Common Language Runtime (also known as the CLR) - a rich and flexible architecture, designed not just to cater for the needs of developers today, but to allow for the long future we have ahead of us. What you might not realize is that, unlike previous updates of ASP, ASP.NET is very much more than just an upgrade of existing technology it is the gateway to a whole new era of web development. 57

Human

Resource

Management

ASP.NET is a feature at the following web server releases Microsoft IIS 5.0 on WINDOWS 2000 Server Microsoft IIS 5.1 on WINDOWS XP ASP.NET has been designed to try and maintain syntax and run-time compatibility with existing ASP pages wherever possible. The motivation behind this is to allow existing ASP Pages to be initially migrated ASP.NET by simply renaming the file to have an extension of .aspx. For the most part this goal has been achieved, although there are typically some basic code changes that have to be made, since VBScript is no longer supported, and the VB language itself has changed.

Some of the key goals of ASP.NET were to Remove the dependency on script engines, enabling pages to be type safe and compiled. Reduce the amount of code required to develop web applications.

57

Human

Resource

Management

Make ASP.NET well factored, allowing customers to add in their own custom functionality, and extend/ replace built-in ASP.NET functionality. Make ASP.NET a logical evolution of ASP, where existing ASP investment and therefore code can be reused with little, if any, change. Realize that bugs are a fact of life, as ASP.NET should be as fault tolerant as possible. Benefits of ASP.NET The .NET Framework includes a new data access technology named ADO.NET, an evolutionary improvement to ADO. Though the new data access technology is evolutionary, the classes that make up ADO.NET bear little resemblance to the ADO objects with which you might be familiar. Some fairly significant changes must be made to existing ADO applications to convert them to ADO.NET. The changes don't have to be made immediately to existing ADO applications to run under ASP.NET, however. ADO will function under ASP.NET. However, the work necessary to convert ADO applications to ADO.NET is worthwhile. For disconnected applications, ADO.NET 57 should offer performance

Human

Resource

Management

advantages over ADO disconnected record sets. ADO requires that transmitting and receiving components be COM objects. ADO.NET transmits data in a standard XML-format file so that COM marshaling or data type conversions are not required. ASP.NET has several advantages over ASP. The following are some of the benefits of ASP.NET: Make code cleaner. Improve deployment, scalability, and reliability. Provide better support for different browsers and devices. Enable a new breed of web applications. ActiveX ActiveX is a specification develops by Microsoft that allows ordinary Windows programs to be run within a Web page. ActiveX programs can be written in languages such as Visual Basic and they are complied before being placed on the Web server. ActiveX application, called controls, are downloaded and executed by the Web browser, like Java applets.

57

Human

Resource

Management

Unlike Java applets, controls can be installed permanently when they are downloaded; eliminating the need to download them again. ActiveXs main advantage is that it can do just about anything. This can also be a disadvantage: Several enterprising programmers have already used ActiveX to bring exciting new capabilities to Web page, such as the Web page that turns off your computer and the Web page that formats disk drive. Fortunately, ActiveX includes a signature feature that identifies the source of the control and prevents controls from being modified. While this wont prevent a control from damaging system, we can specify which sources of controls we trust. ActiveX has two main disadvantages It isnt as easy to program as scripting language or Java. ActiveX is proprietary. It works only in Microsoft Internet Explorer and only Windows platforms. 4.3 ADO.NET ADO.NET provides consistent access to data sources such as Microsoft SQL Server, as well as data sources exposed via OLE DB and

57

Human

Resource

Management

XML. Data-sharing consumer applications can use ADO.NET to connect to these data sources and retrieve, manipulate, and update data. ADO.NET architecture

ADO.NET cleanly factors data access from data manipulation into discrete components that can be used separately or in tandem. ADO.NET includes .NET data providers for connecting to a database, executing commands, and retrieving results.

57

Human

Resource

Management

Those results are either processed directly, or placed in an ADO.NET Dataset object in order to be exposed to the user in an ad-hoc manner, combined with data from multiple sources, or remote between tiers. The ADO.NET Dataset object can also be used independently of a .NET data provider to manage data local to the application or sourced from XML. Why ADO.NET? As application development has evolved, new applications have become loosely coupled based on the Web application model. More and more of today's applications use XML to encode data to be passed over network connections. Web applications use HTTP as the fabric for communication between tiers, and therefore must explicitly handle maintaining state between requests. This new model is very different from the connected, tightly coupled style of programming that characterized the client/server era, where a connection was held open for the duration of the program's lifetime and no special handling of state was required. In designing tools and technologies to meet the needs of today's developer, Microsoft recognized that an entirely new programming model for data access was needed, one that is built upon the .NET Framework. 57

Human

Resource

Management

Building on the .NET Framework ensured that the data access technology would be uniformcomponents would share a common type system, design patterns, and naming conventions. ADO.NET was designed to meet the needs of this new programming model: disconnected data architecture, tight integration with XML, common data representation with the ability to combine data from multiple and varied data sources, and optimized facilities for interacting with a database, all native to the .NET Framework. Leverage Current ADO Knowledge Microsoft's design for ADO.NET addresses many of the requirements of today's application development model. At the same time, the programming model stays as similar as possible to ADO, so current ADO developers do not have to start from scratch in learning a brand new data access technology. ADO.NET is an intrinsic part of the .NET Framework without seeming completely foreign to the ADO programmer.

57

Human

Resource

Management

ADO.NET coexists with ADO. While most new .NET applications will be written using ADO.NET, ADO remains available to the .NET programmer through .NET COM interoperability services. ADO.NET provides first-class support for the disconnected, n-tier programming environment for which many new applications are written. The concept of working with a disconnected set of data has become a focal point in the programming model. The ADO.NET solution for ntier programming is the Dataset. XML Support XML and data access are intimately tiedXML is all about encoding data, and data access is increasingly becoming all about XML. The .NET Framework does not just support Web standardsit is built entirely on top of them. 4.4 SQL SERVER 2005 Microsoft SQL Server 2005 is comprehensive, integrated data management and analysis software that enables organizations to reliably manage mission-critical information and confidently run todays increasingly complex business applications. SQL Server 2005 allows companies to gain greater insight from their business information and achieve faster results for a competitive advantage. 57

Human

Resource

Management

Top-10 Features of SqlServer-2005 1. T-SQL (Transaction SQL) enhancements T-SQL is the native set-based RDBMS programming language offering high-performance data access. It now incorporates many new features including error handling via the TRY and CATCH paradigm, Common Table Expressions (CTE), which return a record set in a statement, and the ability to shift columns to rows and vice versa with the PIVOT and UNPIVOT commands. 2. CLR (Common Language Runtime) The next major enhancement in SQL Server 2005 is the integration of a .NET compliant language such as C#, ASP.NET or VB.NET to build objects (stored procedures, triggers, functions, etc.). This enables you to execute .NET code in the DBMS to take advantage of the .NET functionality. It is expected to replace extended stored procedures in the SQL Server 2000 environment as well as expand the traditional relational engine capabilities. 3. Service Broker The Service Broker handles messaging between a sender and receiver in a loosely coupled manner. A message is sent, processed and responded 57

Human

Resource

Management

to, completing the transaction. This greatly expands the capabilities of data-driven applications to meet workflow or custom business needs. 4. Data encryption SQL Server 2000 had no documented or publicly supported functions to encrypt data in a table natively. Organizations had to rely on third-party products to address this need. SQL Server 2005 has native capabilities to support encryption of data stored in user-defined databases. 5. SMTP mail Sending mail directly from SQL Server 2000 is possible, but challenging. With SQL Server 2005, Microsoft incorporates SMTP mail to improve the native mail capabilities. Say "see-ya" to Outlook on SQL Server! 6. HTTP endpoints You can easily create HTTP endpoints via a simple T-SQL statement exposing an object that can be accessed over the Internet. This allows a simple object to be called across the Internet for the needed data. 7. Multiple Active Result Sets (MARS) MARS allow a persistent database connection from a single client to have more than one active request per connection. This should be a 57

Human

Resource

Management

major performance improvement, allowing developers to give users new capabilities when working with SQL Server. For example, it allows multiple searches, or a search and data entry. The bottom line is that one client connection can have multiple active processes simultaneously.

8. Dedicated administrator connection If all else fails, stop the SQL Server service or push the power button. That mentality is finished with the dedicated administrator connection. This functionality will allow a DBA to make a single diagnostic connection to SQL Server even if the server is having an issue. 9. SQL Server Integration Services (SSIS) SSIS has replaced DTS (Data Transformation Services) as the primary ETL (Extraction, Transformation and Loading) tool and ships with SQL Server free of charge. This tool, completely rewritten since SQL Server 2000, now has a great deal of flexibility to address complex data movement. 10. Database mirroring It's not expected to be released with SQL Server 2005 at the RTM in November, but I think this feature has great potential. Database mirroring 57

Human

Resource

Management

is an extension of the native high-availability capabilities. So, stay tuned for more details. INFORMATION SUPER HIGHWAY: A set of computer networks, made up of a large number of smaller networks, using different networking protocols. The world's largest computing network consisting of over two million computers supporting over 20 millions users in almost 200 different countries. The Internet is growing a phenomenal rate between 10 and 15 percent. So any size estimates are quickly out of date. Internet was originally established to meet the research needs of the U.S Defence Industry. But it has grown into a huge global network serving universities, academic researches, commercial interest and Government agencies, both in the U.S and Overseas. The Internet uses TCP/IP protocols and many of the Internet hosts run the Unix Operating System. 4.5 HTML

57

Human

Resource

Management

HTML (Hyper Text Markup Language) is the language that is used to prepare documents for online publications. HTML documents are also called Web documents, and each HTML document is known as Web page. A page is what is seen in the browser at any time. Each Web site, whether on the Internet or Intranet, is composed of multiple pages. And it is possible to switch among them by following hyperlinks. The collection of HTML pages makes up the World Wide Web. A web pages is basically a text file that contains the text to be displayed and references of elements such as images, sounds and of course hyperlinks to other documents. HTML pages can be created using simple text editor such as Notepad or a WYSIWYG application such as Microsoft FrontPage. In either case the result is a plain text file that computers can easily exchange. The browser displays this text file on the client computer. "Hypertext" is the jumping frog portion. A hyperlink can jump to any place within your own page(s) or literally to anyplace in the world with a 'net address (URL, or Uniform Resource Locator.) It's a small part of the html language. 4.6 INTERNET INFORMATION SERVER (IIS): 57

Human

Resource

Management

A web server is a program connected to the world wide web(www) that furnishes resources from the web browser. Microsoft IIS is a web server integrated with Windows.NET server that makes it easy to publish information and bring business application to the web. Because of its tight integration with windows NT server, IIS guarantees the network administrator and application developer the same security, Networking and administrator functionality as windows NT server. Above and beyond its use of familiar Windows NT server Tools and functionality, IIS also has built-in capabilities to help administer secure websites, and to develop server-intensive web application. FEATURES OF IIS: IIS provides integrated security and access to a wide range of content, work seamlessly with COM components, and has a graphical interface-the Microsoft Management Console (MMC) that you can use to create and manage your ASP application. IIS Provides Integrated Security:

57

Human

Resource

Management

On the internet, most sites allow anybody to connect to the site. The exceptions are commercialists where you pay a one time, monthly fee to access the site. Sites that are restrict the access called secured site. Secured site use either integrated security or login, password security. IIS support both of these methods. IIS provides Access to Content: All web servers can deliver HTML files, but they differ widely in how they treat other types of content. Most servers let you add and modify Multi-purpose Internet Mail Extensions (MMIE) types, but integrate directly into the windows registry. That means IIS natively understands how to treat most common windows file format, such as text (TXT) files, application initialization (INI) files, executable (EXE) files and many others IIS provides an Interface FOR COM You can control many parts of IIS using COM>IIS exposes many of the servers configuration settings via the IIS Admin objects. These objects are accessible from ASP and other languages. That means you can adjust server configuration and create virtual directories and webs programmatically. IIS 4 and higher store settings and web information in a spoil database called the Metaphase. You can use the IIS Admin objects 57

Human

Resource

Management

to create new sites and virtual directories be alter the properties of existing sites and virtual directories. IIS ARCHITECTURES OVERVIEW: IIS is a core product, which means that it is designed to work closely with many other products, including all products in the Windows NT Server 4.0 Option pack. The following figure shows the relationship between IIS and other products installed as part of the Windows NT Server 4.0 Option pack.

SECURITY FOR IIS APPLICATION IIS provides three authentication schemes to control access to ITS resources: Anonymous, Basic and Windows NT challenge/Response. Each of these schemes had different effect on the security context of an application launched by ITS. This includes ISAPI extension agents, COT applications, IDC scripts and future scripting capabilities. ACCESS PRIVIEGES

57

Human

Resource

Management

IIS provides several new access levels. The following values can set the type of access allowed to specific directories: Read Write Script Execute Log Access Directory Browsing. IIS WEBSITE ADMINISTRATION Administering websites can be time consuming and costly, especially for people who manage large internet Service Provider (ISP) Installations. To save time and money Sips support only large company web siesta the expense of personal websites. But is there a cost-effective way to support both? The answer is yes; if you can automate administrative tasks and let users administer their own sites from remote computers. This solution reduces the amount of time and money it takes to manually administer a large installation, without reducing the number of web sites supported.

57

Human

Resource

Management

Microsoft Internet Information server (IIS) version 4.0 offers technologies to do this: 1. Windows scripting Host (WSH) 2. IIS Admin objects built on top of Active Directory service Interface(ADS)) With these technologies working together behind the scenes, the person can administers sites from the command line of central computer and can group frequently used commands in batch files.Then all user need to do is run batch files to add new accounts, change permissions, add a virtual server to a site and many other tasks.

CHAPTER 5 SYSTEM DESIGN 5.1 SYSTEM DESIGN 57

Human

Resource

Management

Design is concerned with identifying software components specifying relationships among components. Specifying software structure and providing blue print for the document phase. Modularity is one of the desirable properties of large systems. It implies that the system is divided into several parts. In such a manner, the interaction between parts is minimal clearly specified. Design will explain software components in detail. This will help the implementation of the system. Moreover, this will guide the further changes in the system to satisfy the future requirements 5.2 INPUT DESIGN Input design is the process of converting user-originated inputs to a computer-based format. Input design is one of the most expensive phases of the operation of computerized system and is often the major problem of a system. In the project, the input design is made in various window forms with various methods. 5.3 OUTPUT DESIGN

57

Human

Resource

Management

Output design generally refers to the results and information that are generated by the system for many end-users; output is the main reason for developing the system and the basis on which they evaluate the usefulness of the application. 5.4 CODE DESIGN The code design should be such that with less amount of coding we can achieve more results. The speed of the system will be more if the coding is less. Whether the data in the system is usable and readable by the system is depending on the coding. In the project, the coding is being done such that proper validations are made to get the perfect input. No error inputs are accepted. In addition care is taken such that the data integrity and referential integrity is not violated in the database. In addition, coding is designed such that concurrency avoidance of accessing the database, limited user access to the table is made perfect.

57

Human

Resource

Management

5.5 DATABASE DESIGN The database design is a must for any application developed especially more for the data store projects. Since the chatting method involves storing the message in the table and produced to the sender and receiver, proper handling of the table is a must.

57

Human

Resource

Management

CHAPTER 6 PROJECT DESCRIPTION 6.1 SYSTEM IMPLEMENATION Implementation is the most crucial stage in achieving a successful system and giving the users confidence that the new system is workable and effective. Implementation of a modified application helps to replace an existing one. This type of conversation is relatively easy to handle, provide there are no major changes in the system. Each program is tested individually at the time of development using the data and has verified that this program linked together in the way specified in the programs specification, the computer system and its environment is tested to the satisfaction of the user. The system that has been developed is accepted and proved to be satisfactory for the user. And so the system is going to be implemented very soon. A simple operating procedure is included so that the user can understand the different functions clearly and quickly.

57

Human

Resource

Management

Initially as a first step the executable form of the application is to be created and loaded in the common server machine which is accessible to the entire user and the server is to be connected to a network. The final stage is to document the entire system which provides components and the operating procedures of the system. This model contains 6 phases: Feasibility study: The feasibility study activity involves the analysis of the problem and collection of the relevant information relating to the product. The main aim of the feasibility study is to determine whether it would be financially and technically feasible to develop the product. Requirement analysis and specification: The goal of this phase is to understand the exact requirements of the customer and to document them properly.(SRS) Design:

57

Human

Resource

Management

The goal of this phase is to transform the requirement specification into a Structure that is suitable for implementation in some programming language. Implementation and unit testing: During this phase the design is implemented. Initially small modules are tested in isolation from rest of the software product. Integration and system testing: In this all the modules are integrated and then tested altogether. Operation and maintenance: Release of software inaugurates the operation and life cycle phase of the Operation. The phases always occur in this order and do not overlap.

57

Human

Resource

Management

6.2 DATAFLOW DIAGRAM MAIN DFD: LEVEL 0:

57

Human

Resource

Management

USE CAUSE FOR USER: LEVEL 1:

57

Human

Resource

Management

57

Human

Resource

Management

ADMIN AND LOGIN PROCESS: LEVEL 2:

57

Human

Resource

Management

CHAPTER 7 7.1 Software Testing Software testing is a critical element of software quality assurance and represents the ultimate reuse of specification. Design and code testing represents interesting anomaly for the software during earlier definition and development phase, it was attempted to build software from an abstract concept to tangible implementation. The testing phase involves, testing of the development of the system using various techniques such as White Box Testing, Control Structure Testing. 7.2 Testing Techniques 7.2.1White Box Testing White box testing is a test case design method that uses the control structure of the procedural design to derive test cases. After performing white box testing it was identified that

57

Human

Resource

Management

The Leave Recording System (LRS) software guarantees that all independent paths within the modules have been exercised at least once. It has been exercised all logical decisions on their true and false sides. It was tested to execute all loops at their boundaries and within their Operational bounds. It was tested for the internal data structures to ensure their validity. 7.2.2 Control Structure Testing The following tests were conducted and it was noted that the Module Verification Strategy is performing well. Basic path Testing Condition Testing Data Flow Testing Loop Testing 57

Human

Resource

Management

Black box testing methods focuses on the functional requirements of the software by conducting black box testing using the methods Equivalence Partitioning Boundary Value Analysis and CauseEffect-Graphing techniques.

Functional validity of LRS checked. Checked the isolation of the boundaries of a class. The tolerance of the system for the data rates and data volumes. 7.3 Testing Strategies A strategy for software testing must accommodate low-level tests that are necessary to verify that a small source code segment has been correctly implemented as well as high level against customer requirements. Verification and Validation Verification is a Fundamental concept in the software design. Verification refers to the set of activities that ensure that software

57

Human

Resource

Management

correctly implements a specific function. Validation refers to a different set of activities that ensures that software that has been build is a traceable to customers. Validation is nothing but the process of using software in live environment in order to find errors.

Verification is typically done in two steps: Verification of the requirements: Verification that the software requirement definition satisfies the customer needs. Verification of the design: Verification that the design satisfies the requirements definition. Verification and validation encompass a wide array of software quality assurances (SQA) activities that include formal technical reuse quality and configuration audits, performance monitoring, simulation, feasible study. Software reviews are one of the most important SQA activities.

57

Human

Resource

Management

Reviews serve as a filter for the software process, removing errors while they are relatively inexpensive to find and correct properly verify a system data about software engineering process should be collected, Code Testing Specification Testing Unit Testing Integration Testing System Testing Output Testing User Acceptance Testing

Code Testing: Testing the logic of the program is called the code testing. Every path through the program is tested and checked whether the logic is working properly or not. This project was logically performing well. Specification Testing:

57

Human

Resource

Management

Specification testing means checking the software whether it is as per the specification given this project has been tested for its specification such as what the particular module or program should do and how it should perform under various conditions. Unit Testing: Unit testing focuses verification on the smaller unit of software design such as form. This is known as form testing. The testing is done individually on each form.

Using the unit test plan, prepared in design phase of the system development as a guide, important control paths are tested to uncover within the boundary of the module. In this step, the module is working satisfactorily as a regard to the expected output from the module. Integration Testing: Data can be lost across an interface, one module can have an adverse effect on another sub function , when combined, may not produce the desired major function. Integration testing is a systematic technique 57

Human

Resource

Management

for constructing the program structure while at the same time conducting tests to uncover errors associated with the interface. All the modules are combined in the testing step. Then the entire program is as a whole. Different integrated test plans like top down integration and bottom up integration are tested and different errors found in the system are corrected using them. Finally, all the combined modules are performed well. Validation Testing: The following tests were conducted to test the validity of the software. The validation succeeds when the software functions in a manner that can be reasonably expected by the customer. The developed software undergone the following types of validation testing and was succeeded. Alpha Testing Beta Testing 7.4 System Testing:

57

Human

Resource

Management

Testing the entire system as a whole and checking for its correctness is system testing. The system is listed for dispensaries between the system and its original objectives. This project was effective and efficient. 7.5 Output Testing After performing system testing, the next step is output testing of the proposed system, since no system could be useful if it does not procedure the desired output in the specified format. The outputs generated are displayed by the system under consideration or testing by asking the users about the format required by them, here the output format is considered in two ways, one is on the screen and other is the printed form.

7.6 User Acceptance Testing User acceptance of a system is the key factor for the success of any system. The system under consideration was tested for user acceptance by constantly keeping in touch with the perspective system users at the time 57

Human

Resource

Management

of developing and making changes whenever required. The following are the testing points. Input screen design Output screen design Menu-driven system Implementation is the process of bringing the developed system into operational use and turning it over to the user. The implementation of computer based system requires that test be prepared and that the system and its elements be tested in planned and structured manner.

CHAPTER 8 ANNEXURE SAMPLE CODE: ADMIN LOGIN


using System;

57

Human

Resource

Management

using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class _Default : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji; Integrated Security=True"); SqlCommand cmd = new SqlCommand(); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { con.Open(); string str = "select Username,Password from NewAccount Where Username='" + TextBox1.Text + "' and Password='" + TextBox2.Text + "'"; cmd = new SqlCommand(str, con);

57

Human

Resource

Management

SqlDataAdapter da = new SqlDataAdapter(str, con); DataSet ds = new DataSet(); da.Fill(ds); if (ds.Tables[0].Rows.Count > 0) { Response.Redirect("Password change.aspx"); } else { Response.Write(@"<script>alert('enter valid ID')</script>"); } con.Close(); } protected void Button2_Click(object sender, EventArgs e) { TextBox1.Text = " "; TextBox2.Text = ""; } }

EMPLOYEE INFORMATION
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq;

57

Human

Resource

Management

using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class EMPLOYEE : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji; Integrated Security=True"); SqlCommand cmd = new SqlCommand(); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click1(object sender, EventArgs e) { con.Open(); String str = "Insert into information values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + DropDownList1.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','"+TextBox9.Text+"','"+TextBox10.Text+"','"+TextBox11.Text+"','"+T extBox12.Text+"','"+TextBox13.Text+"','"+TextBox14.Text+"','"+TextBo

57

Human

Resource

Management

x15.Text+"','"+TextBox16.Text+"','"+TextBox17.Text+"','"+TextBox18.T ext+"','"+TextBox19.Text+"','"+TextBox20.Text+"','"+TextBox21.Text+"' ,'"+TextBox22.Text+"','"+DropDownList2.Text+"','"+TextBox23.Text+"',' "+TextBox24.Text+"','"+TextBox25.Text+"','"+DropDownList3.Text+"')"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Insert')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; DropDownList1.Text = " "; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text=" "; TextBox10.Text=" "; TextBox11.Text=" "; TextBox12.Text=" "; TextBox13.Text=" "; TextBox14.Text=" "; TextBox15.Text=" "; TextBox16.Text=" "; TextBox17.Text=" "; TextBox18.Text=" ";

57

Human

Resource

Management

TextBox19.Text=" "; TextBox20.Text=" "; TextBox21.Text=" "; TextBox22.Text=" "; DropDownList2.Text=" "; TextBox23.Text=" "; TextBox24.Text=" "; TextBox25.Text=" "; DropDownList3.Text=" "; con.Close(); } protected void Button2_Click(object sender, EventArgs e) { con.Open(); string str = "select * from Information Where Id='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { TextBox1.Text = dr[0].ToString(); TextBox2.Text = dr[1].ToString(); TextBox3.Text = dr[2].ToString(); DropDownList1.Text = dr[3].ToString();

57

Human

Resource

Management

TextBox4.Text = dr[4].ToString(); TextBox5.Text = dr[5].ToString(); TextBox6.Text = dr[6].ToString(); TextBox7.Text = dr[7].ToString(); TextBox8.Text = dr[8].ToString(); TextBox9.Text = dr[9].ToString(); TextBox10.Text = dr[10].ToString(); TextBox11.Text = dr[11].ToString(); TextBox12.Text = dr[12].ToString(); TextBox13.Text = dr[13].ToString(); TextBox14.Text = dr[14].ToString(); TextBox15.Text = dr[15].ToString(); TextBox16.Text = dr[16].ToString(); TextBox17.Text = dr[17].ToString(); TextBox18.Text = dr[18].ToString(); TextBox19.Text = dr[19].ToString(); TextBox20.Text = dr[20].ToString(); TextBox21.Text = dr[21].ToString(); TextBox22.Text = dr[22].ToString(); DropDownList2.Text = dr[23].ToString(); TextBox23.Text = dr[24].ToString(); TextBox24.Text = dr[25].ToString(); TextBox25.Text = dr[26].ToString(); DropDownList3.Text = dr[27].ToString(); } Response.Write(@"<script>alert('Select')</script>");

57

Human

Resource

Management

dr.Close(); con.Close(); } protected void Button3_Click(object sender, EventArgs e) { con.Open(); string str = "Update Information Set Name='" + TextBox2.Text + "',Qualification='" + TextBox3.Text + "',Gender='" + DropDownList1.Text + "',[Data of Birth]='" + TextBox4.Text + "',[College name]='" + TextBox5.Text + "',Religion='" + TextBox6.Text + "',[[National ID]='" + TextBox7.Text + "', [Technical Skills]='" + TextBox8.Text + "',[personal name]='" + TextBox9.Text + "',[father name]='" + TextBox10.Text + "', [mother name]='" + TextBox11.Text + "',[temporary address]='" + TextBox12.Text + "',[permanent address]='" + TextBox13.Text + "', [phone no]='" + TextBox14.Text + "',E_mail='" + TextBox15.Text + "',department='" + TextBox16.Text + "',classification='" + TextBox17.Text + "',[basic salary]='" + TextBox18.Text + "',[joining date]='" + TextBox19.Text + "',[ESI%]='" + TextBox20.Text + "',[PF %]='" + TextBox21.Text + + "',bonus='" + + TextBox22.Text name]='" type]='" + + + "',agreement='" account]='" + DropDownList2.Text TextBox25.Text + "',[account

TextBox23.Text + "',[account number]='" + TextBox24.Text + "',[bank "',[account DropDownList3.Text + "' where Id='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write("@<Script>alert('Update')</Script>");

57

Human

Resource

Management

TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; DropDownList1.Text = " "; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; TextBox11.Text = " "; TextBox12.Text = " "; TextBox13.Text = " "; TextBox14.Text = " "; TextBox15.Text = " "; TextBox16.Text = " "; TextBox17.Text = " "; TextBox18.Text = " "; TextBox19.Text = " "; TextBox20.Text = " "; TextBox21.Text = " "; TextBox22.Text = " "; DropDownList2.Text = " "; TextBox23.Text = " "; TextBox24.Text = " ";

57

Human

Resource

Management

TextBox25.Text = " "; DropDownList3.Text = " "; con.Close(); } protected void Button4_Click(object sender, EventArgs e) { con.Open(); string str = "Delete from Information Where ID='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Delete')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; DropDownList1.Text = " "; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; TextBox11.Text = " "; TextBox12.Text = " "; TextBox13.Text = " "; TextBox14.Text = " ";

57

Human

Resource

Management

TextBox15.Text = " "; TextBox16.Text = " "; TextBox17.Text = " "; TextBox18.Text = " "; TextBox19.Text = " "; TextBox20.Text = " "; TextBox21.Text = " "; TextBox22.Text = " "; DropDownList2.Text = " "; TextBox23.Text = " "; TextBox24.Text = " "; TextBox25.Text = " "; DropDownList3.Text = " "; con.Close(); } }

EMPLOYEE LEAVE DETAILS


using System; using System.Collections; using System.Configuration; using System.Data;

57

Human

Resource

Management

using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class Type_of_leave : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji;Integrated Security=True"); SqlCommand cmd = new SqlCommand(); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { con.Open(); String str = "Insert Into Employee values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','" + TextBox9.Text + "','" + TextBox10.Text + "')"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery();

57

Human

Resource

Management

Response.Write(@"<script>alert('Insert')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; con.Close(); } protected void Button2_Click(object sender, EventArgs e) { con.Open(); string str = "Update Employee Set [Employee Name] ='" + TextBox2.Text + "',[ type of leave]='" + TextBox3.Text + "',[no of days]='" + TextBox4.Text + "',[W/of pay]='" + TextBox5.Text + "', [Remark/Reason]='" + TextBox6.Text + "',[Incident records]='" + TextBox7.Text + "',[incident date]='" + TextBox8.Text + "',Title='" + TextBox9.Text + "',[Incident problem]='" + TextBox10.Text + "' where [Employee ID ]='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write("@<Script>alert('Update')</Script>");

57

Human

Resource

Management

TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; con.Close(); } protected void Button3_Click(object sender, EventArgs e) { con.Open(); string str = "select * from TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { TextBox1.Text = dr[0].ToString(); TextBox2.Text = dr[1].ToString(); TextBox3.Text = dr[2].ToString(); TextBox4.Text = dr[3].ToString(); Employee Where [Employee ID]='" +

57

Human

Resource

Management

TextBox5.Text = dr[4].ToString(); TextBox6.Text = dr[5].ToString(); TextBox7.Text = dr[6].ToString(); TextBox8.Text = dr[7].ToString(); TextBox9.Text = dr[8].ToString(); TextBox10.Text = dr[9].ToString(); } Response.Write(@"<script>alert('Select')</script>"); dr.Close(); con.Close(); } protected void Button4_Click(object sender, EventArgs e) { con.Open(); string str = "Delete from Employee Where [Employee ID ]='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Delete')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " ";

57

Human

Resource

Management

TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; con.Close(); } }

INCIDENT REPORT
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class Insident_Details : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji;Integrated Security=True"); SqlCommand cmd = new SqlCommand();

57

Human

Resource

Management

protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { con.Open(); String str = "Insert into Insident values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "')"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Insert')</script>"); TextBox1.Text = " "; TextBox2.Text = " "; TextBox3.Text = " "; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; con.Close(); } protected void Button2_Click(object sender, EventArgs e) { con.Open(); string str = "Update Insident set Employeename='" + TextBox2.Text + "',InsidentDate='" + TextBox3.Text + "',Title='" + TextBox4.Text +

57

Human

Resource

Management

"',Insurance='" + TextBox5.Text + "',Problem='" + TextBox6.Text + "' Where EmployeeID='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write("@<Script>alert('Update')</Script>"); TextBox1.Text = " "; TextBox2.Text = " "; TextBox3.Text = " "; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; con.Close(); } protected void Button3_Click(object sender, EventArgs e) { con.Open(); string str = "select * from Insident Where EmployeeID='" + TextBox1.Text + "'"; cmd = new SqlCommand(str,con); cmd.ExecuteNonQuery(); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { TextBox1.Text = dr[0].ToString(); TextBox2.Text = dr[1].ToString(); TextBox3.Text = dr[2].ToString();

57

Human

Resource

Management

TextBox4.Text = dr[3].ToString(); TextBox5.Text = dr[4].ToString(); TextBox6.Text = dr[5].ToString(); } Response.Write(@"<script>alert('Select')</script>"); dr.Close(); con.Close(); } protected void Button4_Click(object sender, EventArgs e) { con.Open(); string str = "Delete from Insident Where EmployeeID='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Delete')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; con.Close(); } }

TYPE OF LEAVE DETAILS

57

Human

Resource

Management

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class Company_view_Records : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji;Integrated Security=True"); SqlCommand cmd = new SqlCommand(); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { con.Open();

57

Human

Resource

Management

String str = "Insert into Leave

values('" + TextBox1.Text + "','" +

TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "')"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Insert')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; con.Close(); } protected void Button2_Click(object sender, EventArgs e) { con.Open(); string str = "Update Leave Set EmployeeName='" + TextBox2.Text + "',Deascription='" + TextBox3.Text + "',[No of days]='" + TextBox4.Text + "',[Start date]='" + TextBox5.Text + "',[End date]='" + TextBox6.Text + "',[Intendet date]='" + TextBox7.Text + "'where EmployeeID='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write("@<Script>alert('Update')</Script>");

57

Human

Resource

Management

TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; con.Close(); } protected void Button3_Click(object sender, EventArgs e) { con.Open(); string str = "select * from Leave Where EmployeeID='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); SqlDataReader dr = cmd.ExecuteReader(); if (dr == null || !dr.HasRows) { Response.Write(@"<script>alert('No Record Found')</script>"); } else { while (dr.Read()) { TextBox1.Text = dr[0].ToString(); TextBox2.Text = dr[1].ToString();

57

Human

Resource

Management

TextBox3.Text = dr[2].ToString(); TextBox4.Text = dr[3].ToString(); TextBox5.Text = dr[4].ToString(); TextBox6.Text = dr[5].ToString(); TextBox7.Text = dr[6].ToString(); } } Response.Write(@"<script>alert('Select')</script>"); con.Close(); } protected void Button4_Click(object sender, EventArgs e) { con.Open(); string str = "Delete from Leave Where EmployeeID='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Delete')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; con.Close();

57

Human

Resource

Management

} }

INTERVIEW DETAILS
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class Interview_Details : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji;Integrated Security=True"); SqlCommand cmd = new SqlCommand(); protected void Page_Load(object sender, EventArgs e) { }

57

Human

Resource

Management

protected void Button1_Click(object sender, EventArgs e) { con.Open(); String str = "Insert into Interview values('" + TextBox1.Text + "','" + DropDownList1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','" + TextBox9.Text + "','" + TextBox10.Text + "','" + TextBox11.Text + "','" + TextBox12.Text + "','" + TextBox13.Text + "','" + TextBox14.Text + "')"; cmd = new SqlCommand(str,con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Insert')</script>"); TextBox1.Text = ""; DropDownList1.Text = " "; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; TextBox11.Text = " "; TextBox12.Text = " "; TextBox13.Text = " ";

57

Human

Resource

Management

TextBox14.Text = " "; con.Close(); } protected void Button2_Click(object sender, EventArgs e) { con.Open(); string str = "Update Interview Set Gender='" + DropDownList1.Text + "',Qualification='" + TextBox2.Text + "',Skills='" + TextBox3.Text + "',Department='" TextBox5.Text + + TextBox4.Text + + "',DateofInterview='" TextBox6.Text + + "' "',TimeofInterview='"

,Communication='" + TextBox7.Text + "',Result='" + TextBox8.Text + "',Achivement='" + TextBox9.Text + "',ContactNo='" + TextBox10.Text + "',E_mailID='" + TextBox11.Text + "',Address='" + TextBox12.Text + "',Status='" + TextBox13.Text + "',interviewby='" + TextBox14.Text + "' where personalName='" + TextBox1.Text + "' "; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write("@<Script>alert('Update')</Script>"); TextBox1.Text = " "; DropDownList1.Text = " "; TextBox2.Text = " "; TextBox3.Text = " "; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " ";

57

Human

Resource

Management

TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; TextBox11.Text = " "; TextBox12.Text = " "; TextBox13.Text = " "; TextBox14.Text = " "; con.Close(); } protected void Button3_Click(object sender, EventArgs e) { con.Open(); string str = "select * from Interview Where PersonalName='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { TextBox1.Text = dr[0].ToString(); DropDownList1.Text = dr[1].ToString(); TextBox2.Text = dr[2].ToString(); TextBox3.Text = dr[3].ToString(); TextBox4.Text = dr[4].ToString(); TextBox5.Text = dr[5].ToString(); TextBox6.Text = dr[6].ToString();

57

Human

Resource

Management

TextBox7.Text = dr[7].ToString(); TextBox8.Text = dr[8].ToString(); TextBox9.Text = dr[9].ToString(); TextBox10.Text = dr[10].ToString(); TextBox11.Text = dr[11].ToString(); TextBox12.Text = dr[12].ToString(); TextBox13.Text = dr[13].ToString(); TextBox14.Text = dr[14].ToString(); } Response.Write(@"<script>alert('Select')</script>"); dr.Close(); con.Close(); } protected void Button4_Click(object sender, EventArgs e) { con.Open(); string str = "Delete from Interview Where TextBox1.Text +"'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Delete')</script>"); TextBox1.Text = " "; DropDownList1.Text = " "; TextBox2.Text = " "; TextBox3.Text = " "; TextBox4.Text = " "; PersonalName='" +

57

Human

Resource

Management

TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; TextBox11.Text = " "; TextBox12.Text = " "; TextBox13.Text = " "; TextBox14.Text = " "; con.Close(); } }

TRAINING DETAILS
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts;

57

Human

Resource

Management

using System.Xml.Linq; using System.Data.SqlClient; public partial class Training_details : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji;Integrated Security=True"); SqlCommand cmd = new SqlCommand(); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { con.Open(); String str = "Insert into Training values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + DropDownList1.Text +"','"+ TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "')"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Insert')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; DropDownList1.Text = " "; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " ";

57

Human

Resource

Management

TextBox6.Text = " "; TextBox7.Text = " "; con.Close(); } protected void Button2_Click(object sender, EventArgs e) { con.Open(); string str = "Update Training Set Trainername='" + TextBox2.Text + "',Gender='" + DropDownList1.Text + "',ContactNo='" + TextBox3.Text + "',DateFrom='" + TextBox4.Text + "',DateTO='" + TextBox5.Text + "',TrainingDescription='" + TextBox6.Text + "',[company/ Sponser]='" + TextBox7.Text + "' where TrainingName='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write("@<Script>alert('Update')</Script>"); TextBox1.Text = ""; TextBox2.Text = ""; DropDownList1.Text = " "; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; con.Close(); } protected void Button3_Click(object sender, EventArgs e)

57

Human

Resource

Management

{ con.Open(); string str = "select * from Training Where TrainingName='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); SqlDataReader dr = cmd.ExecuteReader(); while(dr.Read()) { TextBox1.Text = dr[0].ToString(); TextBox2.Text = dr[1].ToString(); DropDownList1.Text = dr[2].ToString(); TextBox3.Text = dr[3].ToString(); TextBox4.Text = dr[4].ToString(); TextBox5.Text = dr[5].ToString(); TextBox6.Text = dr[6].ToString(); TextBox7.Text = dr[7].ToString(); } dr.Close(); con.Close(); } protected void Button4_Click(object sender, EventArgs e) { con.Open(); string str = "Delete from Training Where TrainingName='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con);

57

Human

Resource

Management

cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Delete')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; DropDownList1.Text = " "; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; con.Close(); } }

SALARY DETAILS
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web;

57

Human

Resource

Management

using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq; using System.Data.SqlClient; public partial class Salary_Details : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji;Integrated Security=True"); SqlCommand cmd = new SqlCommand(); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { con.Open(); String str= "Insert into Salary values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + DropDownList1.Text + "','"+TextBox3.Text + "','" + TextBox4.Text + "','" + TextBox5.Text + "','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','" + TextBox9.Text + "','" + TextBox10.Text + "','" + TextBox11.Text + "')"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery();

57

Human

Resource

Management

Response.Write(@"<script>alert('Insert')</script>"); TextBox1.Text = ""; TextBox2.Text = " "; DropDownList1.Text = " "; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; TextBox11.Text = " "; con.Close(); } protected void Button2_Click(object sender, EventArgs e) { con.Open(); string str = "Update salary Set + "',yearofmonth='" + + days='" + + + EmployeeName='" + TextBox2.Text + + + + + + "',Dateofsalary='" TextBox6.Text "',BasicSalary='" TextBox9.Text + + + + "',Gender='" + DropDownList1.Text + "',YearSalary='" + TextBox3.Text TextBox4.Text TextBox7.Text TextBox10.Text TextBox5.Text "',Noofpresent TextBox8.Text "',NoofworkingDays='" "',Overtimehrs='"

"',overtimesalary='"

"',Totalsalary='"

+TextBox11.Text+"' where EmployeeID ='" + TextBox1.Text + "'";

57

Human

Resource

Management

cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write("@<Script>alert('Update')</Script>"); TextBox1.Text = " "; TextBox2.Text = " "; DropDownList1.Text = " "; TextBox3.Text = " "; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; TextBox11.Text = " "; con.Close(); } protected void Button3_Click(object sender, EventArgs e) { con.Open(); string str = "select * from salary Where EmployeeID='" + TextBox1.Text+"'"; cmd = new SqlCommand(str, con); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) {

57

Human

Resource

Management

TextBox1.Text = dr[0].ToString(); TextBox2.Text = dr[1].ToString(); DropDownList1.Text = dr[2].ToString(); TextBox3.Text = dr[3].ToString(); TextBox4.Text = dr[4].ToString(); TextBox5.Text = dr[5].ToString(); TextBox6.Text = dr[6].ToString(); TextBox7.Text = dr[7].ToString(); TextBox8.Text = dr[8].ToString(); TextBox9.Text = dr[9].ToString(); TextBox10.Text = dr[10].ToString(); TextBox11.Text = dr[11].ToString(); } dr.Close(); con.Close(); } protected void Button4_Click(object sender, EventArgs e) { con.Open(); string str = "Delete from Salary Where EmployeeID='" + TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Delete')</script>"); TextBox1.Text = ""; TextBox2.Text = "";

57

Human

Resource

Management

DropDownList1.Text = " "; TextBox3.Text = ""; TextBox4.Text = " "; TextBox5.Text = " "; TextBox6.Text = " "; TextBox7.Text = " "; TextBox8.Text = " "; TextBox9.Text = " "; TextBox10.Text = " "; TextBox11.Text = " "; con.Close(); } }

SALARY REPORT
using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Xml.Linq;

57

Human

Resource

Management

using System.Data.SqlClient; public partial class Salary_Type : System.Web.UI.Page { SqlConnection con = new SqlConnection("Data Source=MATHS-12;Initial Catalog=Viji;Integrated Security=True"); SqlCommand cmd = new SqlCommand(); protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { con.Open(); String str = "Insert into SalaryReport values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" + TextBox4.Text + "')"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Insert')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; con.Close(); } protected void Button2_Click(object sender, EventArgs e) { con.Open();

57

Human

Resource

Management

string str = "Update SalaryReport

Set [Casher Name]='" +

TextBox1.Text + "', [Salary type]='" + TextBox2.Text + "',[Salary given by]='" + TextBox3.Text + "',[salary date]='" + TextBox4.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write("@<Script>alert('Update')</Script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; con.Close(); } protected void Button3_Click(object sender, EventArgs e) { con.Open(); string str = "select * from SalaryReport TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); SqlDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { TextBox1.Text = dr[0].ToString(); TextBox2.Text = dr[1].ToString(); TextBox3.Text = dr[2].ToString(); TextBox4.Text = dr[3].ToString(); Where [Casher Name]='" +

57

Human

Resource

Management

} Response.Write(@"<script>alert('Select')</script>"); dr.Close(); con.Close(); } protected void Button4_Click(object sender, EventArgs e) { con.Open(); string str = "Delete from SalaryReport TextBox1.Text + "'"; cmd = new SqlCommand(str, con); cmd.ExecuteNonQuery(); Response.Write(@"<script>alert('Delete')</script>"); TextBox1.Text = ""; TextBox2.Text = ""; TextBox3.Text = ""; TextBox4.Text = " "; con.Close(); } } Where [Casher Name]='" +

57

Human

Resource

Management

8.2 SCREEN SHOTS Home.aspx LOGIN

EMPLOYEE INFORMATION

57

Human

Resource

Management

EMPLOYEE LEAVE DETAILS

INSIDENT REPORT

57

Human

Resource

Management

TYPE OF LEAVE DETAILS

57

Human

Resource

Management

INTERVIEWDETAILS

TRAINING DETAILS

57

Human

Resource

Management

SALARY DETAILS

SALARY REPORT 57

Human

Resource

Management

57

Human

Resource

Management

CHAPTER 9 CONCLUSION

The Human Resource Management System is developed using .Net(C#.NET) and Sql fully meets the objectives of the system for which it has been developed. The system has reached a steady state where all bugs have been eliminated. The system is operated at a high level of efficiency and all the teachers and user associated with the system understands its advantage. The system solves the problem. It was intended to solve as requirement specification.

57

Human

Resource

Management

CHAPTER 10 BIBLIOGRAPHY 1. Murachs ASP.NET 3.5 web programming with C# 2008 Anne Boehm, Joel Murach. 2. Pro ASP.NET 3.5 IN C# 2008 Matthew MacDonald and Mario Szpuszta. 3. Evangelous Petereous, C#.NET Black Book. 4.Richard E. Fairly, Software Engineering, Tata McGraw Hill publishing Company Limited, New Delhi, 1982.

Web Reference 1. 2. 3. http://www.stackoverflow.com www.asp.net www.aspfree.com

57

Vous aimerez peut-être aussi