Professional Documents
Culture Documents
1. INTRODUCTION
This Project automates the existing manual system for maintaining the details
of the Dairy organization. This project begins with the Login Form, where the
Administrator enters both user id and password; if it matches then he/she will be
allowed to use the application. This document is meant to be used by the developers
to guide them through the Development and for the user to verify his requirements.
Computerizing the process of the Dairy organization will improve the overall
efficiency of the existing system, fulfill the requirements of the customers as well as
to cope up with this changing world and finally to save the time and cost of
maintenance process.
application. This application is implemented in C#.Net as front end and SQL server
2000 as Back end. The design of the project mainly aimed at, to provide a platform
for the effective communication between the dairy, agents, customers and managers.
2. SYSTEM ENVIRONMENT
The system requirements will need some specific software tools while
Purpose: The main purpose for preparing this document is to give a general insight
into the analysis and requirements of the existing system or situation and for
Scope: This Document plays a vital role in the development life cycle (SDLC) As it
describes the complete requirement of the system. It is meant for use by the
developers and will be the basic during testing phase. Any changes made to the
requirements in the future will have to go through formal change approval process.
ABOUT VISUAL C#
INTRODUCTION:
is specifically designed to utilize the internet. User can easily create web-based
application called ActiveX executables internet explorer 4.0 or higher Web Browser.
Visual C# supports ADO (active Data Object), DHTML and ISS (Internet
Information Service), ISAPI’s (Internet Server API). The new formatting, string,
numeric functions and new validate events for input controls increase the learning rate
of novice programmer.
had limited features and dismal performance compared to application written in other
language like C.
C#3.0 became much more database friendly and MS Jet Engine was
C#4.0 supports 32-bit programs; OCX or Active X and DLL were introduced
C#5.0 was first version of C#, which provides a native code machine code. It
DATABASE:
A database management, or DBMS, gives the user access to their data and
helps them transform the data into information. Such database management systems
include dBase, paradox, IMS, SQL Server and SQL Server. These systems allow
SQL Server stores records relating to each other in a table. Different tables
are created for the various groups of information. Related tables are grouped together
to form a database.
Primary Key
Every table in SQL Server has a field or a combination of fields that uniquely
identifies each record in the table. The Unique identifier is called the Primary Key, or
simply the Key. The primary key provides the means to distinguish one record from
all other in a table. It allows the user and the database system to identify, locate and
Relational Database
in one table. SQL Server makes it very easy to link the data in multiple tables.
Matching an employee to the department in which they work is one example. This is
stores data in two or more tables and enables you to define relationships between the
Foreign Key
When a field is one table matches the primary key of another field is referred
to as a foreign key. A foreign key is a field or a group of fields in one table whose
Referential Integrity
Not only does SQL Server allow you to link multiple tables, it also maintains
consistency between them. Ensuring that the data among related tables is correctly
Data Abstraction
of the data. This system hides certain details of how the data is stored and
Physical level: This is the lowest level of abstraction at which one describes how the
Conceptual Level: At this level of database abstraction all the attributed and what
data are actually stored is described and entries and relationship among them.
View level: This is the highest level of abstraction at which one describes only part of
the database.
Advantages of RDBMS
systems (DSS) to the most rigorous online transaction processing (OLTP) application,
even application that require simultaneous DSS and OLTP access to the same critical
data, SQL Server leads the industry in both performance and capability SQL
SERVER is a truly portable, distributed, and open DBMS that delivers unmatched
specially designed for online transactions processing and for handling large database
application.
SQL SERVER with transactions processing option offers two features which
enables all the systems in the organization to be linked into a singular, integrated
computing resource.
Portability
operating systems platforms, including UNIX, MSDOS, OS/2, Macintosh and dozens
Open Systems
SQL Server’s open architecture integrates SQL SERVER and non –SQL SERVER
DBMS with industries most comprehensive collection of tools, application, and third
party software products SQL Server’s Open architecture provides transparent access
stored on remote server with the same ease as if the information was stored on a
single local computer. A single SQL statement can access data at multiple sites. You
availability dictate.
Unmatched Performance
The most advanced architecture in the industry allows the SQL SERVER
by the CPU power or by disk I/O, but user waiting on one another for data access .
SQL Server employs full, unrestricted row-level locking and contention free queries
No I/O Bottlenecks
SQL Server’s fast commit groups commit and deferred write technologies
dramatically reduce disk I/O bottlenecks. While some database write whole data block
to disk at commit time, SQL Server commits transactions with at most sequential log
file on disk at commit time, On high throughput systems, one sequential writes
typically group commit multiple transactions. Data read by the transaction remains as
shared memory so that other transactions may access that data without reading it
again from disk. Since fast commits write all data necessary to the recovery to the log
file, modified blocks are written back to the database independently of the transaction
3. SYSTEM STUDY
problem of the system &what must be done to solve problem. The Analysis of
analyze that we require Design tools and Database tools so we decided to use C#.NET
technology as a front end tool and SQL server as back end tool.
The main problem we are considering here is that the records are maintain
currently in the city are manually, we are making the application such that those
application, so we need to analyze that we require Design tools and data base tools, so
we decided to use C#.Net is compatible platform for front end design and SQL server
13 to 15 or more front end form designs according to that we coded the system
carried out manually, we encounter some problems, like calculation mistakes and
There is huge redundancy of data as separate copies need to prepare for each
correctness of data processing was limited to the capabilities of the data entry
personnel.
The following activities are tedious and time consuming in the manual system
o Generation of reports
The Advancing computer technology has more features, which gives a lot of
and Manager code, manager Name, shift, Address, telephone No ,Supplier code,
Name, shift. The database is being managed by maintaining all these activities by the
software makes easy to maintain details of referred dealers who are associated with
the company.
o This system has computerized the operations done in Dairy milk products. It
requirements.
their requirements.
Generation of reports
records.
4. SYSTEM ANALYSIS
and their relationship within and outside of a system. A key question is a must to be
done to solve the operation. One aspect of the analysis should consider the other
related system. During the analysis data are collected on the available files, decision
points and transaction handled by present system. Some logical system models and
tools are used in analysis. Data flow diagrams, onsite observations and questionnaires
are examples. Training experience and common sense are required for the collection
The system analysis and design refers to the examining a business situation
with the system development can generally thought of as having two major
components.
System Analysis
System Design
Once the analysis is completed, the analyst has a firm understanding of what is
to be done. The next step is to decide how the problem might be solved. Structured
analysis is another way that allows the analyst to develop a new kind of system
specification that is easily understandable to the user. Analyze primarily works with
more detailed feasibility study. Feasibility is test of a system proposal according to its
work ability, impact on the organization, ability to meet user need and effective use of
resources.
that successfully satisfy the user requirement. The technical need of the system may
vary considerably but might include the facility to store data in the database. This
project is operationally feasible. It will not need to change their staff because all
members have least knowledge of computer operations, which this project need.
implemented fully within a stipulated time frame. If project takes too much time it is
The graphical description of a system data and how the processor transforms
the data is known as data flow diagram. Data flow diagrams are used for documenting
the findings in data flow analysis. They graphically show the relation between
processes on data. The transformation of data from input to output. Through the
associated with the system. DFD’s quite easy to read & understand. There are two
Data Flow Diagrams (DFD) depict information that are applied as data move
from input to output it is the starting point of design phase that functionally
decomposes the requirement specification down to the lowest level of detail. Thus a
DFD describes what data flows (Logically) rather than how they are processed. So it
It is one of the most important tools used during system analysis it is used to
model the system components such as the system process, data used by the process
any external entities that interact with the system and information flow in the system.
These are the simple notations which are easily understood by the user and
these involved in the system. Users can be involved in the system. Users can suggest
modification of the DFD for more accuracy. Users can examine charts and starts.
Avoiding mistakes easily may prevent system failure the basic notations used to
External Entity:
Process:
Circle represents a process that transforms incoming data flow into outgoing
data flow.
Data Flow:
Data Store:
E-R DIAGRAM:
5. SYSTEM DESIGN
procedural details, (Algorithm etc...) and interface between the modules. The design
process also translates the requirements in to the representation of software that can
analysis and broader understanding evolve. Software design is at relatively early stage
in its revolution. Therefore, software design methodology lacks the depth, flexibility
and quantitative nature that are normally associated with more classical engineering
disciplines.
design is the first three technical activities-Design, code, and Test that are require
The importance of software Design can be started with a single word quality.
Design is the place where quality fostered in software development. Design provides
us with the representation of the software that can be accessed for quality.
building an unstable system exists-one that will fail when smart changes are made one
P_code int 20
A_code int 20
Username Varchar 20
Password varchar 20
A_code Int 20
A_name Varchar 50
Doj Datetime 20
A_address Varchar 50
A_contact_no Int 50
A_depo_amt varchar 50
A_occupation Varchar 50
A_place Varchar 20
C_code Int 20
P_code Int 10
S_date Datetime 20
Qty_1ltr Varchar 20
Rate Int 50
Amt Int 15
Remarks Varchar 50
C_code Int 20
C_name Varchar 25
C_type Varchar 50
C_gender Varchar 20
C_doj Datetime 50
C_age Varchar 25
C_occupation Varchar 15
C_place Varchar 50
C_address Varchar 25
Amt int
Remarks varchar
Remarks varchar
One of the important factors of an information system for the user is the output
the system produces. Without the quality of the output, the entire system may appear
unnecessary that will make us avoid using possibly causing it to fail. Designing the
The right output must be developed while ensuring that each output element is
designed so that people will find the system easy to use effectively.
whether printed or displayed while designing the output we should identify the
the information and create a document report or other formats that contains produced
by the system.
6. CODING
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
public Form6()
InitializeComponent();
this.Close();
if (button2.Text.Equals("New"))
textBox1.Text = "";
textBox2.Text = "";
textBox3.Text = "";
textBox4.Text = "";
textBox5.Text = "";
textBox6.Text = "";
textBox7.Text = "";
textBox8.Text = "";
textBox1.Focus();
button2.Text = "Save";
else if(button2.Text.Equals("Save"))
if (textBox1.Text.Equals(string.Empty) ||
textBox2.Text.Equals(string.Empty) ||
textBox3.Text.Equals(string.Empty) ||
textBox4.Text.Equals(string.Empty) ||
textBox5.Text.Equals(string.Empty) ||
textBox6.Text.Equals(string.Empty) ||
textBox7.Text.Equals(string.Empty) ||
textBox8.Text.Equals(string.Empty))
return;
x.conn();
x.AgentMaster.Connection = x.cc;
x.cc.Open();
x.AgentMaster.ExecuteNonQuery();
x.cc.Close();
MessageBox.Show("Saved");
button2.Text = "New";
if (button4.Text.Equals("Modify"))
if (textBox9.Text.Equals(string.Empty) )
return;
x.conn();
x.AgentMaster.Connection = x.cc;
x.cc.Open();
x.rd = x.AgentMaster.ExecuteReader();
if (!x.rd.HasRows)
MessageBox.Show("Not found");
x.cc.Close();
return;
textBox1.Text = Convert.ToString(x.rd.GetValue(0));
textBox2.Text = Convert.ToString(x.rd.GetValue(1));
textBox3.Text = Convert.ToString(x.rd.GetValue(2));
textBox4.Text = Convert.ToString(x.rd.GetValue(3));
textBox5.Text = Convert.ToString(x.rd.GetValue(4));
textBox6.Text = Convert.ToString(x.rd.GetValue(5));
textBox7.Text = Convert.ToString(x.rd.GetValue(6));
textBox8.Text = Convert.ToString(x.rd.GetValue(7));
button4.Text = "Update";
else if (button4.Text.Equals("Update"))
if (textBox1.Text.Equals(string.Empty) ||
textBox2.Text.Equals(string.Empty) ||
textBox3.Text.Equals(string.Empty) ||
textBox4.Text.Equals(string.Empty) ||
textBox5.Text.Equals(string.Empty) ||
textBox6.Text.Equals(string.Empty) ||
textBox7.Text.Equals(string.Empty) ||
textBox8.Text.Equals(string.Empty)) {
return;
x.conn();
x.AgentMaster.Connection = x.cc;
x.cc.Open();
x.AgentMaster.ExecuteNonQuery();
x.cc.Close();
MessageBox.Show("Updated");
button4.Text = "Modify";
if (button3.Text.Equals("Delete"))
if (textBox5.Text.Equals(string.Empty))
return;
x.conn();
x.AgentMaster.Connection = x.cc;
x.cc.Open();
x.rd = x.AgentMaster.ExecuteReader();
if (!x.rd.HasRows)
MessageBox.Show("Not found");
x.cc.Close();
return;
textBox1.Text = Convert.ToString(x.rd.GetValue(0));
textBox2.Text = Convert.ToString(x.rd.GetValue(1));
textBox3.Text = Convert.ToString(x.rd.GetValue(2));
textBox4.Text = Convert.ToString(x.rd.GetValue(3));
textBox5.Text = Convert.ToString(x.rd.GetValue(4));
textBox6.Text = Convert.ToString(x.rd.GetValue(5));
textBox7.Text = Convert.ToString(x.rd.GetValue(6));
textBox8.Text = Convert.ToString(x.rd.GetValue(7));
button3.Text = "Remove";
else if (button3.Text.Equals("Remove"))
x.conn();
x.AgentMaster.Connection = x.cc;
x.cc.Open();
x.AgentMaster.ExecuteNonQuery();
x.cc.Close();
MessageBox.Show("Deleted");
button3.Text = "Delete";
7. TESTING
ultimate review of specified design and coding. during system testing the system is
used experimentally to ensure that the software does not fail, i.e. it will run according
to its specification and in the way the user expect special test data are input for
processing and the result examined. A Limited number of users may be allowed to use
the system to see whether they try to use it in unforeseen ways. It is preferable to
Testing begins at the module level and works out word towards the integration
The developer of the software and an independent test group conducts testing
Unit Testing
Integrity Testing
Validation Testing
Output Testing
System Testing
Unit testing focuses on verification effort of the smallest unit of the software
design, using the procedural details as guide, important control paths and out of the
program unit under test. The local data structure is examined to ensure that stored
temporally maintains its integrity during all steps of extension. Unit testing is done for
each of the different objects which are listed individually by taking inputs from real
projects drawings.
conducting tests to uncover errors associated with interfacing, the objective is to take
unit tested and build a program structure that has been detected to be designed
interfacing error have been uncovered and correctly and the final series of software
test, the validation test begins. Validation succeeds when the software function in the
termed useful until it does produce the required output in specified format.
System testing actually a series of different testes whose primary purpose fully
exercise the computer based system. Although each test has different purpose, all
work to verify that system elements have been properly integrates and perform
allocated functions.
Recovery Testing
Recovery testing is the system test that forces the software to fall in a variety
initialization, check pointing, mechanism, data recovery and restart are evaluated for
correctness.
Security Testing
Security testing verifies that protection mechanisms built into system a will
intact, protect it from improper nitration. During security testing, the tester plays rolls
of the individual who desires to penetrate the system. Given enough time and
Stress Testing
Performance Testing
steps in the testing process. Performance test are often coupled with stress testing and
usually required both hardware and software instrumentation. That is, it is often
8. IMPLEMENTATION
operation. It is phase that focuses on user training, site preparation, and file
conversion for installing the system under consideration. The important factor that
should be considered here is that the conversion should not disrupt the following of
the organization.
The objective is to put the tested system into operation while holding costs,
1. Conversion begins with a review of the project plan, the system test
documentation, and the implementation plan. The parties involved are the
4. Parallel processing between the existing and the new systems re initiated.
5. Results of the computer runs and operations for the new system are logged on
a special form.
review are prepared. Following the review, the new system is officially
operational.
The prime concern during the conversion process is copying the old files into
the new system. Once a particular file is selected, the next step is to specify the data to
be converted. A file comparison program is best used for verifying the accuracy of the
copying process.
Well-planned test files are important for successful conversion. An audit trail
was performed on the system since it is the key to detect errors and fraud in the new
system.
During the implementation the user training is most important. In our Web
Server project no heavy training is required. Only training how to design and post the
files and how to use the administration tools and how to get files etc.
extent to which the system accomplishes stated objectives and actual project cost
exceeds initial estimates. It is usually a review of major problems that need converting
and those that surfaced during the implementation phase. The team prepares a review
plan around the type of evaluation to be done and the time frame for its completion.
The plan considers administrative, personnel, and system performance and the
Maintenance:
4. Programs are often maintained without care for structure and documentation.
additional or changing needs. Of these types, more time and money are spent on
List of Abbreviations:
Figures:
Tables:
10. CONCLUSION
system. The software is more users friendly. It is developed using ASP.Net as a front-
end and SQL server as a back-end whose friendliness has already been described.
problems that are present in the manual system. Reports generated with live data have
The newly developed system consumes less processing time and reduces the
manual work that was carried on earlier, hence increase the productivity. Since
screens provide online help messages that are user friendly and any end user can get
This package can be used by any user having basic knowledge of computer.
This package has been developed in such a way that it can be very easy to operate.
BIBLIOGRAPHY
Visual C#
- Mohammed Azam