final project document for wbrms

Upload: arunsaivarajan2917

Post on 08-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 Final Project Document For WBRMS

    1/60

  • 8/7/2019 Final Project Document For WBRMS

    2/60

    SYNOPSIS

    The functionality of this web tool can be expressed by considering a Company has an internet

    based product called Info bar, which allows users to view useful links from different sites on

    topics of his/her interest

    To encourage the usage of the Info bar, the company has a reward point scheme. 10 points are

    rewarded on usage of Info bar for 1 hr. When a user accumulates over 100 points, he can redeem

    them for a gift of his choice.

    This project aims at building a Reward Points Management System for the customer support

    team of the company.

    Objectives are to build

    A data store for user information

    Web site supporting functionalities like - Search/sort/add/delete/view/modify etc on user

    information

    Modules for bonus point allocation

    Facility to add information on different gifts available and bonus points against them

    Facility to detect fraud/duplicate users

    Generate report on number of users using the Info bar in a month, their responses to

    various schemes etc

    Communicate user via email to notify him about various incentives and bonus point

    schemes, get his feedback etc

  • 8/7/2019 Final Project Document For WBRMS

    3/60

  • 8/7/2019 Final Project Document For WBRMS

    4/60

    1.1 PROBLEM DESCRIPTION

    Reward management is a central activity to regulate the employer-employee relationships.

    Employers use a wide variety of rewards to attract and motivate the employees and retain their

  • 8/7/2019 Final Project Document For WBRMS

    5/60

    interest in the job.The design of the reward system for employees is subject to internal and

    external factors affecting an organizations performance. Also, the organizational objectives are

    kept in mind before designing the reward structures.

    Pay is an important feature of human resource management - after all, it is the main reason whypeople work. It is a sensitive and controversial area that has been extensively debated at both

    practical and theoretical levels. In the US the term 'compensation' is used to encompass

    everything received by an employed individual in return for work.

    The reward or compensation people receive for their contribution to an organization includes

    monetary and non-monetary components. Remuneration does not simply compensate employees

    for their efforts - it also has an impact on the recruitment and retention of talented people.

    The term 'reward management' covers both the strategy and the practice of pay systems.

    Traditionally, human resource or personnel sections have been concerned with levels and

    schemes of payment whereas the process of paying employees - the payroll function - has been

    the responsibility of finance departments. There is a trend towards integrating the two, driven by

    new computerised packages offering a range of facilities. These are described later in this

    chapter.

    There are two basic types of pay schemes, although many organisations have systems which

    include elements of both:

    * Fixed levels of pay. Wages or salaries which do not vary from one period to the next

    except by defined pay increases, generally on annual basis. There may be scales of

    payments determined by age, responsibility or seniority. Most 'white-collar' jobs were

    paid in this way until recently.

    * Reward linked to performance. The link may be daily, weekly, monthly or

    annualised. Payment for any one period varies from that for any other period, depending

  • 8/7/2019 Final Project Document For WBRMS

    6/60

    on quantity or quality of work. Sales functions are commonly paid on the basis of

    turnover; manual and production workers may be paid according to work completed or

    items produced. Catering staff typically rely on direct payment from satisfied customers

    in the form of service charges or tips (gratuities).

    Both methods work smoothly, provided that scales are easy to understand and the methods of

    measuring completed work are overt, accurate and fair. However, there has been considerable

    dissatisfaction with the management of pay on both sides of the employment relationship. In

    recent years, attempts have been made to remedy the situation through new systems and a greater

    reliance on performance-related pay.

  • 8/7/2019 Final Project Document For WBRMS

    7/60

    2.1 HARDWARE REQUIREMENT

    Processor Pentium 4RAM 1GB of minimumCatch memory 512 of minimum

  • 8/7/2019 Final Project Document For WBRMS

    8/60

    Video Adapter SVGA Color Video Display of min 32MB

    VRAMWork Space A minimum wok space of 2GB in the root

    directory

    Video Resolution 1024 x 768 pixels with 32 bit High color

    2.2 SOFTWARE REQUIREMENT

    Operating System Win XPApplication Developer Visual Studio 2005WebServer Asp.Net Development Server Designing Tool Visual Studio 2005Text Editor Ms-Word

  • 8/7/2019 Final Project Document For WBRMS

    9/60

  • 8/7/2019 Final Project Document For WBRMS

    10/60

    3.1 EXISTING SYSTEM:

    The whole process of creating banner like info bar and tracing each and every touch that

    it got from the customer side are being done by means of regular watching on the polls or

    feedback that comes as reflection from the info bar. The manual means of tracing was the only

    possible solution beyond the days.

    Disadvantage of the Current System

  • 8/7/2019 Final Project Document For WBRMS

    11/60

    The current system is very time consuming.

    It is very difficult to analyze the exam paper manually.

    To take exam of more candidates more invigilators are required but no need of

    invigilator in case of on line exam.

    Results are not precise as calculation and evaluations are done manually.

    The chances of paper leakage are more in current system as compared to proposed

    system.

    Result processing takes more time as it is done manually

    3.2 PROPOSED SYSTEM

    The tracing of the banner bars by means of an automated manner and giving claims in an

    online means gives the following features:

    In comparison to the present system the proposed system will be less time

    consuming and is more efficient.

    Analysis will be very easy in proposed system as it is automated

  • 8/7/2019 Final Project Document For WBRMS

    12/60

    Result will be very precise and accurate and will be declared in very short span of

    time because calculation and evaluations are done by the simulator itself.

    The proposed system is very secure as no chances of leakage of question paper as

    it is dependent on the administrator only.

    The logs of appeared candidates and their marks are stored and can be backup for

    future use

  • 8/7/2019 Final Project Document For WBRMS

    13/60

    4.1 Microsoft Visual Studio

    Microsoft Visual Studio is an Integrated Development Environment (IDE) from

    Microsoft. It can be used to develop console and graphical user interface applications along with

    Windows Forms applications, web sites, web applications, and web services in both native code

    together with managed code for all platforms supported by Microsoft Windows, Windows

    Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silverlight.

  • 8/7/2019 Final Project Document For WBRMS

    14/60

  • 8/7/2019 Final Project Document For WBRMS

    15/60

    also responsible for coordinating and enabling communication between services. All editors,

    designers, project types and other tools are implemented as VSPackages. Visual Studio uses

    COM to access the VSPackages. The Visual Studio SDK also includes the Managed Package

    Framework (MPF ), which is a set of managed wrappers around the COM-interfaces that allow

    the Packages to be written in .NET languages. However, MPF does not provide all the

    functionality exposed by the Visual Studio COM interfaces. The services can then be consumed

    for creation of other packages, which add functionality to the Visual Studio IDE.

    Support for programming languages is added by using a specific VSPackage called a

    Language Service . A language service defines various interfaces which the VSPackage

    implementation can implement to add support for various functionality. Functionality that can be

    added this way includes syntax coloring, statement completion, brace matching, parameter information tooltips, member lists and error markers for background compilation. ] If the interface

    is implemented, the functionality will be available for the language. Language services are to be

    implemented on a per-language basis. The implementations can reuse code from the parser or the

    compiler for the language. Language services can be implemented either in native code or

    managed code. For native code, either the native COM interfaces or the Babel Framework (part

    of Visual Studio SDK) can be used. For managed code, the MPF includes wrappers for writing

    managed language services.

    Visual Studio does not include any source control support built in but it defines the

    MSSCCI (Microsoft Source Code Control Interface) by implementing which source control

    systems can integrate with the IDE. MSSCCI defines a set of functions that are used to

    implement various source control functionality . MSSCCI was first used to integrate Visual

    SourceSafe with Visual Studio 6.0 but was later opened up via the Visual Studio SDK. Visual

    Studio .NET 2002 used MSSCCI 1.1, and Visual Studio .NET 2003 used MSSCCI 1.2. Both

    Visual Studio 2005 and 2008 use MSSCCI Version 1.3, which adds support for rename and

    delete propagation as well as asynchronous opening.

    Visual Studio supports running multiple instances of the environment (each with its own

    set of VSPackages). The instances use different registry hives to store their configuration state

    and are differentiated by their AppId (Application ID). The instances are launched by an AppId-

    specific .exe that selects the AppId, sets the root hive and launches the IDE. VSPackages

    http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#cite_note-10http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#cite_note-10
  • 8/7/2019 Final Project Document For WBRMS

    16/60

  • 8/7/2019 Final Project Document For WBRMS

    17/60

  • 8/7/2019 Final Project Document For WBRMS

    18/60

  • 8/7/2019 Final Project Document For WBRMS

    19/60

    was shipped around 1992 (available bundled with Microsoft OS/2 version 1.3). Later Microsoft

    SQL Server 4.21 for Windows NT was released at the same time as Windows NT 3.1. Microsoft

    SQL Server v6.0 was the first version designed for NT, and did not include any direction from

    Sybase.

    About the time Windows NT was released, Sybase and Microsoft parted ways and each

    pursued their own design and marketing schemes. Microsoft negotiated exclusive rights to all

    versions of SQL Server written for Microsoft operating systems. Later, Sybase changed the name

    of its product to Adaptive Server Enterprise to avoid confusion with Microsoft SQL Server. Until

    1994, Microsoft's SQL Server carried three Sybase copyright notices as an indication of its

    origin.

    Since parting ways, several revisions have been done independently. SQL Server 7.0 was

    a rewrite from the legacy Sybase code. It was succeeded by SQL Server 2000, which was the

    first edition to be launched in a variant for the IA-64 architecture.

    In the eight years since release of Microsoft's previous SQL Server product (SQL Server

    2000), advancements have been made in performance, the client IDE tools, and several

    complementary systems that are packaged with SQL Server 2005. These include: an ETL tool

    (SQL Server Integration Services or SSIS ), a Reporting Server, an OLAP and data mining server (Analysis Services ), and several messaging technologies, specifically Service Broker and

    Notification Services.

    Architecture

    Protocol layer

    Protocol layer implements the external interface to SQL Server. All operations that can

    be invoked on SQL Server are communicated to it via a Microsoft-defined format, called Tabular Data Stream (TDS). TDS is an application layer protocol, used to transfer data between a

    database server and a client. Initially designed and developed by Sybase Inc. for their Sybase

    SQL Server relational database engine in 1984, and later by Microsoft in Microsoft SQL Server,

    TDS packets can be encased in other physical transport dependent protocols, including TCP/IP ,

    http://en.wikipedia.org/wiki/OS/2http://en.wikipedia.org/wiki/Windows_NThttp://en.wikipedia.org/wiki/Adaptive_Server_Enterprisehttp://en.wikipedia.org/wiki/IA-64http://en.wikipedia.org/wiki/Extract,_transform,_loadhttp://en.wikipedia.org/wiki/SQL_Server_Integration_Serviceshttp://en.wikipedia.org/wiki/OLAPhttp://en.wikipedia.org/wiki/Data_mininghttp://en.wikipedia.org/wiki/Microsoft_Analysis_Serviceshttp://en.wikipedia.org/wiki/Tabular_Data_Streamhttp://en.wikipedia.org/wiki/Tabular_Data_Streamhttp://en.wikipedia.org/wiki/Sybase_SQL_Serverhttp://en.wikipedia.org/wiki/Sybase_SQL_Serverhttp://en.wikipedia.org/wiki/TCP/IPhttp://en.wikipedia.org/wiki/OS/2http://en.wikipedia.org/wiki/Windows_NThttp://en.wikipedia.org/wiki/Adaptive_Server_Enterprisehttp://en.wikipedia.org/wiki/IA-64http://en.wikipedia.org/wiki/Extract,_transform,_loadhttp://en.wikipedia.org/wiki/SQL_Server_Integration_Serviceshttp://en.wikipedia.org/wiki/OLAPhttp://en.wikipedia.org/wiki/Data_mininghttp://en.wikipedia.org/wiki/Microsoft_Analysis_Serviceshttp://en.wikipedia.org/wiki/Tabular_Data_Streamhttp://en.wikipedia.org/wiki/Tabular_Data_Streamhttp://en.wikipedia.org/wiki/Sybase_SQL_Serverhttp://en.wikipedia.org/wiki/Sybase_SQL_Serverhttp://en.wikipedia.org/wiki/TCP/IP
  • 8/7/2019 Final Project Document For WBRMS

    20/60

    Named pipes , and Shared memory. Consequently, access to SQL Server is available over these

    protocols. In addition, the SQL Server API is also exposed over web services .

    Data storage

    The main unit of data storage is a database , which is a collection of tables with typed

    columns. SQL Server supports different data types, including primary types such as Integer ,

    Float , Decimal , Char (including character strings), Varchar (variable length character strings),

    binary (for unstructured blobs of data), Text (for textual data) among others. The rounding of

    floats to integers uses either Symmetric Arithmetic Rounding or Symmetric Round Down ( Fix )

    depending on arguments: SELECT Round(2.5, 0) gives 3.

    Microsoft SQL Server also allows user-defined composite types (UDTs) to be definedand used. It also makes server statistics available as virtual tables and views (called Dynamic

    Management Views or DMVs). In addition to tables, a database can also contain other objects

    including views , stored procedures, indexes and constraints, along with a transaction log.

    A SQL Server database can contain a maximum of 2 31 objects, and can span multiple

    OS-level files with a maximum file size of 2 TB. The data in the database are stored in primary

    data files with an extension .mdf . Secondary data files, identified with an .ndf extension, are

    used to store optional metadata. Log files are identified with the .ldf extension.

    Storage space allocated to a database is divided into sequentially numbered pages , each 8

    KB in size. A page is the basic unit of I/O for SQL Server operations. A page is marked with a

    96-byte header which stores metadata about the page including the page number, page type, free

    space on the page and the ID of the object that owns it.

    Page type defines the data contained in the page - data stored in the database, index,

    allocation map which holds information about how pages are allocated to tables and indexes,

    change map which holds information about the changes made to other pages since last backup or

    logging, or contain large data types such as image or text. While page is the basic unit of an I/O

    operation, space is actually managed in terms of an extent which consists of 8 pages. A database

    object can either span all 8 pages in an extent ("uniform extent") or share an extent with up to 7

    more objects ("mixed extent").

    http://en.wikipedia.org/wiki/Named_pipehttp://en.wikipedia.org/wiki/Shared_memoryhttp://en.wikipedia.org/wiki/Web_servicehttp://en.wikipedia.org/wiki/Computer_data_storagehttp://en.wikipedia.org/wiki/Databasehttp://en.wikipedia.org/wiki/Type_systemhttp://en.wikipedia.org/wiki/Primary_typehttp://en.wikipedia.org/wiki/Binary_large_objecthttp://en.wikipedia.org/wiki/Roundinghttp://en.wikipedia.org/wiki/View_(database)http://en.wikipedia.org/wiki/Stored_procedurehttp://en.wikipedia.org/wiki/Index_(database)http://en.wikipedia.org/wiki/Constraint_(database)http://en.wikipedia.org/wiki/Terabytehttp://en.wikipedia.org/wiki/Named_pipehttp://en.wikipedia.org/wiki/Shared_memoryhttp://en.wikipedia.org/wiki/Web_servicehttp://en.wikipedia.org/wiki/Computer_data_storagehttp://en.wikipedia.org/wiki/Databasehttp://en.wikipedia.org/wiki/Type_systemhttp://en.wikipedia.org/wiki/Primary_typehttp://en.wikipedia.org/wiki/Binary_large_objecthttp://en.wikipedia.org/wiki/Roundinghttp://en.wikipedia.org/wiki/View_(database)http://en.wikipedia.org/wiki/Stored_procedurehttp://en.wikipedia.org/wiki/Index_(database)http://en.wikipedia.org/wiki/Constraint_(database)http://en.wikipedia.org/wiki/Terabyte
  • 8/7/2019 Final Project Document For WBRMS

    21/60

  • 8/7/2019 Final Project Document For WBRMS

    22/60

  • 8/7/2019 Final Project Document For WBRMS

    23/60

    b.Dean or Hospital authority

    c.Manager

    Depending on the roles, system will be divided into 3 main modules

    Administrative module

    Reporting module

    Customer Details Module

    Administrative Module - should allow administrators to

    create other users

    View users

    provide role based access

    invoke access

    Delete user etc

    Customer details module should allow to

    View details of a customer and Info bar usage history on click on customer

    name/email-id,Search, sort the customer on different fields, Send email to the

    customer, Check the bonus point status

    Check customer requests for bonus points. This should receive as an email, CRO

    should be able to see mails from a POP3 server

    Adjust number of bonus points automatically on allocation/selection of gift.

  • 8/7/2019 Final Project Document For WBRMS

    24/60

    Store shipment details and update the delivery status

    Before allocation of gift, check if the user is a duplicate user, logging with some

    other details this would be a key functionality and involve development of

    efficient search algorithm on database to detect duplicate uses. Search will be ondifferent criteria like user name, date of birth, address etc

    On detection of duplicate user, CRO should be able to able to block/blacklist user

    Add/delete new reward schemes, product details in reward schemes

    Send emails to user regarding reward points, queries, feedback, complains etc.

    Reporting module should allow end users to

    View different types of reports such as

    Usage of Info bar in a month over a year in graphical format

    User base for the year

    Graphs for inactive users (users who did not use the Info bar for a period of a

    month and more)

    Different reward schemes over the year and user response

    Customer feedbacks

  • 8/7/2019 Final Project Document For WBRMS

    25/60

  • 8/7/2019 Final Project Document For WBRMS

    26/60

    User Updating

    Admin

    Scheme Details

    Insert Edit Update

    Scheme

    Admin

    User Details

    Insert Edit Update

    tblUser

  • 8/7/2019 Final Project Document For WBRMS

    27/60

  • 8/7/2019 Final Project Document For WBRMS

    28/60

    Info Bar To Scheme Allotment

    InfoBarId

    SchemeId

    Allot Info barto scheme

    Removeallotmentfromscheme

    InfoBartoscheme

  • 8/7/2019 Final Project Document For WBRMS

    29/60

  • 8/7/2019 Final Project Document For WBRMS

    30/60

  • 8/7/2019 Final Project Document For WBRMS

    31/60

    7.1 SCREEN LAYOUT

    1.InfoBarCreation

  • 8/7/2019 Final Project Document For WBRMS

    32/60

    2.InfoBarData

    3.UserCreation

  • 8/7/2019 Final Project Document For WBRMS

    33/60

  • 8/7/2019 Final Project Document For WBRMS

    34/60

    5.InvalidLogin

  • 8/7/2019 Final Project Document For WBRMS

    35/60

    6.InfoBarURL

    7.PointManagement

  • 8/7/2019 Final Project Document For WBRMS

    36/60

    8.Request Management

    9.SchemeAllotment

  • 8/7/2019 Final Project Document For WBRMS

    37/60

    10.SchemeManagement

    7.2 SOURCE CODE

  • 8/7/2019 Final Project Document For WBRMS

    38/60

  • 8/7/2019 Final Project Document For WBRMS

    39/60

    BonusPointAllotment.aspx

    Scheme Allotment

  • 8/7/2019 Final Project Document For WBRMS

    40/60

  • 8/7/2019 Final Project Document For WBRMS

    41/60

    CreateUser.aspx

    Create User

  • 8/7/2019 Final Project Document For WBRMS

    42/60

    < asp : RequiredFieldValidator ID ="userIdValidator"runat ="server" ErrorMessage ="?" ControlToValidate ="txtuserId">

  • 8/7/2019 Final Project Document For WBRMS

    43/60

    Createuser.aspx.csusing System;using System.Data;using System.Configuration;using System.Collections;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;

    using System.Web.UI.HtmlControls;using SigmahComputers;public partial class createuser : System.Web.UI. Page{

    public DataSet dataSet; public DataTable dTable; public DataRow dRow; protected void Page_Load( object sender, EventArgs e)

  • 8/7/2019 Final Project Document For WBRMS

    44/60

    { if (!IsPostBack)

    {

    dataSet = DBController .GetInfoBarIds();

    dTable = new DataTable ();dTable.Columns.Add( "InfoBarId" );dRow = dTable.NewRow();dRow[ "InfoBarId" ] = "Select" ;dTable.Rows.Add(dRow);

    for ( int i = 0; i < dataSet.Tables[0].Rows.Count; i++)

    {dRow = dTable.NewRow();dRow[0] = dataSet.Tables[0].Rows[i]

    [0].ToString();dTable.Rows.Add(dRow);

    }

    dataSet = new DataSet ();dataSet.Tables.Add(dTable);InfoBarLst.DataSource = dataSet;InfoBarLst.DataTextField = "InfoBarId" ;InfoBarLst.DataValueField = "InfoBarId" ;InfoBarLst.DataBind();

    }

    }

    protected void SearchBtn_Click( object sender, EventArgs e){ if (txtInfoBarId.Text != String .Empty)

    {

    DBController .userId =Convert .ToInt16(txtUserId.Text);

    dataSet = new DataSet ();

  • 8/7/2019 Final Project Document For WBRMS

    45/60

    dataSet = DBController .GetUserDetails(); if (dataSet.Tables[0].Rows.Count > 0)

    {Session[ "isNew" ] = "false" ;txtUserName.Text = dataSet.Tables[0].Rows[0]

    [1].ToString(); InfoBarLst.Text = dataSet.Tables[0].Rows[0][2].ToString();

    } else

    { string strScript = "alert('Invalid Id');" ;

    Page.ClientScript.RegisterStartupScript( this .GetType(), "alertBox" , strScript, true );

    Session[ "isNew" ] = "true" ;

    }}

    else{

    string strScript = "alert('Enter Id');" ;Page.ClientScript.RegisterStartupScript( this .GetType

    (), "alertBox" , strScript, true );

    Session[ "isNew" ] = "true" ;

    }

    } protected void newBtn_Click( object sender, EventArgs e)

    {Session[ "isNew" ] = "true" ;

    } protected void Button1_Click( object sender, EventArgs e)

    { if (Session[ "isNew" ].ToString() == "true" )

    { DBController .infoBarId =Convert .ToInt16(txtInfoBarId.Text); DBController .infoName = txtInfoBarName.Text; DBController .webSite = txtWebSite.Text; DBController .InsertInfoBar(); string strScript = "alert('Data Inserted');" ;

    Page.ClientScript.RegisterStartupScript( this .GetType(), "alertBox" , strScript, true );

  • 8/7/2019 Final Project Document For WBRMS

    46/60

    }

    else

    { DBController .infoBarId =Convert .ToInt16(txtInfoBarId.Text); DBController .infoName = txtInfoBarName.Text; DBController .webSite = txtWebSite.Text; DBController .UpdateInfoBar(); string strScript = "alert('Data Updated');" ;

    Page.ClientScript.RegisterStartupScript( this .GetType(), "alertBox" , strScript, true );

    //}}

    }

    Login.aspx

  • 8/7/2019 Final Project Document For WBRMS

    47/60

  • 8/7/2019 Final Project Document For WBRMS

    48/60

  • 8/7/2019 Final Project Document For WBRMS

    49/60

    }}

    DbController.csusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Data.SqlClient;using SigmahComputers;namespace SigmahComputers{ //Provider=Microsoft.ACE.Sql.12.0;Data Source="C:\Documentsand Settings\Administrator\My Documents\Sigmah.accdb" public class DBController

    { public static SqlConnection con = null ; public static SqlDataAdapter adapter = null ; public static SqlCommand command = null ; public static DataSet dataSet;

    public static int userId; public static String password; public static int infoBarId; public static String infoName; public static String webSite; public static void CreateConnection()

    { try

    {con = new SqlConnection ( @"Data Source=INTEL-

    PC\sqlexpress;Initial Catalog=WBRMS;Integrated Security=True" );con.Open();

    } catch ( SqlException exception)

    {

  • 8/7/2019 Final Project Document For WBRMS

    50/60

    }

    }

    public static void CloseConnection(){

    try{

    con.Close();}

    catch ( SqlException exception){

    }

    }

    public static bool LoginValidator(){

    dataSet = null ; bool isFound = false ; try

    {CreateConnection();adapter = new SqlDataAdapter ( "Select * from

    Usertab where userid=" + userId + " and password='" + password +"'" , con);

    dataSet = new DataSet ();adapter.Fill(dataSet);CloseConnection();

    if (dataSet.Tables[0].Rows.Count > 0)isFound = true ;

    } catch ( SqlException exception2)

    {CloseConnection();

    }

    return isFound;

  • 8/7/2019 Final Project Document For WBRMS

    51/60

    }

    public static DataSet GetInfoBarDetails(){

    dataSet = null ;

    try{

    CreateConnection();adapter = new SqlDataAdapter ( "Select * from

    InfoBar where Infobarid=" + infoBarId, con);dataSet = new DataSet ();adapter.Fill(dataSet);CloseConnection();

    return dataSet;}

    catch ( SqlException exception2){

    CloseConnection(); return dataSet;

    }

    }

    public static DataSet GetUserDetails(){

    dataSet = null ;

    try{CreateConnection();adapter = new SqlDataAdapter ( "Select * from

    userTab where userid=" + userId, con);dataSet = new DataSet ();adapter.Fill(dataSet);CloseConnection();

    return dataSet;

  • 8/7/2019 Final Project Document For WBRMS

    52/60

    } catch ( SqlException exception2)

    {CloseConnection();

    return dataSet;

    }

    }

    public static DataSet GetInfoBarIds(){

    dataSet = null ;

    try{

    CreateConnection();adapter = new SqlDataAdapter ( "Select * from

    InfoBar" , con);dataSet = new DataSet ();adapter.Fill(dataSet);CloseConnection();

    return dataSet;}

    catch ( SqlException exception2){

    CloseConnection(); return dataSet;

    }

    }

  • 8/7/2019 Final Project Document For WBRMS

    53/60

    public static void InsertInfoBar(){

    try

    { CreateConnection();command = new SqlCommand ( "insert into Infobar

    values(" + infoBarId + ",'" + infoName + "','" + webSite + "')" ,con);

    command.ExecuteNonQuery();CloseConnection();

    } catch ( SqlException exc)

    {CloseConnection();

    }

    }

    public static void InsertUser(){

    try{

    CreateConnection();command = new SqlCommand ( "insert into Infobar

    values(" + infoBarId + ",'" + infoName + "','" + webSite + "')" ,con);

    command.ExecuteNonQuery();CloseConnection();

    } catch ( SqlException exc)

    {CloseConnection();

    }

  • 8/7/2019 Final Project Document For WBRMS

    54/60

    }

    public static void UpdateInfoBar(){

    try{

    CreateConnection();command = new SqlCommand ( "update Infobar set

    infoBArName = '" + infoName + "',BindToWebsite='" + webSite + "'where infobarid=" + infoBarId, con);

    command.ExecuteNonQuery();CloseConnection();

    } catch ( SqlException exc)

    {CloseConnection(); } } }

    }

  • 8/7/2019 Final Project Document For WBRMS

    55/60

    8.SYSTEM TESTING

    Various Type of Testing

    The Development process involves various type of testing. Each test type address a

    specific testing requirement. The most common type used in this Sundry Creditors Accruals

    system are

    Unit Test

    System Test

    Acceptance Testing

    Alpha Test

  • 8/7/2019 Final Project Document For WBRMS

    56/60

    Beta Test

    Black Box testing

    Unit Testing

    The First Test in the development process is the unit test. The source code is

    normally divided into module, which in turn divided into smaller unit called units. These

    units have specific behavior. The test done on these units of code is called unit test. Unit

    tests depend upon the language on which the project is developed. Unit tests ensure that

    each unique path of the project performs accurately to the documented specification and

    contains clearly defined input and expected result.

    System Testing

    Several modules constitute a project. If the project is long term project, several

    developers write their module. Once the entire modules are integrated several errors may

    occur. The testing done at this stage is called system test. System testing ensure that the

    entire integrated software system meets requirements.

    Acceptance Testing

    Testing the system with the intent of confirming read lines of the product and

    customer acceptance

    Alpha Testing

    Sometimes a select group of users are involved in testing. most often this testing

    will be performed in-house or by an outside firm.

    Beta Testing

  • 8/7/2019 Final Project Document For WBRMS

    57/60

    Testing after product is code complete. Betas are often widely distributed or even

    distributed to the public at large in hopes hat they will buy the final product when it is

    released.

    Black Box Testing

    Testing software without any knowledge of the inner working, structure or

    language of the module being tested. Black box test, as most other kinds of tests, must be

    written from a definitive source document, such as a specification or requirements

    document.

    9.CONCLUSION

    The project entitled as Web based reward management system has been tested andimplemented successfully.

    The module can be enhanced with the following factors in future. These enhancements can be

    implemented into the system as a new version after the successful launch of the current version.

    Some of the enhanced features discussed during the design time are

  • 8/7/2019 Final Project Document For WBRMS

    58/60

    Using this application we can reward money on line through credit card.

    Scheme updation can be sent as a mail to the applicant

    Bonus mark hierarchy list can be generated automatically as a report

  • 8/7/2019 Final Project Document For WBRMS

    59/60

    10.BIBLIOGRAPHY

    Books Referred

    The following books were used extensively for the project development and implementation.

  • 8/7/2019 Final Project Document For WBRMS

    60/60

    1.VB.N ET Developers Guide Syngress Publishing, Inc. Rockland,

    by Cameron Wakefield

    Henk-Evert Sonder

    Wei Meng Lee

    2. ASP.NET Database Programming Hungry Minds, Inc.

    By Jason Butler and Tony Caudill

    Websites Referred

    The following links were searched and exploited extensively for the project development

    and implementation.

    1 www.syngress.com/solutions

    2 www.hungryminds.com

    http://www.syngress.com/solutionshttp://www.syngress.com/solutionshttp://www.hungryminds.com/http://www.syngress.com/solutionshttp://www.hungryminds.com/