A Project Report On Production Planning Based On Sales Forecasting
A Project Report On Production Planning Based On Sales Forecasting
A Project Report On Production Planning Based On Sales Forecasting
CONTENTS
S.No. CHAPTERS NAME Page. No.
01
INTRODUCTION
02
02
DEVELOPMENT ENVIRONMENT
04
03
SYSTEM ANALYSIS
18
04
SYSTEM DESIGN
22
05
TESTING
40
06
SAMPLE SCREENS
45
07
SAMPLE CODING
52
08
CONCLUSION
61
09
BIBLIOGRAPHY
62
Page 1
CHAPTER-1 INTRODUCTION
1.1 INTRODUCTION TO PROJECT:
Production Forecasting is intranet-based application that concentrates on the arteries of commercial transactions, which is properly established between the Sales team and the Production Team in conducting the general sales transactions. The application acts as a bridge between the Sales team and the production team to run the general business transactions of the sales in integration of the production and marketing team with the use of the Electronic media. This application helps the commercial people to gain through the accessibility of this business process with a formula of 24 * 7 * 365 day standard.
The Actual purpose is designing the application as the present system is to improve the accessibility for the administrator, Sales manager and production manager in fulfilling their needs, as per the required transactional state. The administrator can reach through his needs at the click of a mouse. The entire system becomes false proof and higher levels of satisfaction prevails at the side of the administrator, as the information related to the products their availability is at the reach of his hands.
This application design helps the administrator to maintain the business transactions to run in smoother way involving the basic transactions between the sales team and production team and their coordination. This application takes care of the all the employee details with respect to their designations and concern departments Dept of Computer Science AMES Degree Science College Raichur Page 2
A project Report On Production planning based on Sales Forecasting information. It even involves the maintenance if the inventory details of the products, their model details and the available stock records. The Production details even involve the maintenance of the supplier s information with the concerned raw material requirements information to raise the production according the forecast done by the Sales manager.
The total portal has been planned to be associated through the conceptual constant of the .NET technologies, the concept handles the latest trends that are set for higher data transfer rates optimized bandwidth utilizations of the network by using the VB.NET & ASP. NET technologies.
Page 3
: : : :
Page 4
Software Requirement Specification: The SRS is the starting point of the software activity. It is produced at the culmination of the analysis task. The function and performance allocated to software as part of description, detailed functional constant description, appropriate validation criteria and other data requirement specification consists of the basic activities, they are 1) Problem analysis. 2) System Requirement Specification.
The purpose of SRS is to bridge the communication gap between user and the programmers. SRS is the medium, which the client and user needs are accurately and unambiguously specified. Indeed SRS forms the basis for the software development.
Software Design
Page 5
Problem Analysis: Problem Analysis involves the client and end users. One of the major activities during problem analysis is how to organize the information obtained, so the information can be effectively evaluation for completeness and consistency.
System Requirement Specification: Before any software is developed the requirement are setup. System requirements describe the tests that must be met for so the software to be accepted by the user and the programmer. System requirements study is the medium through which the client and the user needs are accurately specified.
User Requirement Specification: User requirement specification describes the relation between the input and the output of the system. For each requirement of the user a description of all data and their source, the unit of measure the range of valid input must be specified. This face deals with requirement of the user for this system. The user is willing to participate in the conferencing. The system also user-friendly interfacing.
Page 6
Page 7
A project Report On Production planning based on Sales Forecasting Earlier windows applications because the cod for the class library contains the details that you do not need to specify while writing your programs. Components of .NET Framework .NET Framework provides the necessary compile time and runtime foundation to build and run .NET based applications. Compile time refers to the time when a compiler compiles code written in a programming language into an executable form. Runtime describes the operation of a computer program; the duration of its execution from beginning to termination. .NET Framework consists of different components that help to build and run .NET based application, which are: Common Language Runtime(CLR) Microsoft Intermediate Language(MSIL) Just In Time(JIT) Assemblies
Page 8
A project Report On Production planning based on Sales Forecasting Foundation of developers to build various types of applications. Whether a developer is writing an ASP.NET application, a windows Forms application, a web service, a mobile code application, a distributed application, or an application that combines several of these application mobiles, the CLR provides huge benefits such as simplified development and the ability to integrate code written in various languages. The code executed by the common language runtime environment rather than by the operating system is known as managed code alternatively, the code executed directly by the operating system and not by the Common Language Runtime is called unmanaged code.
Page 9
Assemblies
Every software application has an executable file (.exe). Apart from the executable file, there are Dynamic Link Libraries (DLL) and Library (LIB) files, which contain the compiled code of some commonly, used functions. These files come along with the software application and are necessary for the application. In terms of .NET runtime, the process of packaging is called assembling. An assembly contains of metadata, and other files required executing .NET program successfully. In .NET framework, assemblies play an important role. An assembly is a fundamental unit of development. Deployment is the process wherein you install an application on a machine assembled can be created with the help of some development tools like Visual Studio 2005 or with the help of tools provided in the .NET framework Software Development Kit (SDK). We can make our assemblies in the form of .dll or .exe files using Visual Studio 2005
Page 10
Many new features have been added in Visual C# 005 to increase the productivity of Visual C# developers. These features help developers to create C# applications easily and efficiently. Following is list of new features added to Visual C# 2005: IntelliSense code snippets feature: With this feature, when user right-clicks in the Visual C# code editor and selects a task from a hierarchical list, the predefined code corresponding to the selected task automatically inserted into the source file. Dept of Computer Science AMES Degree Science College Raichur Page 11
Edit and Continue: This is a debugger feature that allows you to pause an application being debugged, make changes to the code, and then continue without a full project recompile. Even in the break mode, a visual C# developer can modify a code and debug the errors. This change in Visual C# 2005 has been specially welcomed by Visual C# developers.
Exception assistant: The exception assistant provides standard information about runtime exceptions and suggests methods to handle them. It mostly provides the location of line in the code where the runtime exception has occurred.
Snap lines: This new feature has been added to windows forms in Visual C# 2005. With the snap lines feature, you can easily align controls according to the alignment of other controls in windows forms.
XML code comments: Visual C# 2005 provides support for inserting XMLbased comments in a source code file. You can easily extract, parse, and convert these XML code comments into documentation.
Page 12
Generics: Use this feature to parameterize classes, struts, interfaces and methods by the types of data stored and manipulated by them. application. .NET Framework provides a set of generic collection classes as part of the System.Collections.Generic namespace.
Support for unsigned Integer Types: In Visual C# 2005, you can create and use .NET Framework unsigned integer types and also perform mathematical operations on the values of unsigned integer type. Visual C# 2005 not only supports unsigned integer types fully, but also allows conversion between them.
Partial Classes: It is possible to split the definition of a class or a strut, or an interface over to or more source files. Each source file contains a section of the class definition, and all parts are combined when the application is compiled. In other words, the same class can be stored, with different members, in different physical locations. It would be help full for those programmers, who are working on large projects. Spreading a class over separate files in allows multiple programmers to work on it simultaneously.
Page 13
Background worker object: This feature helps handle asynchronous processing and ensures that the call back procedure runs on the correct thread. In Visual C# 2005, you can easily drag the background worker object control from the tool box and drop it on to the design surface to run slow running processes as background tasks.
SQL Server 2005 can be more accurately described as an Enterprise Data Platform. It offers many new features and even more enhanced or improved features from previous editions of the product. In addition to traditional RDBMS duty, SQL Server 2005 also provides rich reporting capabilities, powerful data analysis, and data mining, as well as features that support asynchronous data applications, data-driven event notification, and more.
Page 14
A project Report On Production planning based on Sales Forecasting This book is primarily focused on the administration of the Database Engine. However, as mentioned, SQL Server 2005 includes many more features than just the relational engine. In light of that, it is important to start with some point of common reference. This section introduces the features of SQL Server 2005. It is not meant to be all-inclusive, but it will provide the context for the remainder of the book.
Later chapters go into greater detail and delve into the technologies behind each feature and how they affect you, the database administrator. SQL Server 2005 is such an enormous product that no one book could possibly cover every feature in detail, so some features will only be covered briefly as an introduction, while the core administrative features will be described in greater detail.
Database Engine
The Database Engine is the primary component of SQL Server 2005. It is the Online Transaction Processing (OLTP) engine for SQL Server, and has been improved and enhanced tremendously in this version. The Database Engine is a high-performance component responsible for the efficient storage, retrieval, and manipulation of relational and Extensible Markup Language (XML) formatted data.
SQL Server 2005s Database Engine is highly optimized for transaction processing, but offers exceptional performance in complex data retrieval operations. The Database Engine is also responsible for the controlled access and modification of data through its security subsystem. SQL Server 2005s Database Engine has many major improvements to support scalability, availability, and advanced (and secure) programming objects:
Page 15
A project Report On Production planning based on Sales Forecasting Physical partitioning of tables and indexesTables and indexes can now be physically partitioned across multiple file groups consisting of multiple physical files. This dramatically improves the performance of data retrieval operations and maintenance tasks that are executed against very large tables. (See Chapter 5 for more information).
Data Definition Language (DDL) triggersDDL triggers can be used to execute commands and procedures when DDL type statements are executed. In the past, modifications to the database could go undetected until they caused an application to fail. With DDL triggers, a history of all actions can be easily recorded or even prevented. DDL triggers can be placed at the server or database level.
Enhanced variable-length data typesA new MAX keyword has been added to varchar, Nvarchar and varbinary data types that allow the allocation of up to 2GB of space for large object variables. One of the chief advantages of this addition is the ability to use large value types in the declaration and use of variables.
XML data typeThe new XML data type enables the storage of well-formed and schema validated XML data. It also brings rich support in the form of XML data type methods, along with enhancements to OPENXML and FOR XML T-SQL commands.
Multiple Active Result Sets (MARS)MARS allows for clients to maintain more than one data request per connection. For example, in the past, if a connection was opened in an application, only one data reader could be opened to retrieve data from the database. To open another data reader, the first one had to be closed. With MARS, this limitation is removed.
Page 16
Structured error handlingT-SQL now includes the ability to perform structured error handling in the form of TRY and CATCH commands that remove the necessity of repeated checks for errors in scripts, and the ability to elegantly handle any errors that do occur.
Common Table Expressions (CTE)Microsoft has extended the American National Standards Institute (ANSI) compliance of T-SQL by including the ability to use the CTE object. CTEs are extraordinarily useful in the creation of efficient queries that return hierarchical information without the need for using lengthy and complicated recursive sub-queries.
Security enhancementsSQL Servers security architecture has been enhanced considerably with the ability to enforce account policies on SQL Server logins. Other additions to SQL Servers security architecture include the control of execution context and the ability to create encryption keys and certificates to control access and guarantee the integrity of database objects through the use of digital signatures.
Page 17
It involves the transactions of viewing the orders information generated by the sales team, issuing the alerts against the non submission of orders information. If the administrator has to conduct the business by employing a flexible relation between the Sales and Production teams in association with other organization parts, he should have ready lines of information about, the suppliers who practically exist for the supply of raw material, Sales team who conduct the process of organizing the sales and Production team who organizes the production process and finally the inventory team Dept of Computer Science AMES Degree Science College Raichur Page 18
A project Report On Production planning based on Sales Forecasting which maintains the details of the all the products associated models details in supporting the sales team in increasing the sales. If it is doing through manual it is the costly process and it takes more time to perform it. If it is handled through web based the process is cheap and it takes less time.
A project Report On Production planning based on Sales Forecasting Unnecessary time wastage for market survey.
administrator can reach through his needs at the click of a mouse. If the administrator has to conduct the business by employing a flexible relation between the Sales and Production teams in association with other organization parts, he should have ready lines of information about, the suppliers who practically exist for the supply of raw material, Sales team who conduct the process of organizing the sales and Production team who organizes the production process and finally the inventory team which maintains the details of the all the products associated models details in supporting the sales team in increasing the sales. This process always costs some extra time for the administrator to monitor all the details and conduct the business transactions in smoother way.
But the same scenario if it is handled through the intranet based application, which will always give the administrator a used variety of choice with many different products from different models at his reach maintain the business transactions. The Dept of Computer Science AMES Degree Science College Raichur Page 20
A project Report On Production planning based on Sales Forecasting customer need not even make a move physically from his place to get the required information of suppliers and products. The customer has a deeps satisfaction is processing a product of his choice respective of geographical lassies. Which are major handles is a manual system. These are the advantages of this system.
INCREASE OF THE SERVICE LEVEL. INCREASE OF THE PROFIT MARGIN. MINIMUM INVENTORY INVESTMENTS. No wastage of products. Time saving.
Page 21
A project Report On Production planning based on Sales Forecasting Sharing of data. Maintenance of integrity. Data independence. Control over security. Hardware independence.
Normalization:
Normalization is a process of simplifying relationship between data element in a record. The normalization technique, logical groups the data over number of tables with minimum redundancy of data. The entities are tables resulting from normalization contain data items, with relationship being represented by replication of data items. Need for Normalization: Improves database design. Ensure minimum redundancy of data. Reduce need to reorganize data when design is modified /enhanced. Removes anomalies for database activities.
Steps in Normalization: First Normal Form (1NF): No Repeating Groups. Identify repeating groups of fields. Remove repeating groups to separate table. Identify the keys for the tables.
Second Normal form (2NF): No non-key attributes depend on a Portion of the primary key. Check if all the fields are dependent on whole key. Remove fields that depend on part of the key. Group partially dependent fields as a separate table. AMES Degree Science College Raichur Page 23
A project Report On Production planning based on Sales Forecasting Name of the tables. Identify key to the tables.
Third Normal form (3NF): No attributes depend upon other non-key a Attributes. Remove fields that are. Depend upon other non-key attribute. Can be calculated or derived from logic. Group interdependent fields as separate tables; identify the keys and name of the tables. Relationships: Tables in a database can be related to one another on the common field, which usually is the key field of the table. A key as a special attribute by which the field can be uniquely identified. The types of keys are primary key, foreign key, and candidate key. Primary key: Primary key is one or more column (fields) in a table to uniquely each row in the table. It identifies the column, as mandatory column i.e., the column cannot be left blank. The data held across the column must be unique.
Page 24
A project Report On Production planning based on Sales Forecasting A single column primary key is called a simple key. A multicolumn primary key is called a composite primary key. Only when a record cannot be uniquely identified using the column in a single column, than composite key is defined. Foreign key: Foreign key is a column (or groups of columns or fields) whose values are derived from primary key or unique key of some other table.
DATABASE TABLES
Page 25
Page 26
Page 27
4.2 Diagrams
The original code was inherited from Sybase and designed for eight-megabyte Unix systems in 1983.These new formats improve manageability and scalability and allow the server to easily scale from low-end to high-end systems, improving performance and manageability.
Benefits
There are many benefits of the new on-disk layout, including: Improved scalability and integration with Windows NT Server. Better performance with larger I/Os. Stable record locators allow more indexes. More indexes speed decision support queries. Simpler data structures provide better quality.
Page 28
Ta ble I ndexes
A SQL Server index is a structure associated with a table that speeds retrieval of the rows in the table. An index contains keys built from one or more columns in the table. These keys are stored in a structure that allows SQL Server to quickly and efficiently find the row or rows associated with the key values. This structure is called a heap. The two types of SQL Server indexes are clustered and non-clustered indexes.
Im pr o ve d Da ta St ora ge
Page 29
Data is normalized in different forms: First normal form: Data is in first normal form if data of the tables is moved in to
separate tables where data in each table is of a similar type, giving each table a primary key a unique label or an identifier. This eliminates repeating groups of data.
Involves removing the transitive dependencies. This means getting rid of any thing in the tables that doesnt depend solely on the primary key. Thus, through normalization, effective data storage can be achieved eliminating redundancies and repeating groups.
Page 30
Data scripts
Database scripts have been implemented extensively in this project which are used for entering and retrieving the data efficiently data efficiently. There are 30 tables in the whole project and each of them have been assigned primary key and foreign key constraints and relations between them. The scripts are generated by SQL server 2005 and implementation is purely backend.
Depending upon the products list available admin finalizes the sale transactions
Sales officer checks the data in the system for inventory status and raises sales forecast to the Production team
Production team starts production of the demanded products described through sales forecast
Admin monitors the sales conducted and checks for the Dept of Computer Science sales forecast submitted
Production team and If Not submitted Production sales team coordinate Manager and admin raises a alert AMES Degree Science College Raichur for better Page 31 sales of the to the sales officer products
Introduction to UML
The unified modeling language is a standard language for writing s/w blue prints. The UML may be used to visualize, specify construct and document the artic rafts of a s/w intensive of a system. The UML is appropriate for modeling system ranging from enterprises information system distributed web based applications and even to hard real time embedded systems. The UML is only language and so is only just one part of a s/w development method. The UML is process independent, although optimally it should be used in a process that is driven, architecture-centric, iterative and incremental. The UML is a language for visualizing, specifying, constructing, documenting the artic rafts of a s/w intensive system. A modeling language is a language whose vocabulary and rules focus on the conceptual and physical representation of a system. A modeling language such as the UML is thus a standard language for s/w blueprints. The UML is a graphical language, which consists of all interesting systems; there are also different structures that are transcending what can be represented in a programming language. The UML is more than just the branch of graphical symbols.Rather, behind each symbol in the UML notation is a well-defined semantics.
Page 32
A project Report On Production planning based on Sales Forecasting UML is specifically constructed through two different domains they are i. UML Analysis modeling, which focuses on the user model and
structural model views of the system ii. UML design modeling, which focuses on the behavioral modeling, implementation modeling and environmental model views.
defining a ii.
To provide a class and unambiguous description of how the end user interact with one another.
Page 34
Page 35
Page 37
Page 38
Page 39
The total system after careful analysis has been identified to contain the follows modules.
Page 40
CHAPTER -5 TESTING
Testing is the process of detecting errors. Testing performs a very critical role for quality assurance and for ensuring the reliability of software. The results of testing are used later on during maintenance also. Psychology of Testing The aim of testing is often to demonstrate that a program works by showing that it has no errors. The basic purpose of testing phase is to detect the errors that may be present in the program. Hence one should not start testing with the intent of showing that a program works, but the intent should be to show that a program doesnt work. Testing is the process of executing a program with the intent of finding errors. Testing Objectives The main objective of testing is to uncover a host of errors, systematically and with minimum effort and time. Stating formally, we can say: Testing is a process of executing a program with the intent of finding an error. A successful test is one that uncovers an as yet undiscovered error. A good test case is one that has a high probability of finding error, if it exists. The tests are inadequate to detect possibly present errors. The software more or less confirms to the quality and reliable standards.
Levels of Testing Dept of Computer Science AMES Degree Science College Raichur Page 41
A project Report On Production planning based on Sales Forecasting In order to uncover the errors present in different phases we have the concept of levels of testing. The basic levels of testing are as shown below
Acceptance Testing
System Testing
Integration Testing
Design
Unit Testing
System Testing The philosophy behind testing is to find errors. Test cases are devised with this in mind. A strategy employed for system testing is code testing. Code Testing: This strategy examines the logic of the program. To follow this method we developed some test data that resulted in executing every instruction in the program and module i.e. every path is tested. Systems are not designed as entire nor are they tested as single systems. To ensure that the coding is perfect two types of testing is performed or for that matter is performed or that matter is performed or for that matter is performed on all systems.
Page 42
A project Report On Production planning based on Sales Forecasting Types of Testing 1. Unit Testing 2. Link Testing Unit Testing Unit testing focuses verification effort on the smallest unit of software i.e. the module. Using the detailed design and the process specifications testing is done to uncover errors within the boundary of the module. All modules must be successful in the unit test before the start of the integration testing begins. In this project each service can be thought of a module. There are so many modules like Login, HWAdmin, MasterAdmin, Normal User, and P Manager. Giving different sets of inputs has tested each module. When developing the module as well as finishing the development so that each module works without any error. The inputs are validated when accepting from the user. In this application developer tests the programs up as system. Software units in a system are the modules and routines that are assembled and integrated to form a specific function. Unit testing is first done on modules, independent of one another to locate errors. This enables to detect errors. Through this errors resulting from interaction between modules initially avoided.
Link Testing Dept of Computer Science AMES Degree Science College Raichur Page 43
A project Report On Production planning based on Sales Forecasting Link testing does not test software but rather the integration of each module in system. The primary concern is the compatibility of each module. The Programmer tests where modules are designed with different parameters, length, type etc. Integration Testing After the unit testing we have to perform integration testing. The goal here is to see if modules can be integrated properly, the emphasis being on testing interfaces between modules. This testing activity can be considered as testing the design and hence the emphasis on testing module interactions. In this project integrating all the modules forms the main system. When integrating all the modules I have checked whether the integration effects working of any of the services by giving different combinations of inputs with which the two services run perfectly before Integration. System Testing Here the entire software system is tested. The reference document for this process is the requirements document, and the goal is to see if software meets its requirements. Here entire ATM has been tested against requirements of project and it is checked whether all requirements of project have been satisfied or not. Acceptance Testing Acceptance Test is performed with realistic data of the client to demonstrate that the software is working satisfactorily. Testing here is focused on external behavior of the system; the internal logic of program is not emphasized. In this project Production Planning based on sales forecasting I have collected some data and tested whether project is working correctly or not.Test cases should be selected so that the largest number of attributes of an equivalence class is exercised at once. The testing phase is an important part of software development. It is the process of finding Dept of Computer Science AMES Degree Science College Raichur Page 44
A project Report On Production planning based on Sales Forecasting errors and missing operations and also a complete verification to determine whether the objectives are met and the user requirements are satisfied. White Box Testing This is a unit testing method where a unit will be taken at a time and tested thoroughly at a statement level to find the maximum possible errors. I tested step wise every piece of code, taking care that every statement in the code is executed at least once. The white box testing is also called Glass Box Testing. I have generated a list of test cases, sample data,.which is used to check all possible combinations of execution paths through the code at every module level. Black Box Testing This testing method considers a module as a single unit and checks the unit at interface and communication with other modules rather getting into details at statement level. Here the module will be treated as a block box that will take some input and generate output. Output for a given set of input combinations are forwarded to other modules. Criteria Satisfied by Test Cases Test cases that reduced by a count that is greater than one, the number of additional test cases that much be designed to achieve reasonable testing. Test cases that tell us something about the presence or absence of classes of errors, rather than an error associated only with the specific test at hand.
CHAPTER-6
Dept of Computer Science AMES Degree Science College Raichur Page 45
SAMPLE SCREENS
1. Home Page
2. Admin Page
Dept of Computer Science AMES Degree Science College Raichur Page 46
4. Department Page
Dept of Computer Science AMES Degree Science College Raichur Page 47
Page 48
Page 49
Page 50
9. Sales Report
10.Customer Details
Page 51
11.Processing Orders
Page 52
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <asp:ContentPlaceHolder id="head" runat="server"> </asp:ContentPlaceHolder> <link href="App_Themes/Theme1/stylesheet/style.css" rel="stylesheet" type="text/css" /> <style type="text/css"> .style2 { font-family: Andalus; color: #FF0066; } p.MsoNormal {margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif"; margin-left: 0in; margin-right: 0in; margin-top: 0in; } </style> </head> <body> <form id="form1" runat="server">
<div id="container"> <div class="header"> <div class="topmenu"> <ul> <li><a href="Main.aspx">Home</a></li> <li><a href="Default.aspx">Administration</a></li> <li><a href="SalesLogin.aspx">Sales</a></li> <li><a href="ProdLogin.aspx">Production</a></li> <li><a href="AboutUs.aspx">AboutUs</a></li> <ul> </div> </div>
Page 53
Page 54
Page 55
<div class="workzone-right"> <asp:ContentPlaceHolder id="ContentPlaceHolder2" runat="server"> <div> <h1> Latest News & Events</h1> <div> <div class="newssubheading"> 18th January, 2013</div> <div> </div> </div> <div> <div class="newssubheading"> 18th January, 2013</div><div></div> </div> <div> <div class="newssubheading"> 18th January, 2009</div><div></div> </div> <div class="clear"> </div> </div></asp:ContentPlaceHolder> </div> <div class="clear"></div> </div> <div class="clear"></div> </div> <div class="clear"></div> <div class="footer"> <div class="footerinside"> <div class="footerlink"> Copyright (c) Sitename.com. All rights reserved. Design by Vijay Lakshmi. iv>
Login.aspx
Page 56
Login.aspx.cs
using using using using using using using using using System; System.Collections.Generic; System.Linq; System.Web; System.Web.UI; System.Web.UI.WebControls; System.Data.SqlClient; System.Configuration; System.Data;
public partial class SalesLogin : System.Web.UI.Page { SqlConnection scon = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ToString()); protected void Page_Load(object sender, EventArgs e) { }
Page 57
Employee.aspx
Page 58
Page 59
Page 60
public partial class Admin_Employee : System.Web.UI.Page { SqlConnection scon = new SqlConnection(ConfigurationManager.ConnectionStrings["con"].ToString()); protected void Page_Load(object sender, EventArgs e) { GridView1.Visible = false; } protected void Button1_Click(object sender, EventArgs e) { scon.Open(); SqlCommand cmd = new SqlCommand("insert into Employee values(" + txtEmpId.Text + ",'" + txtName.Text + "','" + txtDOB.Text + "','" + txtDOJ.Text + "','" + txtDesig.Text + "'," + DeptId.Text + ")", scon); cmd.ExecuteNonQuery(); scon.Close(); Label1.Text = "Employee Registered successfully"; txtEmpId.Text = ""; txtName.Text = ""; txtDOJ.Text = ""; txtDOB.Text = ""; txtDesig.Text = ""; txtEmpId.Focus(); } protected void Button2_Click(object sender, EventArgs e) { GridView1.DataBind(); GridView1.Visible = true; } }
Page 61
CHAPTER-8 CONCLUSION
The entire project has been developed and deployed as per the requirement started by the user, It is found to be bug free as per the the testing standards that are implemented any specification untraced errors will be concatenated in the coming versions which are planned to be developed in near future.
Future Enhancement
The system at present does not take care of the money payment methods, as the consolidated constructs need SSL standards and are critically to be initiated in the first face, the application of the credit card transactions is applied as a developmental phase in coming days. The system needs more elaborative technicality for its inception and evaluation
Page 62
CHAPTER-9 BIBLIOGRAPHY
Page 63