You are on page 1of 106

PROJECT

ON
DOC2SHARE


l2,3,20ll
Oolloo Doccoot 8toroo Aou 8oorlo Cootor

[Jyo too obstroct oI too uoccoot ooro. Joo obstroct ls tylcolly o soort
scory oI too cootoots oI too uoccoot. Jyo too obstroct oI too
uoccoot ooro. Joo obstroct ls tylcolly o soort scory oI too cootoots oI
too uoccoot.|


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l

INDUSTRY INTERNSHIP PRO1ECT
(Project Semester July-December 2011)


ONLINE DOCUMENT SHARING


Submitted by

Nitin 1amwal
Registration No 10801839
Program B.Tech-MBA (CSE)
Section K28T2


UNDER THE GUIDANCE OF

Name Of Faculty Coordinator Name Of Industry Coordinator

Department Of
Lovely School Of Technology And Sciences
Lovely Professional University, Phagwara

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 2

DLCLAkA1ICN


I hereby declare that the project work entitled Online Document Sharing is an authentic record oI my
own work carried out at Lovely InIoTech as requirements oI Industry Internship project Ior the award oI
degree oI B.Tech, Lovely Professional University, Phagwara under the guidance oI Mr. Pritpal Singh
Saini and Palvi 1assi, during July to December 2011.




Date: 05
th
Nov, 2011 (Signature of student)

Name : Bittu Kumar
Regd No.: 10808479




CertiIied that the above statement made by the student is correct to the best oI our knowledge and belieI.


(Name and Designation) (Name and Designation)
Faculty Coordinator Industry Coordinator








Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 3

ACkNCWLLDGLMLN1

Apart Irom the eIIorts oI me, the success oI this project depends largely on the encouragement and
guidelines oI many others. I take this opportunity to express my gratitude to the people who have been
working with me Ior the successIul completion oI this project.

I would like to show my greatest appreciation to project guide Mr. Pritpal Singh Saini. I can`t say thank
you enough Ior his tremendous support and help. I Ieel motivated and encouraged every time I attend his
meeting. Without his encouragement and guidance this project would not have materialized.

The guidance and support received Irom all the team members including Bittu Kumar, Swati Sahay,
Preeti Sinha, Sachin and Vijay who contributed to this project, was vital Ior the success oI the project. I
am grateIul Ior their constant support and help.


Bittu Kumar








Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =
Crgan|zat|on Cverv|ew
LPU is one oI the Iew Indian universities, which can boast oI its state-oI-the-art computing
resources and network across the campus. LPU believes in utilizing technology to the Iullest, and to
retain its position as one oI the best IT-enabled universities.
I1 LNA8LLD CAMUS
O Complete WI-FI supported campus.
O Most powerIul servers Irom HP/IBM Ior 100 redundancy and eIIicient data management.
O Most sophisticated surveillance and access control system Ior complete security.
O High end Biometric Systems Ior attendance oI Faculty.
O 40 Servers
O 150 workstations
O 5000 clients that are a mix oI latest Core 2 Duo, Dual Core and Quad Core computers.
O Cisco catalyst 6509E core switch to provide the needed scalability and traIIic control.
O Internet Iacility with 300 Mbps dedicated leased line.
O Secured network using high end Iirewall security Ieature.

Love|y Info1ech

Lovely InIoTech is the soItware arm oI the university that is providing the much needed IT support to
make the entire system oI LPU eIIicient and reliable. Lovely InIoTech is involved in the development
and implementation oI IT projects Ior LPU. These projects also provide hands on experience to the
students in handling technology. A special wing oI Lovely InIoTech employs promising LPU Computer
Science students, Ior soItware development work.
Love|y Info1ech D|v|s|on has four Departments
O Department oI SoItware Development (using Technology asp.net ,C#,vb.net)
O Department oI Website Development (php, css design, etc.)
O Department oI IT Data Center.
O Department oI Training Center.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 5
IN1kCDUC1ICN
Our Project Online Document Sharing is a web based application which tracks and stores various types
oI e-documents and shares them among diIIerent types oI users. It provides an easy way to share the
documents in the World Wide Web and also stores the documents in remote locations with security.
This provides cloud type environment to users. This website will provide documents oI several
categories like Education, Science, Technology and other study stuII which will help users in accessing
inIormation more easily. Our secure online document sharing website lets you store and organize
documents online and access them where ever you are. You can share documents online and collaborate
on them with other users. Online document sharing lets you store, organize, view, and modiIy Iiles with
just an Internet connection.
kCIILL CI 1nL kC8LLM
This section can make users clear that why we need to work on this kind oI projects. Now here I am
deIining the beneIits oI this type oI project. It will make us clear that what are the advantages we have oI
using this type oI websites and Irom that we will become clearer that what the actual proIile oI the
problem is. Let us discuss these beneIits one by one :
Remote Access: Remote access is a term used to represent the ability oI accessing something
kept on some remote location Irom your machine. In our project, we provide the Iacility oI
not only uploading a Iile which is visible to other users but also the Iiles which are visible to
selI only and which are kept just Ior saIety purpose on a location other than user PC.

Search: Searching is a Iacility oI our website provided to all the users so that they can Iind
out the desired documents without wasting much oI time and energy. Users are also provided
with the Iacility oI searching the desired document with the desired Iile-type.

Availability of Documents in different file formats: This is a special Ieature oI our
website that any uploaded document will be available in three Iile Iormats i.e. pdI, doc and
ppt. It depends upon user wish that which Iormat he/she wants to download, what he needs
to do is just to tick the option oI the Iormat he wants to download.

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo
Advantage of having the feature of followers : In addition to do various activities with our
own Iiles, we can also remain aware about that what others are doing related to their
documents. For this we just have to Iollow that user by clicking on Iollow button. And aIter
this we will remain automatically updated about the recent updates oI that particular user
regarding upload/download and view oI document.


LkIS1ING SS1LM

Existing systems are the ones which are currently in the running condition. We have many popular
document sharing sites which we use in our daily liIe to search diIIerent contents we need to know or to
share any document which we want to share with the world. Some oI the well-known examples are:
www.scribd.com, www.docstoc.com etc. These web based applications or websites have lots oI Ieatures
that they are providing to us. And some oI these Ieatures are:-

Easy Accessibility of Documents Due to Categorization: Documents are stored in diIIerent
categories according to their contents while uploading. It provides us with the Ilexibility oI
Iinding the documents easily.

Helpful in accessing the selected type of documents : There are diIIerent sections oI My
recent documents, Featured documents, Most viewed etc. So due to these diIIerent sections it
is easier to access some particular type oI document.

Feature to Sell your Documents : Some existing document sharing websites also contain
Ieature to sell your documents. So they may also become the source oI income Ior your hard
work in making those documents.

Request a document : Some existing document sharing websites also contains this type oI
Iunctionality. Most oI the websites also contains Ieature oI Help and Support. And Iew oI
them also contain Ieature oI Iorum and Ieedback.


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 7
ro[ect DocShare
We have built our website by considering scribd.com as our ideal as it contain almost all Ieatures that a
document sharing website should have. Only one problem with website is that it take some time to load
in comparison to other websites. But it is usual as it contains larger database in comparison to other
websites. It is diIIicult to build website oI that standard as the proIessional working out there are having
huge experience as compare to us. But we have tried our level best to build a website with almost equal
number oI Iunctionalities and with better loading time.

rob|em Ana|ys|s
Problem Analysis means to analyze the diIIerent problems in the existing system and to deIine that how
we are going to solve them. As we have discussed all the concepts in the existing system in earlier
pages, here now we I am deIining the things that we have in our project Ior better working oI our
websites.
For better management oI website we have divided the work oI our website into diIIerent sections or
modules. Let us look at these modules:

Sr. No.

MODULE

IMPORTANCE

DESCRIPTION

1

Administrator

1

O Website Updation.
O Database Maintenance.
O Feedback/Comment approval.
O Role assignment to User/Site
content.

2

Account Management

1

O Registration Process
O Login Process
O Password Recovery
O Account Deletion.

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 8


4


File Management


1

O Save basic Iile inIormation.
O Sets Iile security inIormation.
O Maintains rating, views and
download inIormation
O Updates Iile sharing
inIormation


5


User Collection


1

O User Document Collection
InIormation.
O User Recent Download and
reading inIormation.
O User Document upload
inIormation.

6

Document Storage and
Retrieval

1

O File Conversion on uploading.
O Document Thumbnail
generation.
O File Downloading in diIIerent
Iormats.
O File View


7

Forum & Feedback

2

O Manage Forum Topic
InIormation.
O Manages user comments.
O Manages user Ieedback and
approval by administrator.


8

Searching

1

O Search perIormed on
description, tagging and title.
O Search document category-
wise.

9

Help & Support

2

FAQ Ior user- support.
Help inIormation.


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 9
Lxc|us|on Cost
The Cost Management and Budgeting is excluded in the current scenario. II the project will be extended
on large scale then the cost Iactor on the resources will be included.

ro[ect Def|n|t|on and k|sk Assessments
From Project DeIinition we meant to say that what we have done in our project. Various issues and
constraints can be added in it. Let us look at some basic things that we have try to achieve or
implement in our project:-
We have tried to give a simple user Iriendly interIace to the users.
Users just only need to have the basic knowledge oI Computer and Internet.
Administrators have complete right oI accessing the database or inIormation oI users whenever
it is required Ior security or some other reason.
Users have great amount oI Ilexibility related to their documents. They can even make them as
public or private.
We have design our database in such a way that database changes must remain atomic.

Ieas|b|||ty Ana|ys|s
The objective oI Ieasibility study is not to solve the problem but to acquire a sense oI its scope that
whether it is Ieasible to implement that particular solution oI problem or not. These Ieasibility analyses
are done when the problem deIinition is crystallized and aspects oI the problem to be included in the
system are determined. Consequently, costs and beneIits are determined with greater accuracy.

1ypes of Ieas|b|||ty Study

Technical Feasibility.
Operational Feasibility.
Economical and Iinancial Feasibility.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l0

A 1echn|ca| Ieas|b|||ty Study
The technical issues raised during the technical Ieasibility analysis are:

Does the necessary technology exist to do what is suggested?
Do the proposal equipments have the technical capacity to hold the data required to use the
new system?
Will the proposed system & components provide adequate responses to inquiries, regardless
oI the number oI locations oI users?
Can the system be expanded?

Technical Feasibility Study for our website :-

All the above questions can be answered Ior our website as:

a. The basic Iunctionality oI our website is to provide the users a platIorm where they can share
upload or download a document. So, yes, the website is capable oI doing what is suggested.
b. The second question asks about the data maintenance and its consistency. We are currently
working on a system which can provide eIIicient data every-time.
c. The system is quite capable oI retrieving responses oI all the inquiries done by users at any
number oI times Irom anywhere.
d. Yes, the system can Iurther be expanded according to Iurther need or requirements oI users.

8 Cperat|ona| Ieas|b|||ty Study

We have designed Iront end in Asp.net by getting the inIormation Irom the end user, which helps us in
designing the GUI according to the end user requirements. The end users can easily understand and can
suggest its expansion in the Iuture.


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo ll
C Lconom|ca| Ieas|b|||ty Study

Economic Ieasibility means what is the investment in the project and whether that investment is Ieasible
Irom the organization prospective or not. Investment doesn`t only means the money invested but also the
labor required to build the required system within the desired period oI time.

now feas|b|e |s the system proposed?

Following was analyzed by comparing the Iollowing Iactors with both the existing system and proposed
system

Cost: The cost required in the proposed system is comparatively less to the existing system.

Effort: Compared to the existing system the proposed system will provide a better working
environment in which there will be ease oI work and the eIIort required will be comparatively
less than the existing system.

Time: Also the time required Ior generating a report or Ior doing any other work will be
comparatively less than that is in the existing system.

Labor: In the existing system the number oI staII required Ior completing the work is more,
while the new system will require quite less number oI staII.


SkS (Software kequ|rement Spec|f|cat|on)

IN1kCDUC1ICN
The purpose oI this SRS is to speciIy the requirements oI the web based soItware application (Online
Document Sharing site). This SoItware Requirement SpeciIication provides a complete description oI all
the Iunctions and General Description oI Online Document Sharing.


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l2
kCDUC1 LkSLC1IVL (DLSCkI1ICN)

As the name oI the project suggests, it basically provides the Iacility oI document uploading and
sharing among several users on the internet. In our daily liIe, we require several types oI inIormation
conIined to one place and also need to store documents in remote locations to avoid any type oI loss oI
data/inIormation through system crash or Iile corruption. So, storing documents in remote location gives
us a better way.

kCDUC1 IUNC1ICNS
It mainly consists oI three modules:-
User Module
Administration Module
Document Management Module

USLk MCDULL
User can Iollow other users and subscribe to their updates.
User can arrange their documents and can make them public or private.
Files can be uploaded and downloaded in diIIerent Iormats.
Users can search Ior Iiles.

USLk CLASSLS AND CnAkACL1LkIS1ICS
There are three kinds oI users in the proposed system:

A ADMINIS1kA1CkS
Continuously updates the website.
Can add and remove the Ieatures oI the website.
Role assignment to diIIerent level oI users.
Deals with Forum` module and Help & Support` module.
The database administrator works at the back-end oI the project.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l3
Make secure the database Irom various security issues such as sql -injection and other
security holes. It can be done by applying proper constraints on the database.
Monitoring the database perIormance.
Detection and Repairing oI system.

8 kLGIS1LkLD USLkS
Registered users can perIorm the Iollowing tasks:
Uploading oI documents.
Downloading oI documents.
Following other users.
Posting in Forums.
Giving Feedback about the website.
Saving their personal details.
Document Rating

C UNkLGIS1LkLD USLkS

For unregistered users also, we have given the basic Iunctionalities such as :
Uploading and Downloading
Searching and viewing oI Iiles










Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l=

I|g IUNC1ICNALI1 AND GLNLkAL DLSCkI1ICN



I|g Iunct|ona||ty And Genera| Descr|pt|on

LLVLL
It determines diIIerence between administrator and other users. It will lead diIIerent users to level 2
modules according to their rights.
LLVLL
It includes various modules with diIIerent Iunctionality and each user can access these modules
according to his/her rights. This level includes following modules:

ro[ect Modu|e
ADMINIS1kA1ICN (AU1nLN1ICA1ICN AND AU1nCkI2A1ICN)
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l5
This module belongs to higher authority people who have Iull access to the website. Main
responsibilities oI the administrator are given below:
Create/Edit Roles.
Role Assignment.
Access Rights.
Create/Edit Menus/Links.
User Management.

ACCCUN1 MANAGLMLN1

Account management module perIorms the Iollowing tasks:
User Sign-Up/Registration process.
To Handle the User Login Process.
User Account Password Recovery.
User Account setting such as change password etc.

USLk MANAGLMLN1

This module handles the tasks related to user's personal inIormation and their document inIormation. It
contains Iollowing tasks:
All the personal inIormation oI Users like his/her name, address, date oI birth, email id etc.
It also keeps the inIormation related to documents uploaded by the users.

IILL MANAGLMLN1

This module handles the tasks related to Iiles. Tasks perIormed under this module are:
Update the Iile inIormation such as total read, total download, last visited, total rating etc.
It keeps the security inIormation oI the Iile set by the user (owner oI the Iile). It keeps the
information like:
O Downloading oI the Iile enable or disable.
O Whether the Iile is private or public.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l
O It also keeps the location oI the Iile in the Iile system, date oI upload oI the Iile content
types etc.

USLk CCLLLC1ICN]nIS1Ck MANAGLMLN1
User Collection module provides user to create his/her own library to store documents according to their
choice. History module deals with the recent action on any document. Major tasks under this module
are:
User document collection inIormation is maintained by this module.
User recent reading and downloading inIormation are maintained by this module.

IILL S1CkAGL AND kL1kLIVAL MCDULL

This module handles how to save the Iile in the Iile system and also includes how to display the Iile to
the user and in which Iormat the user can download the Iile. It covers the following task:-

Since user has the option to upload the Iile in various Iormats, this module converts each Iile
into pdI and also keep the original Iile in the Iile system.
While downloading, user has the option to download Iile in various Iormat.
To display the Iile in website, it needs to be converted into Ilash beIore display.

SLAkCnING MCDULL
For any document sharing and storage website, we must need an eIIicient algorithm Ior
searching because this type oI project contains large number oI Iiles and tags. This module has
Iollowing task

Search the document according to the user requirement.
Search within the document.
Dynamically search the matched keyword.

ICkUM AND ILLD8ACk MCDULL

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l7
Forum and Feedback module deals with topic discussion and the Ieedback given by the user. It
contain Iollowing task:
It maintains all the inIormation related to posted article such as which user has posted the
article and who have made comments on it.
Feedback provides Iacility Ior users to share their valuable suggestion and complaints about
the website.

6.9HELP AND SUPPORT MODULE

Help and Support is an important part Ior any website. It generally provides guidelines and other
inIormation related to user problems. Mainly this module handles: -

Provide the help topic related to User Query.
The term and conditions oI the website are contained in this module.
Some basics help questions are provided in this module which will help users in many ways
to overcome their problems that they are Iacing related to Iunctioning oI our website.


DLSIGN
DA1A ILCW DIAGkAMS

DFD`s represents the Ilow oI data among the diIIerent processes, entities and records. There are 0-level
(context diagram) and 1-level DFD`s. The 0-level DFD represents the overall entities participating in the
system excluding the detailed Iunctionality oI the system. Whereas 1-Level DFD represents the module
wise detailed Iunctionality oI the system.

DID for Leve| 0


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l8





I|g DID Leve| 2ero


DID LLVLL (ADMINIS1kA1ICN)

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l9

I|g DID Leve| Ior Adm|n|strat|on




Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 20
DID LLVLL (ACCCUN1 MANAGLMLN1)





I|g DID Leve| Ior Account Management



Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 2l


DID LLVLL (USLk MANAGLMLN1)

I|g DID Leve| Ior User Management
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 22
DID LLVLL (USLk CCLLLC1ICN)




I|g DID Leve| Ior User Co||ect|on



Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 23


DID LLVLL (IILL S1CkAGL AND kL1kLIVAL)


I|g DID Leve| Ior I||e Storage And ketr|va|

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 2=
LN1I1 kLLA1ICNSnI DIAGkAMS
E-R diagrams represent the diIIerent entities and their relationships it also deIines the attributes
associated with each entity. Entities are represented as rectangle, attributes are represented as ovals and
relationships are represented by diamonds.

Lk DIAGkAM ICk ADMINIS1kA1ICN

I|g Lk D|grame Ior Adm|n|strator
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 25
Lk DIAGkAM ICk ACCCUN1 MANAGLMLN1


I|g Lk D|grame Ior Account Management




Lk DIAGkAM ICk IILL MANAGLMLN1
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 2

I|g 0 Lk D|grame Ior I||e Management

Lk DIAGkAM ICk SLAkCn MCDULL
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 27

I|g Lk D|grame Ior Search Modu|e



Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 28
ILCW CnAk1
Flow charts are the pictorial representations oI the Flow oI data oI the Event Management System. In
Ilowcharts the Start/Stop is represented by eclipse, Input/output is shown in Rectangle, operations are
shown in parallelogram, and diamonds represents the Decision box.
ILCW CnAk1 ICk ADMINIS1kA1ICN

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 29
I|g Lk D|grame Ior Adm|n|strator
ACCCUN1 MANAGLMLN1

I|g Lk D|grame Ior Account Management
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 30

USLk MANAGLMLN1

I|g Lk D|grame Ior User Management

IILL MANAGLMLN1


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 3l

I|g Lk D|grame Ior I||e Management

SLAkCnING
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 32

I|g Lk D|grame Ior Search Modu|e

IILL S1CkAGL AND kL1kILVAL
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 33

I|g Lk D|grame Ior I||e Storage And ketr|va|

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 3=
ICkUM AND ILLD8ACk


I|g Lk D|grame Ior Iorum And Ieedback





Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 35
DA1A8ASL DIAGkAM


I|g Data8ase D|agram
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 3
CLASS DIAGkAM ICk ADMINIS1kA1Ck

CLASS DIAGRAM FOR ACCOUNT MANAGEMENT
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 37

USLCASL DIAGkAMS
USL CASL DIAGkAM ICk ADMINIS1kA1Ck
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 38






Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 39
USL CASL DIAGkAM ICk IILL MANAGLMLN1 MCDULL



1LS1ING
SoItware testing is an investigation conducted to provide inIormation about the quality oI the product or
service under test. SoItware testing also provides an objective, independent view oI the soItware to
allow the business to appreciate and understand the risks at implementation oI the soItware. SoItware
testing is any activity aimed at evaluating an attribute or capability oI a program or system and
determining that it meets its required results. SoItware Testing is the process oI executing a program or
system with the intent oI Iinding errors. SoItware testing can also be stated as the process oI validating
and veriIying that a soItware program/application/product:
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =0

FUNCTIONALITY
(EXTERIOR QUALITY)
ENGINEERING
(INTERIOR QUALITY)
ADAPTABILITY
(FUTURE QUALITY)

CORRECTNESS
EFFICIENCY
FLEXIBILITY
RELIABILITY

TESTABILITY
REUSABILITY
USABILITY

DOCUMENTATION
MAINTAINABILITY
INTEGRITY
STRUCTURE

1LCnNIULS CI SCI1WAkL 1LS1ING
UNI1 1LS1ING
Unit Testing is primarily carried out by the developers themselves. Deals Iunctional correctness and the
completeness oI individual program units. White box testing methods are employed
IN1LGkA1ICN 1LS1ING
Integration Testing: Deals with testing when several program units are integrated.
Regression testing : Change oI behavior due to modiIication or addition is called Regression
Used to bring changes Irom worst to least.
Incremental Integration Testing : Checks out Ior bugs which encounter when a module has
been integrated to the existing.
Smoke Testing : It is the battery oI test which checks the basic Iunctionality oI program. II Iails
then the program is not sent Ior Iurther testing.

SS1LM 1LS1ING
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =l

System Testing - Deals with testing the whole program system Ior its intended purpose.
Recovery Testing: System is Iorced to Iail and is checked out how well the system recovers the
Iailure.
Security Testing: Checks the capability oI system to deIend itselI Irom hostile attack on programs
and data.
Load & Stress Testing: The system is tested Ior max load and extreme stress points are Iigured
out.
Performance Testing: Used to determine the processing speed.
Installation Testing: Installation & un installation is checked out in the target platIorm.

8LACk 8Ck 1LS1 DLSIGN
It treats the system as a "black-box", so it doesn't explicitly use knowledge oI the internal structure.
Black-box test design is usually described as Iocusing on testing Iunctional requirements. The research
in black-box testing mainly Iocuses on how to maximize the eIIectiveness oI testing with minimum cost.
WnI1L 8Ck 1LS1 DLSIGN
It allows one to peek inside the "box, and it Iocuses speciIically on using internal knowledge oI the
soItware to guide the selection oI test data. Testing plans are made according to the details oI the
soItware implementation, such as programming language, logic, and styles. Test cases are derived Irom
the program structure. White-box testing is also called glass-box testing, logic-driven testing.
LkICkMANCL 1LS1ING
PerIormance has always been a great concern and a driving Iorce oI computer evolution. PerIormance
evaluation oI a soItware system usually includes: resource usage, throughput, and stimulus-response
time and queue lengths detailing the average or maximum number oI tasks waiting to be serviced by
selected resources. Typical resources that need to be considered include network bandwidth
requirements, CPU cycles, disk space, disk access operations, and memory usage
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =2
SLCUkI1 1LS1ING
Flaws in soItware can be exploited by intruders to open security holes. With the development oI the
Internet, soItware security problems are becoming even more severe. The purpose oI security testing oI
these systems include identiIying and removing soItware Ilaws that may potentially lead to security
violations, and validating the eIIectiveness oI security measures.
1LS1 CASLS
S|gn Up Iorm
Pre-Requisites :- Visual Studio 3.5 , Sql Server 2008, IE 8, Mozilla FireIox, Sign-Up Form.
Va||dat|on
kequ|red I|e|d Va||dat|on Username, Email Id, Password, ConIirm Password.
kegu|ar Lxpress|on Va||dat|on Username, Email ID, Password.
Compare Va||dat|on ConIirm Password

Iunct|ona||ty 1est Cases (Moz|||a I|refox)
1est Su|te Date of Creat|on Created by Imp|emented
SignUp Form 29-11-2011 Nitin Jamwal 29-11-2011

Pre-Requisite : (Visual Studio 3.5 Framework, Microsoft SQL Server 2008, User Account
Management Form) IE 8, Mozilla Firefox 5.0.


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =3

Test Case

Description

Expected result

Actual Result

Remarks
TC-SU-01 Click on the Submit
Button without filling any
field of the form.
Error messages
highlighting the
required fields
should be
displayed.
All the error messages
for required field
corresponding to their
Field is displayed.
Pass
TC-SU-02 Enter Special characters
~$^& in User Name
field and press tab.
It should display
an error message
that "First
character should
be Alphabet
only".
It displays ~First
character should be
Alphabet only as an
error message in User
Name field.
Pass
TC-SU-03 Enter Characters with
spaces in User Name field
~Sac hi n
It should display
~Enter only
text as an error
message in User
Name field
It displays ~Enter
only text as an error
message in User
Namefield
Pass
TC-SU-04 Leave blank First textbox
of User Name field
It should display
an error message
~Enter
Username.
It displays an error
message ~Enter
Username".
Pass
TC-SU-05 Enter Text ~Sachindeep
in User Name field
It should accept
the text for User
Name field
It accept the text for
User Name field
Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo ==
TC-SU-06 Leave blank E-MAIL ID
field.
It Should display
an error message
~Enter E-Mail
ID in E-Mail ID
field.
It displays an error
message ~Enter E-
Mail ID in E-Mail ID
field.
Pass
TC-SU-07 Enter only characters
~Sachindeep Singh ~ in E-
Mail ID field
It should display
an error message
~Enter valid E-
Mail ID in E-
Mail ID field.
It displays an error
message ~Enter valid
E-Mail ID in E-Mail
ID field.
Pass
TC-SU-08 Enter Numerics ~123456
in E-mail ID field.
It should display
an error message
~Enter valid E-
Mail ID in E-
Mail ID field.
It displays an error
message ~Enter valid
E-Mail ID in E-Mail
ID field.
Pass
TC-SU-09 Enter Alphanumerics
~erthj1234fb in E-mail
ID field.
It should display an
error message
~Enter valid E-Mail
ID in E-Mail ID
field.
It displays an error
message ~Enter valid
E-Mail ID in E-Mail
ID field.
Pass
TC-SU-10 Enter Special characters
~$^& in E-mail ID
field.
It should display
an error message
~Enter valid E-
Mail ID in E-
Mail ID field.
It displays an error
message ~Enter valid
E-Mail ID in E-Mail
ID field.
Pass
TC-SU-11 Enter Email id with spaces
likesdminhas singh
2000gmail.com
It should display
an error message
~Enter valid E-
Mail ID in E-
It displays an error
message ~Enter valid
E-Mail ID in E-Mail
Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =5
Mail ID field. ID field.
TC-SU-12 Enter valid format of E-
Mail ID with special
characters like
$#$$gmail.com.
An error should
come depicting
that "Enter valid
E-Mail ID".
Error depicting the
message " Enter valid
E-Mail ID" comes.
Pass
TC-SU-13 Enter valid format of E-
Mail ID with only
numerics i.e.
123445gmail.com
It should accept
the input.
It accepts the input. Pass
TC-SU-14 Enter E-Mail ID
~sdminhasgmail.com
It will accept the
input in this
format.
It accepts the input in
that format.
Pass
TC-SU-15 Enter the E-Mail ID like
~sachinthkr48gmail.com

It will accept the
input in this
format.
It accepts the input in
that format.
Pass
TC-SU-16 Leave blank Password
field.
Error message
will be displayed
~Enter Password
in Password
field.
Error message is
displayed ~Enter
Password in
Password field
Pass
TC-SU-17 Enter characters
~sachin in Password
field.
It should accept
the input in
Password field
It accepts the
character in Password
field.
Pass
TC-SU-18 Enter digits only 756787
in Password field.
It should accept
the input in
Password field.
It accepts the
character in Password
field.
Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =
TC-SU-19 Enter digits only745 in
Password field.
Error message
should be
displayed
~Password
should be more
than 6
characters in the
Password field.
Error message is
displayed ~Password
should be more than 6
characters in the
Password field.
Pass
TC-SU-20 Enter digits
onlySA123435 in
Password field.
It should accept
the input in
Password field.
It accepts the
character in Password
field.
Pass
TC-SU-21 Enter digits onlySA1
in Password field
Error messages
should be
displayed
~Password
should be more
than 6
characters in
the Password
field.
Error message is
displayed ~Password
should be more than 6
characters in
Password field.
Pass
TC-SU-22 Leave blank Confirm
Password field.
Error message will be
displayed ~Enter
Confirm Password
in the Confirm
Password field.
Error message is displayed
~Enter Confirm Password
in the Confirm Password
field.
Pass
TC-SU-23 Enter characters
~123412 as in Confirm-
It should accept
the character in
It accepts the
character in the
Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =7
Password Field and Same
as in the Password field.
Confirm
Password field
Confirm Password
field.
TC-SU-24 After filling all the
fields,Click on the submit
button.
The page should be
redirected to the
Activation Code
Verification Page
after sending a mail
with verification
code to the provided
E-Mail ID.
Mail is sent to the mail
address and the page is
successfully redirected to
the Activation Page.
Pass
TC-SU-25 Fill up all the fields of the
form and click on the
Cancel Button.
All the Fields should
be appear blank after
button click.
All the inputs are cleared-
up.
Pass

Log|n Iorm
rekequ|s|tes ( Visual Studio 3.5 Framework, Microsoft Sql Server 2008, Login Form) IE
8, Mozilla Firefox 5.0
Va||dat|on
kequ|red I|e|d Va||dat|on Username, Password
Iunct|ona||ty 1est Cases (Mozilla Firefox)
1est Su|te Date of Creat|on Created by Imp|emented
Login Form 29-11-2011 Nitin Jamwal 29-11-2011

Pre-Requisite : (Visual Studio 3.5 Framework, Microsoft SQL Server 2008, User Account
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =8
Management Form) IE 8, Mozilla Firefox 5.0.


Test Case Id

Description

Expected result

Actual Result

Remarks



TC-LF-01
Leave all the
fields empty and
click on the 'GO'
button.
It should display
an error message
~Enter
Usernameand
~Enter Password
in Username and
Password field
respectively.
It displays an error
message ~Enter
Usernameand
~Enter Password in
Username and
Password field
respectively.



Pass

TC-LF-02
Enter any
integers
values123 in
Username field.
It can accept the
integer values in
Username field.
It accepts the
integers values in
Username field.

Pass

TC-LF-03
Enter
alphanumeric in
Username field
~abc123.
It can accept
alphanumeric
values in Username
field.
It accepts
alphanumeric values
in Username field.

Pass
TC-LF-04 Enter any special
characters like
~#$^&`(~ in
Username field.
It can accept the
special characters
in Username field.
It accepts the special
characters in the
Username field.
Pass

TC-LF-05
Enter any
integers
values123 in
It can accept the
integers values in
It accepts the
integers values in

Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =9
Password field. Password field. Password field.

TC-LF-06
Enter
alphanumeric in
Password field
~abc123.
It can accept
alphanumeric
values in Password
field.
It accepts
alphanumeric values
in Password field.

Pass

TC-LF-07
Enter any special
characters like
~#$^&`(~ in
Password field.
It can accept the
special characters
in Password field.
It accepts the special
characters in the
Password field.

Pass


TC-LF-08
Enter invalid
Username and
Password in
Username and
Password field
respectively.
It should display an
error message in
alert ~Invalid
Username and
Password.
It displays the error
message ~Invalid
Username and
Password in alert


Pass


TC-LF-09
Enter valid
Username and
Password.
It should accept the
Username and
Password and
proceed to user
account on click of
'GO'.
It accepts valid
Username and
Password and move
to the user account
on click of 'GO'
button.


Pass


User Ld|t rof||e
rekequ|s|tes: ( Visual Studio 3.5 Framework, Microsoft Sql Server 2008, Login Form) IE 8,
Mozilla Firefox 5.0
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 50
Va||dat|on
kequ|red I|e|d Va||dat|on First Name, Last NAME, Category, Country ,Gender
kegu|ar Lxpress|on Va||dat|on Secondary E-mail ID, Website
Compare Va||dat|on Contact No.
Iunct|ona||ty 1est Cases (Moz|||a I|refox)

1est Su|te

Date of Creat|on

Created by

Imp|emented Cn

USER EDIT
PROFILE
29-11-2011 Nitin Jamwal 29-11-2011

Pre-Requisite : (Visual Studio 3.5 Framework, Microsoft SQL Server 2008, User Account
Management Form) IE 8, Mozilla Firefox 5.0.


Test Case Id Description Expected result Actual Result Remarks

TC-PE-01
Click on the submit
button without entering
input in any of the field
on the form.
The required fields
of the form should
be displayed with
error message.
All other error
message for reqiured
field is dispalyed
except the Gender
field.

Fail

TC-PE-02
Enter any number of
characters in the First
Name Field to check the
number of characters
It should not allow
more than 30
characters.
It limits the input to
30 characters.

Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 5l
allowed.


TC-PE-03
Enter Special
characters ~$^& in
First Name field to see
whether it excepts
special characters or
not.
It will display
~Enter only text as
an error message in
First Name field.
It displays ~Enter
only text as an error
message in First
Name field.


Pass

TC-PE-04
Enter Characters with
spaces in First Name
field ~Sac hi n.
It will display
~Enter only text as
an error message in
First Name field.
It displays ~Enter
only text as an error
message in First
Name field.

Pass

TC-PE-05
Leave blank the First
Name Field and click on
the submit button.
It will display an
error message ~First
name cannot be
blank.
It displays an error
message ~First name
cannot be blank.

Pass

TC-PE-06
Enter Text
~Sachindeep in First
Name field.
It should accept the
text for First Name
field.
It accepts the text
for First Name field.

Pass


TC-PE-07
Enter Special
characters ~$^& in
Last Name field to see
whether it excepts
special characters or
not.
It will display
~Enter only text as
an error message in
Last Name field.
It displays ~Enter
only text as an error
message in Last
Name field.


Pass

TC-PE-08
Enter Characters with
spaces in Last Name
field ~Si n g h.
It will display
~Enter only text as
an error message in
It displays ~Enter
only text as an error
message in Last

Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 52
Last Name field. Name field.

TC-PE-09
Leave blank the Last
Name field and click on
the submit button.
It will display an
error message ~Last
Name cannot be
blank.
It displays an error
message that " Last
Name Cannot be
blank".

Pass
TC-PE-10 Enter text "Singh" in
the Last Name Field.
It will accept the
text.
It accepts the text. Pass

TC-PE-11
Enter any number of
characters in the Last
Name Field to check the
number of characters
allowed.
It should not allow
more than 30
characters.
It limits the input to
30 characters.

Pass

TC-PE-12
Do not select any
Gender value.
It should show an
error message that
~Choose any
Gender in Gender
field.
It doesn't show an
error message that
~Choose any
Gender in Gender
field.

Fail

TC-PE-13
Select any value Male
or Female from Gender
field.
It will accept any
value
It doesn't accept any
value.

Fail

TC-PE-14
Enter Numeric in Name
field ''1234''.
It Should display an
error message
~Enter valid Date of
Birth in Date of
Birth field
It displays an error
message ~Enter valid
Date of Birth in
Date of Birth field.

Pass
Enter Special
characters ~$^& in
It should display an
error message
It displays an error
message ~Enter valid

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 53
TC-PE-15 Date of Birth field. ~Enter valid Date of
Birth in Date of
Birth field.
Date of Birth in
Date of Birth field.
Pass

TC-PE-16
Enter Characters
~abcdef in Date of
Birth field.
It Should display an
error message
~Enter valid date of
birth in Date of
Birth field.
It display an error
message ~Enter valid
Date of Birth in
Date of Birth field.

Pass

TC-PE-17
Enter date in a different
format like 1 jan 1990
It Should display an
error message
~Enter valid Date of
Birth in Date of
Birth field.
It display an error
message ~Enter valid
Date of Birth in
Date of Birth field.

Pass

TC-PE-18
Enter Date
~12/31/1945 in Date of
Birth field.
It should give an
error message
~Enter valid date of
birth.
It gives an error
message ~Enter valid
date of birth.

Pass

TC-PE-19
Enter Date ~1/01/2012
in Date of Birth field.
It should give an
error message
~Enter valid Date of
Birth.
It gives an error
message ~Enter valid
Date of Birth.

Pass

TC-PE-20
Enter Date
~10/21/2011 in Date of
Birth field.
It should give an
error message
~Enter valid date of
birth.
It gives an error
message ~Please
enter valid date of
birth

Pass
Enter Date
~10/18/1990 in Date of
It should accept the
date for Date of
It accepts the date
for DATE OF

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 5=
TC-PE-21 Birth field. Birth field. BIRTH field. Pass


TC-PE-22
Click on the submit
button without selecting
any Country name from
the country field
DropDownList.
It will give an error
message that
~Choose any
countryin Country
field.
It gives an error
message that
~Choose any
countryin Country
field.


Pass

TC-PE-23
Select any country
from Country field like
India.
It will accept the
input and will not
show any error.
It accepts the input
and doesn't show any
error.

Pass

TC-PE-24
Enter only characters
~Sachindeep Singh ~ in
E-Mail ID field.
It Should display an
error message
~Enter valid E-Mail
ID in E-Mail ID
field.
It displays an error
message ~Enter valid
E-Mail ID in E-Mail
ID field.

Pass

TC-PE-25
Enter Numeric
~123456 in E-Mail ID
field.
It Should display an
error message
~Enter valid E-Mail
ID in E-Mail ID
field.
It displays an error
message ~Enter valid
E-Mail ID in E-Mail
ID field.

Pass

TC-PE-26
Enter Alpha numerics
~erthj1234fb in E-Mail
ID field.
It Should display an
error message
~Enter valid E-Mail
ID in E-Mail ID
field.
It displays an error
message ~Enter valid
E-Mail ID in Email-
ID field.

Pass

TC-PE-27
Enter Special
characters ~$^& in
E-Mail ID field.
It Should display an
error message
~Enter valid E-Mail
It displays an error
message ~Enter valid
E-Mail ID in E-Mail

Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 55
ID in E-Mail ID
field.
ID field.

TC-PE-28
Enter Email id with
spaces likesdminhas
singh 2000gmail.com
It Should display an
error message
~Enter valid E-Mail
ID in E-Mail ID
field.
It displays an error
message ~Enter valid
E-Mail ID in E-Mail
ID field.

Pass

TC-PE-29
Enter the input email
address like
#&`$gmail.com
It should not accept
the input email
address as it has
special characters.
It doesn't accept the
input and shows an
error to "Enter valid
E-Mail ID".

Pass


TC-PE-30
Enter the email address
with solely numerics in
the email format like
"1213435gmail.com".
It should accept the
address and should
not show any error.
It accepts the input
address and doesn't
show any error.


Pass

TC-PE-31
Enter Email ID
~sdminhasgmail.com
It will accept the
input as it is in the
correct format.
It accepts the input.
Pass

TC-PE-32
Enter the email id like
~sachinthkr48gmail.c
om
It will accept the
input.
It accepts the input
as it is in the correct
format.

Pass


TC-PE-33
Enter Alpha numeric
~56tg in Contact No
field.
It should display
error message"
Enter valid Contact
Number" in the
Contact No. Field.
It displays an error
message "Enter valid
contact number".


Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 5


TC-PE-34
Enter characters
~sachin in Contact No
field
Error message will
be displayed ~Enter
valid contact
number in Contact
No. Field.
Error message is
displayed ~Enter
valid contact
number in Contact
No. Field.


Pass


TC-PE-35
Enter digits
only756787 in
Contact No. field.
Error message will
be displayed ~Enter
valid contact
number in Contact
No. Field.
Error message is not
displayed ~Enter
valid contact
number in Contact
No. Field.


Fail


TC-PE-36
Enter any number of
digits in the Contact No.
field to check the
maximum number of
digits allowed.
The maximum
number of digits
should be 13 and
value should not be
shown in the textbox
after 13th digit.
14th and exceeding
value is not shown.


Pass
TC-PE-37 Enter digits
only9988103738 in
Contact No field
It will accept the
contact no in
Contact No field.
It accepts the contact
no in Contact No
field.
Pass
TC-PE-38 Click on the submit
button without filling
any value in the
Website Field.
It should display an
error message
Enter Valid
Website in Website
field.
It displays an error
message Enter
Valid format in
Website Field.
Pass
TC-PE-39 Enter only characters
~Sachindeep Singh ~ in
Website field
It Should display an
error message
~Enter Valid
Website in Website
It displays an error
message ~Enter
Valid format" in
Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 57
field. Website field.
TC-PE-40 Enter Numeric
~123456 in Website
field
It Should display an
error message
~Enter Valid
Website in Website
field.
It displays an error
message ~Enter
Valid format in
Website field.
Pass
TC-PE-41 Enter Alpha numeric
~erthj1234fb in
Website field.
It Should display an
error message
~Enter Valid
Website in Website
field.
It displays an error
message ~Enter
Valid Website in
Website field.
Pass
TC-PE-42 Enter Special
characters ~$^& in
Website field.
It Should display an
error message
~Enter Valid
Website in Website
field.
It displays an error
message ~Enter
Valid Website in
Website field.
Pass

TC-PE-43
Fill all the values of
User Edit Profile page
to enter all the details in
the database.
A notification will
come displaying that
the details has been
submitted
successfully.
All the fields are
successfully saved
and notification
comes.

Pass

TC-PE-44
Fill all the fields or just
the required fields and
click on the Cancel
button.
All the Fields should
appear vacant after
button click.
All the fields get
vacant.

Pass

DCCUMLN1 ULCAD
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 58
rekequ|s|tes Visual Studio 3.5 , Sql Server 2008, IE 8, Mozilla FireIox, Sign-Up Form.
Va||dat|on :
kequ|red I|e|d Va||dat|on Category, Upload
Compare Va||dat|on Upload
Iunct|ona||ty 1est Cases (Moz|||a I|refox)
1est case ID Descr|pt|on Lxpected kesu|t Actua| kesu|t kemarks


TC-UD-01
Click the UPLOAD`
button without
choosing any Iile.
An alert should be
shown showing the
error message
'Select a Iile Ior
uploading and
'Choose one
Category.
Alert appears with
messages 'Select a Iile Ior
uploading and 'Choose
one Category.


Pass


TC-UD-02
Choose a Iile with
extension '.jpg and
click the UPLOAD`
button.
An error will be
shown that 'Select
the Iile-type with
Iollowing
extensions: .pdI,
.txt, .doc, .docx,
.ppt, .pptx, .xls.
Error shows
that 'Select the Iile-type
with Iollowing extensions:
.pdI, .txt, .doc, .docx, .ppt,
.pptx, .xls.


Pass


TC-UD-03
Choose Iile oI correct
extension i.e. .pdI`,
.txt`, .doc`, .docx` ,
.ppt`, .pptx`, .xls`
and Iill other Iields.
Click on the Upload`
button.
The File gets
successIully
uploaded with an
alert 'File
SuccessIully
uploaded.
Error shows
that 'Select the Iile-type
with Iollowing extensions:
.pdI, .txt, .doc, .docx, .ppt,
.pptx, .xls.


Pass

TC-UD-04
Click on the upload
link without login to
the website.
An alert should be
shown to login Iirst.
Alert appears.
Pass
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 59

USLk ACCCUN1 MANAGLMLN1 8 ADMIN
1est Su|te Date of Creat|on Created by Imp|emented Cn
User Account
Management
Iorm
29-11-2011 Nitin Jamwal 29-11-2011


Pre-Requisite : (Visual Studio 3.5 Framework, Microsoft SQL Server 2008, User Account
Management Form) IE 8, Mozilla Firefox 5.0.

1est Case ID Descr|pt|on Lxpected kesu|t Actua| kesu|t kemarks

TC-UM-01
Click on the submit
button without entering
input in any oI the Iield oI
the Iorm.
The required
Iields oI the Iorm
should be
displayed with
error message.
All the error
messages are
displayed oI
required Iield are
shown.

Pass

TC-UM-02
Enter any number oI
characters in the
UserName Field to check
the number oI characters
allowed.
It should not
allow more than
30 characters.
It allows more
than 30
characters.

Fail

TC-UM-03
Enter Special characters
'$`& in UserName
Iield to see whether it
accepts special characters
or not.
It should display
'Enter only text
as an error
message in First
Name Iield.
It doesn`t show
any error
message.

Fail.

TC-UM-04
Enter characters with
spaces in UserName Iield
'Sac hi n.
It should display
'Enter only text
as an error
message in First
It doesn`t show
any error
message.

Fail.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 0
Name Iield.

TC-UM-05
Leave blank the
UserName Field and click
on the submit button.
It should display
an error message
'Enter
UserName.
It displays the
error message
'Enter
UserName.

Pass

TC-UM-06
Enter Text 'Sachindeep
in the UserName Iield.
It should accept
the text Ior
UserName Iield.
It accepts the
UserName Iield.

Pass.

TC-UM-07
Leave blank Password
Iield.
Error message
should be
displayed 'Enter
Password in the
Password Iield.
Error message is
displayed 'Enter
Password in
Password Iield.

Pass

TC-UM-08
Enter characters 'priti
in Password Iield.
It should accept
the input in
Password Iield.
It accepts the
character in
Password Iield.

Pass

TC-UM-09
Enter digits only123456
in Password Iield.
It should accept
the input in
Password Iield.
It accepts the
character in
Password Iield.

Pass.


TC-UM-10
Enter Password with only
three digits745 in
Password Iield.
Error message
should be
displayed
'Password
should be more
than 6
characters in the
Password Iield.
It doesn`t show
any error
message.


Fail.

TC-UM-11
Enter the
inputSA123435 in
Password Iield.
It should accept
the input in
Password Iield.
It accepts the
input in the
Password Field.

Pass.


TC-UM-12
Enter the input
onlySA1 in Password
Iield.
Error messages
should be
displayed
'Password
should be more
than 6
No error message
is displayed.


Fail
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l
characters in the
Password Iield.

TC-UM-13
Enter the Password with
long input string having
more than 30 characters.
It should give an
error message
'Enter Password
with less than 30
characters.
No error message
is displayed.

Fail.

TC-UM-14
Enter the password and
copy it. Clear the
Password Field and try to
paste the copied
password.
It should be
copied but the
pasted password
should not be
accepted.
The password is
pasted but is not
accepted.

Pass


TC-UM-15
Enter characters
'123412 as in
ConIirm-Password Field
and same as in the
Password Iield.

It should accept
the character in
ConIirm
Password Iield.

It accepts the
character in the
ConIirm
Password Iield.



Pass

TC-UM-16
Enter '123456 in the
password Iield and enter
'123489 in the ConIirm-
Password Iield.
It should not be
accepted and the
error message
'Password does
not match.
Password is not
accepted and
error message is
shown.

Pass

TC-UM-17
Enter '123456 in the
password Iield and enter
'123456 in the ConIirm-
Password Iield.
It should be
accepted without
showing any
error message.
No error message
is shown and the
input gets
accepted.

Pass


TC-UM-18
Enter only characters
'Priti Sinha' in E-Mail ID
Iield

It should display
an error message
'Enter valid E-
Mail ID in E-
Mail ID Iield.

It displays an
error message
'Enter valid E-
Mail ID in the
E-Mail ID Iield.


Pass
Enter numerics '123456
in E-mail ID Iield.
It should display
an error message
'Enter valid E-
It displays an
error message
'Enter valid E-

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 2
TC-UM-19 Mail ID in E-
Mail ID Iield.

Mail ID in E-
Mail ID Iield.

Pass


TC-UM-20
Enter alpha-numerics
'erthj1234Ib in E-mail
ID Iield.

It should display
an error message
'Enter valid E-
Mail ID in E-
Mail ID Iield.

It displays an
error message
'Enter valid E-
Mail ID in E-
Mail ID Iield.



Pass


TC-UM-21
Enter Special characters
'$`& in E-mail ID
Iield.

It should display
an error message
'Enter valid E-
Mail ID in E-
Mail ID Iield.

It displays an
error message
'Enter valid E-
Mail ID in E-
Mail ID Iield.



Pass


TC-UM-22
Enter Email id with
spaces likepriti sinha
2000gmail.com.

It should display
an error message
'Enter valid E-
Mail ID in E-
Mail ID Iield.

It displays an
error message
'Enter valid E-
Mail ID in E-
Mail ID Iield.



Pass

TC-UM-23
Enter valid Iormat oI E-
Mail ID with special
characters like
$#$$gmail.com.

An error should
come depicting
that "Enter valid
E-Mail ID".

Error showing
the message
"Enter valid E-
Mail ID" comes.


Pass.

TC-UM-24
Enter valid Iormat oI E-
Mail ID with only
numerics i.e.
123445gmail.com.

It should accept
the input.

It accepts the
input.


Pass

TC-UM-25
Enter E-Mail ID
'sdminhasgmail.com.
It will accept the
input in this
It accepts the
input in that

Pass.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 3
Iormat.

Iormat.


TC-UM-26
Enter the E-Mail ID like
sachinthkr48gmail.com.

It will accept the
input in this
Iormat.

It accepts the
input in that
Iormat.


Pass




IMLLMLN1A1ICN
Implementation is the process oI having proIessional checkpoints and put new equipments into user,
trained user, install, the new application and constructs any Iiles or data needed to use it. This phase is
less creative then system design. It mainly concerned with user training site preparation and Iile
conversions. Depending on the size oI the organization that will involve in using the application, the
risks involved in its use. System developers may choose to test the operation in only one area oI the Iirm
with only one or two persons. Sometimes they may run an old or new system in parallel way to compare
the results. In other situation system developers stop using the old system one-way and start using the
old system the other way. During the Iinal step user acceptations is tested Iollowed by user training
depending upon the nature oI the system extensive user training may be required. Conversion usually
takes place at about the same time the user is being trained or later. System testing checks the readiness
and accuracy oI the system to access update and retrieve data Irom new Iiles. Once the program
becomes available, test data are used Ior testing. II successIul the program are run with actual live data.
CCNVLkSICN LAN
The process oI changing the old system into a new one is the conversion Plan. There are various
methods oI conversion. However the pros and cons oI each method should be evaluated beIore deciding
upon the Iinal approach.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo =
The methods oI conversion are:
Direct Conversion
Parallel Conversion
Phased Conversion
Pilot Conversion

These are explained as :
DIkLC1 CCNVLkSICN
In this Conversion all the users stop using the old system at the same time, then being using the new
system, this option is Iast and disruptive so is not Ieasible in our case as large no oI Process will be
carried out simultaneously, so to stop the running system and start using new one will be diIIicult to use.
nASLD CCNVLkSICN
Users in this start using the new system component by component. This option works only with the
system that are compartmentalized.
ILC1 CCNVLkSICN
Personal single site uses the new system, then the entire organization makes the switch. Although this
approach takes the more time than the other type oI conversions, it gives opportunity to test user
response to the system thoroughly.
AkALLLL CCNLkSICN
Users continue to use the old system while an increasing amount oI data is processed through the old
system .The Outputs Irom the two systems are compared : iI they agree then the switch is made which is
Iurther used Ior the testing oI the new system.

CS1 IMLLMLN1A1ICN AND MAIN1LNANCL
CS1 IMLLMLN1A1ICN
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 5
AIter installation phase is complete and user staII is adjusted to the changes traded by the new system,
evaluation and maintenance starts. Like any other system, this is an aging process that requires periodic
maintenance oI hardware and soItware. II the new inIormation is inconsistent with the design
speciIication maintenance to keep it tuned with the design speciIication. The importance oI the
maintenance is to continue, to bring the new system to the standards. User priority changes in the
organizational programs or the environmental Iactors also caught Ior the system analysis. Maintenance
is necessary to eliminate errors in the working system. During its working live and to tune the system to
any variations in its working environment. OIten small system is brought to the operation and changes
are made to remove them. System planners must always plan them Ior resources availability to carry out
their maintenance Iunction. The importance oI maintenance is to continue to bring new system to
standard.
MAIN1LNANCL
Computer soItware programmers and engineers perIorm various soItware maintenance Iunctions to keep
soItware running with as Iew problems as possible. Programmers and engineers also constantly seek to
improve the reliability and Iunctionality oI soItware through maintenance activities. Many businesses
rely on various soItware programs to manage their Iinances, inventory, employees, security systems, and
other Iacets oI business activity.
CCkkLC1IVL
Corrective soItware maintenance involves developing and deploying solutions to problems ("bugs") that
arise during use oI a soItware program. Computer users will notice perIormance problems with soItware,
such as error messages coming on the screen or the program Ireezing or crashing, meaning corrective
soItware maintenance is needed. OIten these Iixes permanently solve the problem, but not always. Some
Iixes act as a temporary solution while computer programmers work on a more permanent solution.
LkILC1IVL
No soItware program contains zero Ilaws or areas Ior improvement. PerIective soItware maintenance
involves computer programmers working to improve the way a soItware program Iunctions or how
quickly it processes requests. Programmers may also engage in perIective soItware maintenance to
improve the soItware's menu layouts and command interIaces. Sometimes programmers need to conduct
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo
perIective maintenance on soItware because oI outside inIluences, such as new government regulations
that aIIect how a business operates.
ADA1IVL
The Iield oI technology constantly changes through both hardware and soItware developments. Adaptive
soItware maintenance addresses these changes. A change in a processor speed, Ior example, will aIIect
how the soItware perIorms on a single computer. SoItware interacts with other soItware programs on a
computer or network, means that changes in one program may require changes in other programs.
kLVLN1A1IVL
When computer programmers engage in preventative soItware maintenance, they try to prevent
problems with soItware programs beIore they occur. Programmers seek to prevent corrective
maintenance as much as possible, while also anticipating adaptive maintenance needs beIore users
experience problems. Computer programmers test soItware as automotive companies test the vehicles
they make to make sure the soItware can handle high data loads and other stressIul operations without
problems. Computer programmers also test the soItware with other programs that users likely will use
on their computers, to make sure that compatibility issues do not arise.

0 kCILC1 LLGAC
0 CUkkLN1 S1A1US CI 1nL kCILC1
In our project we have implemented all the important Ieatures that are required Ior any Online
Document Sharing Website. Our project consist of the following features :
We have created modules oI three types oI users i.e. Registered, Unregistered and Administrator.
Registered users can upload/download and view books. They can also use Iunctionality oI post
on Forum, Feedback and Iollow other users in our websites.
Registered users also have Iunctionality to rate the documents.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 7
The Administrator has Iull access to all the modules oI the SoItware.
The user can change his/her password and also edit his/her proIile whenever required.
The Passwords are saved in the encrypted Iorm in the databases Ior the security reasons.
Random password and unique Order Numbers are generated every time in our application.
Reporting has been done so that the Day to Day reports can be generated and kept as details by the
Website owners.
Feedbacks and posting on Forum cannot be given by the Non Users i.e. the visitors.
To Iollow other users is also not available Ior the unregistered users.
Books are available in diIIerent Iormats in our website.
Dynamic Generation oI the Menu according to the type oI users.

0 IU1UkL SCCL AND IU1UkL LNnANCLMLN1
In Iuture availability oI document`s Iormat can be increased. E.g. we may also think about
including video Iormat Iiles (tutorials).
We may also include the option oI chatting Ior the online users. It will help in understanding the
Iiles uploaded by the other users in a huge way.
We may also work on our user interIace aIter the diIIerent Ieedbacks that we will get Irom our
users.


0 1LCnNICAL kLUIkLMLN1S

Sql server 2008
Visual studio 2008 (Ajax enabled)
.Net Iramework 3.5
Itext sharp
AbcpdI
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 8
Adobe Photoshop

0 1LCnNICAL AND MANAGLkIAL SkILLS LLAkN1
We Have Learnt about C#, ASP.net and SQL Server 2008.

In SQL Server we have learnt about Stored Procedures, Normalizing Data, Query handling and
some new Ieatures oI SQL Server 2008
In ASP.net we have learnt Session Handling, View State Management, Ajax Controls, CSS,
JavaScript, Applying Encryption and Decryption, validating Data, reporting i.e. Using Crystal
Reports.
In managerial Skills we have learned about team work, Group eIIort and Coordination in Group,
and the way to Work on the Live Projects.


USLk MANUAL (nLL GUIDL)
nCML AGL

ICkM NAML frmHome
UkCSL Home Page of the Website

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 9


DLSCkI1ICN

This is the Home page oI the web site. On that page there are diIIerent type oI links and inIormation
on this page. Some oI the major links available on the home page oI our website are Login, SignUp,
Home, About us, Documents, Forums, Upload, Contact Us, Feedback and Search.

User can register on our website through SignUp link and can get access to our website and view
diIIerent types oI documents available in our website. Without Login user can only view Forum
topics and comments done by users on them. User can post any comment, give Ieedback and can
upload/download any document only aIter logging in.

SIGN U
UkCSL To make user registered on the website.
DLSIGN
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 70






DLSCkI1ICN
To get registered on our website users need just Iour things to Iill in. These are User Name, E-mail
Id, Password and ConIirm Password. We have implemented these textboxes with validators e.g. Iirst
character oI the Username can`t be numeric, email id must be in the correct way and valid etc. By
clicking on the submit button, a mail containing activation code will be automatically get sent to the
user. To read privacy and policy inIormation, user can click on the Privacy and policy button.


ACCCUN1 VLkIIICA1ICN

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 7l
UkCSL To get registered on our website user need to Iill in the activation code which is sent to
the email address provided by him. By this we can identiIy that whether he has provided valid email
address or not.


DLSCkI1ICN
AIter providing the required inIormation in the User Sign Up page, user will be redirected to this
page where he has to Iill in the activation code sent on his email id. By pasting that activation code
in the required place, user have to click on the Submit button to get complete access to our website.
Incase iI the user have not received the activation code, then he can click on the Click here button as
shown in the screenshot.


Log|n
ICkM NAML frmHome
UkCSL To make the user logged in.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 72


DLSCkI1ICN
This is a way to logging in the user. User have to Iill in his/her username and password and then to
click on the go button to save the data. AIter logging in, user can get complete access to resources
available on our website.

User S|gn In Status
ICkM NAML frmUserHome
UkCSL This is the Home page of user account.

DLSIGN


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 73
DLSCkI1ICN
As we can see on the screenshot user will get his username displayed on the Page with Welcome text
written out there. There is also an option Ior him to get logged out. He can do the same by click in on
logout button.

DCCUMLN1 ULCAD
ICkM NAML frmllleupload
IUkIO8L : To allow users to upload their documents on our website

DL8|GN :

DLSCkI1ICN
As we can see on the screenshot above, this is our webpage Ior uploading documents. First oI all user
have to browse the Iile that he wants to upload. This can be done by clicking on browse. Then he can
choose the category in which he wants to upload his/her Iile. And he can also give any kind oI
description Ior his Iile in the speciIied place that is provided on this webpage. AIter doing all these
activities, he can click on Submit button to Iinalize his upload. File will get uploaded in Iew moments.

ULACD CCNIIkMA1ICN
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 7=
ICkM NAML :frmllleuploadaspx
UkCSL : To notiIy the user that the Iile has been uploaded.

Des|gn

DLSCkI1ICN
As we can see on the screenshot above, when the user clicks on the Submit button to upload the Iile, a
message box will be shown to the user containing the text that the Iile has been successIully uploaded.
This message will be only displayed when the Iile will get successIully uploaded .

User nome
ICkM NAML frmUserHome
UkCSL For redirecting the user to his/her home page after he gets logged in.

DLSIGN

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 75



DLSCkI1ICN

This is User Home Page. Here users can explore their various activities. It is divided into diIIerent
section as we can see on the screenshot above. My Stats will show the User Document Status i.e. the
number oI downloads\Uploads made by the user. It will also show the number oI documents in the
User Collection. My Follower section lets user updated about his Iollowers i.e. which other users are
Iollowing him. My Recent visits shows documents which are recently visited by the user. My
Reading Feed will show User`s Follower recent activities. It will contain inIormation about the
documents that their Iollowers have uploaded/downloaded and also the user name oI that user. It will
also show the total no. oI reads oI that particular document. User Explorer section will be displayed
to the user according to roles deIined to that particular user. It will contain the menu list according to
roles deIined Ior the user.

User rof||e Info
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 7
UkCSL To let user edit his/her profile.

DLSIGN




DLSCkI1ICN
User has option oI My ProIile on the User Explorer Irom where the user can view or edit his/her proIile.
When the user clicks on View ProIile, user will be able to view his/her current proIile. On the top on leIt
hand side user can view his/her proIile image as you also notice on the screenshot. There is also the
availability oI two options namely Edit,ProIile and Follower. From Edit ProIile, user can edit his/her
proIile inIormation and can save it. From Follower button, user can edit or manipulate his/her Iollower
list.

DCCUMLN1 VILW
ICkM NAML frmvlewuocumenLaspx
UkCSL To view any document in web browser that is available on our website.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 77


DLSCkI1ICN
When user clicks on any Iile, it will get opened up Ior viewing in the browser. As we can see there will
be the availability oI the File Name at top. And the document will be opened up in the Ilash Iormat in
the user web browser. At the bottom there will be the availability oI File InIormation Ior the user. It will
contain inIormation like total reads, File Uploader name, total rating, publishing date and the button Ior
adding this Iile to our document collection. From this webpage user can also download and rate this
document.

0USLk nIS1Ck
UkCSL It keeps the track oI history oI the activities that user have done on the diIIerent
documents.
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 78
DLSIGN




DLSCkI1ICN
There is an option oI My History Ior the user on the User Explorer. As you can see on the screenshot, by
clicking on the My History three tabs will be opened up namely My Documents, My Collection and My
Downloads. My documents will contain the overall history oI the documents oI the user. It will have
inIormation about each documents i.e. File Description, File name, Upload time, Rating, Reads, and the
File Security InIormation whether the File is public or private. My collection will contain the User
Collection History i.e. the documents in the User Collection. And again the same inIormation regarding
each Iile will be available there. My Downloads will contain the documents downloaded by the user.
And each Iile will contain all inIormation related to it.


ICkUM nCML
ICkM NAML frmlormPome
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 79
UkCSL To discuss on the diIIerent topics created about the website by the diIIerent users or
to create new topics.

DLSIGN


DLSCkI1ICN
As we can see on the screenshot, on the Iorum page we mainly have inIormation about Forum Category
name i.e. is shown under Forum. And then the Last Post, under which we can see the last topic being
discussed under particular Iorum category. And Total Post shows us that how much total number oI
topics are there in the particular Forum Category. To make our Forum page more convenient, we have
included the option oI search within the Forum. From Today`s Post option user can see the posts that are
done on the same day. There is also an option oI Home Irom where user can redirect to the Home Page.
From FAQ option available in the page, user can know about the basic Iunctionalities oI the Iorum and
to use them in more convenient way.

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 80

DLSCkI1ICN
It is the lower part oI the Iorum home page. As we can see on screenshot it contains the inIormation
about the tolal active users, Current time, total no.oI categories available in the Iorum, total topics and
total comments number oI comments made.

0ICkUM 1CIC

UkCSL To have the inIormation about the topic contained in the particular category oI Forum.
DLSIGN

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 8l


DLSCkI1ICN
When we click on the particular Iorum category name, this page will get opened up. It contains
Discussion Title, Last Post and Total Post. Discussion Title reIers to the diIIerent topics available on the
clicked Iorum category name, while Last Comment shows the comment done on this topic and it will
also contain the name oI user who have write that comment. Total post will show the total number oI
comments made on particular topic.

USLk CCMMLN1
UkCSL To allow users to comment on any forum topic.
DLSIGN
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 82


DLSCkI1ICN
The above Screenshot shows us the Iorum page that allows user to comment on any selected Iorum topic
under some Iorum category name. This page displays already made comments on the selected Iorum
topic and the name oI the users who have done the comments. It also allows the user to post their own
comment regarding the selected topic.

SLAkCnING MCDULL
ICkM NAML : frmSearchaspx
UkCSL To access the required document in convenient way.

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 83

DLSCkI1ICN
It is necessary Ior any website to include search Iunctionality in their website. It makes the accessibility
oI the documents easier. As we can see on the screen shot above, we have entered CSE Ior search and all
related documents are displayed on the screen. Each document are shown with File original name,
owner, date oI upload, total reads, total rating and total subscribers. There will also be the availability oI
Click to add collection button Irom where user can add current document to his collection.










Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 8=



CODE

IILL S1CkAGL AND kL1kILVAL
Upload/Download Class
/```````NameSpace ``````/
using System;
using System.Data;
using System.Data.SqlClient;
using System.IJ;
using System.Collections.Generic;
using WebSupergoo.ABCpdf7;

public class clsUploadDownload
,

#region Private Variables

private int _id1;
private Guid _id;
private byte, _fileData;
private string _fileUrl;
private string _contentType;
private string _originalName;
private DateTime _dateCreated;
private bool _containsFile;
private int _UserId;
private int _CatId;

#endregion

#region Public Properties


public int UserID
,
get
,
return _UserId;
,
,

public int CatId
,
get
,
return _CatId;
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 85
,
,

public Guid Id
,
get
,
return _id;
,
,


public DateTime DateCreated
,
get
,
return _dateCreated;
,
,

public string ContentType
,
get
,
return _contentType;
,
,

public string JriginalName
,
get
,
return _originalName;
,
,

public string FileUrl
,
get
,
return _fileUrl;
,
,

public bool ContainsFile
,
get
,
return _containsFile;
,
,


public byte, FileData
,

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 8
get
,
return _fileData;
,
,

#endregion

#region Public Methods

/```````Method To Download File ``````/
public static clsUploadDownload GetItem(int fileId)
,
clsUploadDownload myFile = null;
using (SqlConnection mySqlConnection = new
SqlConnection(AppConfiguration.ConnectionString))
,

/```````Stored Procedure To Retrieve File For Download ``````/

SqlCommand myCommand = new SqlCommand("sprocSelectFileForDownload",
mySqlConnection);
myCommand.CommandType = CommandType.StoredProcedure;

SqlParameter prmId = new SqlParameter("@id", SqlDbType.Int);
prmId.Value = fileId;
myCommand.Parameters.Add(prmId);

mySqlConnection.Jpen();
using (SqlDataReader myReader = myCommand.ExecuteReader())
,
if (myReader.Read())
,
myFile = new clsUploadDownload(myReader);
,
myReader.Close();
,
mySqlConnection.Close();
,
return myFile;
,
/```````End OF Download File Method ``````/

/```````Method To Upload File ``````/

public bool Save(string filePath ,string pathThumbnail,string

SaveFilePath,string SaveThumbnailPath, string SaveSwfFilePath)
,

return Save(DataStoreType.FileSystem, filePath, pathThumbnail, SaveFilePath,
SaveThumbnailPath, SaveSwfFilePath);

,

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 87
private bool Save(DataStoreType dataStoreType, string filePath, string
pathThumbnail, string SaveFilePath, string SaveThumbnailPath, string
SaveSwfFilePath)
,
using (SqlConnection mySqlConnection = new
SqlConnection(AppConfiguration.ConnectionString))
,

/```````Stored Procedure To Save File Info in Database``````/

SqlCommand myCommand = new SqlCommand("sprocInsertFileInfoSingleItem",
mySqlConnection);
myCommand.CommandType = CommandType.StoredProcedure;

SqlParameter prmUserId = new SqlParameter("@userid", SqlDbType.Int);
prmUserId.Value = UserID;
myCommand.Parameters.Add(prmUserId);

SqlParameter prmFileLoc = new SqlParameter("@filelocation",
SqlDbType.VarChar,1000);
string, sPath = SaveFilePath.Split('\\');
string sPath1 = sPath0, + '/' + sPath1,;


prmFileLoc.Value =sPath1;
myCommand.Parameters.Add(prmFileLoc);


SqlParameter prmCatId = new SqlParameter("@categoryid", SqlDbType.Int);
prmCatId.Value = CatId;
myCommand.Parameters.Add(prmCatId);


SqlParameter prmFileUrl = new SqlParameter("@fileUrl",
SqlDbType.NVarChar, 1000);
prmFileUrl.Value = FileUrl;
myCommand.Parameters.Add(prmFileUrl);

SqlParameter prmJriginalName = new SqlParameter("@originalName",
SqlDbType.NVarChar, 50);
prmJriginalName.Value =JriginalName;
myCommand.Parameters.Add(prmJriginalName);

SqlParameter prmContentType = new SqlParameter("@contentType",
SqlDbType.NVarChar, 50);
prmContentType.Value = ContentType;

myCommand.Parameters.Add(prmContentType);
string, sPath2 = SaveThumbnailPath.Split('\\');
string sPath3 = sPath20, + '/' + sPath21,+".png";;

SqlParameter prmThumbnailPath = new SqlParameter("@ThumbnailPath",
SqlDbType.NVarChar,1000);
prmThumbnailPath.Value =sPath3;

myCommand.Parameters.Add(prmThumbnailPath);
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 88

string, sPath5 = SaveSwfFilePath.Split('\\');

string sPath6 = sPath50, + '/' + sPath51, + ".swf";

SqlParameter prmSwfPath = new SqlParameter("@SwfPath",
SqlDbType.NVarChar,1000);
prmSwfPath.Value = sPath6;

myCommand.Parameters.Add(prmSwfPath);

mySqlConnection.Jpen();
bool result = myCommand.ExecuteNonQuery() 0;
mySqlConnection.Close();


/```````Break File Into Several Part And Stored in The File System``````/

const int myBufferSize = 1024;
Stream myInputStream = new MemoryStream((FileData));
Stream myJutputStream = System.IJ.File.JpenWrite(filePath);

byte, buffer = new BytemyBufferSize,;
int numbytes;

while ((numbytes = myInputStream.Read(buffer, 0, myBufferSize)) 0)
,
myJutputStream.Write(buffer, 0, numbytes);
,

myInputStream.Close();
myJutputStream.Close();
return result;
,
,


#endregion

#region Constructor(s)

public clsUploadDownload(SqlDataReader myReader)

,

_dateCreated = myReader.GetDateTime(myReader.GetJrdinal("UploadTime"));
_originalName= myReader.GetString(myReader.GetJrdinal("JriginalName"));
_contentType = myReader.GetString(myReader.GetJrdinal("FileContent"));
_id1 =Convert.ToInt32(myReader"FileId",);
_fileUrl = myReader.GetString(myReader.GetJrdinal("FileUrl"));
_containsFile= false;

,


Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 89
public clsUploadDownload(string contentType, string originalName, byte,
fileData,int UserId,int CID)
,

this._id = Guid.NewGuid();
this._UserId = UserId;
this._contentType = contentType;
this._fileData = fileData;
this._originalName = originalName;
this._CatId = CID;

string extension = Path.GetExtension(originalName);
string fileName = this.Id.ToString() + extension;
this._fileUrl = fileName;
,

#endregion

,


IILL 1nUM8NAIL GLNLkA1ICN

/```````This Function Generate Thumbnail Of Document Of Sizw 15 inch ``````/

Doc dThumbnail = new Doc();

dThumbnail.Read(ExportPath);
dThumbnail.Rendering.DotsPerInch = 15;

dThumbnail.PageNumber = 1;
dThumbnail.Rect.String = dThumbnail.CropBox.String;
dThumbnail.Rendering.Save(ThumbnailPath + ".png");


IILL CCNVLkSICN CLASSLS
DCC 1C DI
/```````Function To Convert Ms Word Document To Pdf ``````/
public bool ConvertDocToPdf()
,

Microsoft.Jffice.Interop.Word.Application wordApplication = new
Microsoft.Jffice.Interop.Word.Application();
Document wordDocument = null;
object paramSourceDocPath = @FilePath;
object paramMissing = Type.Missing;

string paramExportFilePath = @ExportPath;
WdExportFormat paramExportFormat = WdExportFormat.wdExportFormatPDF;

bool paramJpenAfterExport = false;
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 90
WdExportJptimizeFor paramExportJptimizeFor
WdExportJptimizeFor.wdExportJptimizeForPrint;
WdExportRange paramExportRange = WdExportRange.wdExportAllDocument;



/```````Spacify The Document Parameter``````/

int paramStartPage = 0;
int paramEndPage = 0;

WdExportItem paramExportItem = WdExportItem.wdExportDocumentContent;
bool paramIncludeDocProps = true;

bool paramKeepIRM = true;
WdExportCreateBookmarks paramCreateBookmarks =
WdExportCreateBookmarks.wdExportCreateWordBookmarks;
bool paramDocStructureTags = true;

bool paramBitmapMissingFonts = true;
bool paramUseISJ19005_1 = false;

try
,

wordDocument = wordApplication.Documents.Jpen(ref paramSourceDocPath,
ref paramMissing, ref paramMissing,ref paramMissing, ref paramMissing,
ref paramMissing, ref paramMissing, ref paramMissing, ref
paramMissing,ref paramMissing, ref paramMissing, ref paramMissing,ref
paramMissing, ref paramMissing, ref paramMissing,ref paramMissing);

// Export it in the specified format.

if (wordDocument != null)
,

wordDocument.ExportAsFixedFormat(paramExportFilePath,paramExportFormat,
paramJpenAfterExport, paramExportJptimizeFor, paramExportRange,
paramStartPage,paramEndPage, paramExportItem,
paramIncludeDocProps,paramKeepIRM, paramCreateBookmarks,
paramDocStructureTags,paramBitmapMissingFonts, paramUseISJ19005_1,ref
paramMissing);
,
catch(Exception )
,
// Respond to the error
,
finally
,
// Close and release the Document object.
if (wordDocument != null)
,
wordDocument.Close(ref paramMissing, ref paramMissing,ref
paramMissing);
wordDocument = null;
,
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 9l

// Quit Word and release the ApplicationClass object.
if (wordApplication != null)
,
wordApplication.Quit(ref paramMissing, ref paramMissing,ref
paramMissing);
wordApplication = null;
,
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
GC.WaitForPendingFinalizers();
,
return true;
,

LkCLL 1C DI

/```````Function To Convert Ms Excel Document To Pdf ``````/
public bool ConvertExcelToPdf()
,

Microsoft.Jffice.Interop.Excel.Application myExcel = new
Microsoft.Jffice.Interop.Excel.Application();
Workbook myExcelWorkBook = null;
string paramSourceBookPath = @FilePath;
object paramMissing = Type.Missing;

string paramExportFilePath = @ExportPath;
XlFixedFormatType paramExportFormat = XlFixedFormatType.xlTypePDF;
XlFixedFormatQuality paramExportQuality =
XlFixedFormatQuality.xlQualityStandard;
bool paramJpenAfterPublish = false;
bool paramIncludeDocProps = true;
bool paramIgnorePrintAreas = true;
object paramFromPage = Type.Missing;
object paramToPage = Type.Missing;

try
,
// Jpen the source workbook.
myExcelWorkBook = myExcel.Workbooks.Jpen(paramSourceBookPath,
paramMissing, paramMissing, paramMissing, paramMissing,
paramMissing, paramMissing, paramMissing, paramMissing,
paramMissing, paramMissing, paramMissing, paramMissing,
paramMissing, paramMissing);

// Save it in the target format.
if (myExcelWorkBook != null)
myExcelWorkBook.ExportAsFixedFormat(paramExportFormat,
paramExportFilePath, paramExportQuality,
paramIncludeDocProps, paramIgnorePrintAreas, paramFromPage,
paramToPage, paramJpenAfterPublish,
paramMissing);
,
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 92
catch (Exception )
,
// Respond to the error.
,
finally
,
// Close the workbook object.
if (myExcelWorkBook != null)
,
myExcelWorkBook.Close(false, paramMissing, paramMissing);
myExcelWorkBook = null;
,
// Quit Excel and release the ApplicationClass object.
if (myExcel != null)
,
myExcel.Quit();
myExcel = null;
,
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
GC.WaitForPendingFinalizers();
,
return true;


,

1 1C DI
/```````Function To Convert Ms Powerpoint Document To Pdf ``````/

public ppt(string FilePath, string ExportPath)
,
Microsoft.Jffice.Interop.PowerPoint.Application ppApp = new
Microsoft.Jffice.Interop.PowerPoint.Application();
string SourceFileName = FilePath;
string JutPutFileName = ExportPath;

Microsoft.Jffice.Interop.PowerPoint.Presentation presentation =
ppApp.Presentations.Jpen(SourceFileName,
Microsoft.Jffice.Core.MsoTriState.msoTrue,
Microsoft.Jffice.Core.MsoTriState.msoFalse,
Microsoft.Jffice.Core.MsoTriState.msoFalse);
presentation.ExportAsFixedFormat(JutPutFileName,
PpFixedFormatType.ppFixedFormatTypePDF,
PpFixedFormatIntent.ppFixedFormatIntentPrint,
Microsoft.Jffice.Core.MsoTriState.msoFalse,
PpPrintHandoutJrder.ppPrintHandoutHorizontalFirst,
PpPrintJutputType.ppPrintJutputSlides,
Microsoft.Jffice.Core.MsoTriState.msoFalse, null, PpPrintRangeType.ppPrintAll,
"", true, true, true, true, false, System.Reflection.Missing.Value);

presentation.Close();

presentation = null;
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 93

ppApp = null;

GC.Collect();
,
,

1k1 1C DI

/```````Function To Convert Text Document To Pdf ``````/
public class ConversionTXTtoPDF
,
public ConversionTXTtoPDF(string input, string output)
,
var document = new Document();
using (FileStream stream = System.IJ.File.JpenWrite(input))
,
var writer = PdfWriter.GetInstance(document, stream);
document.Jpen();
System.IJ.File.ReadAllLines(output).ToList().ForEach(line =
document.Add(new Paragraph(line)));
document.Close();
,
,
,

DI 1C SWI

/```````Function To Convert PDF Document To SWF To View ``````/

public ConversionPDFtoSWF(string input, string output)
,
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardJutput = true;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.RedirectStandardError = true;
p.StartInfo.WorkingDirectory =
HttpContext.Current.Server.MapPath("~/SwfFolder");
p.StartInfo.FileName =
HttpContext.Current.Server.MapPath("~/SWF/pdf2swf.exe");
p.StartInfo.Arguments = "-F " + "\"" +
HttpContext.Current.Server.MapPath("~/SWF/FJNTS") + "\"" + " " + input + " -o
" + output + ".swf";
//Start the process
p.Start();
p.WaitForExit();
p.Close();
,



Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 9=
ACCCUN1 MANAGLMLN1

Create Account

/```````Method To Create Account ``````/

public bool SaveAccountInfo()
,
using (SqlConnection sqlConn = new
SqlConnection(AppConfiguration.ConnectionString))
,
SqlCommand sqlCmd = new SqlCommand("sprocInsertUserLoginSignUpDetail",
sqlConn);
sqlCmd.CommandType = CommandType.StoredProcedure;

SqlParameter prmUserName = new SqlParameter("@username", SqlDbType.NVarChar,
50);
prmUserName.Value = UserName.TrimEnd();
sqlCmd.Parameters.Add(prmUserName);

SqlParameter prmEmailId = new SqlParameter("@emailid",SqlDbType.NVarChar, 60);
prmEmailId.Value = EmailId.TrimEnd();
sqlCmd.Parameters.Add(prmEmailId);

SqlParameter prmPassword=new SqlParameter("@password",SqlDbType.NVarChar,50);
prmPassword.Value = EncryptedPassword.TrimEnd();
sqlCmd.Parameters.Add(prmPassword);

SqlParameter prmCode = new SqlParameter("@code", SqlDbType.UniqueIdentifier);
prmCode.Value = (new Guid(Convert.ToString(ActivationCode.ToLower())));
sqlCmd.Parameters.Add(prmCode);
sqlConn.Jpen();
bool result = sqlCmd.ExecuteNonQuery() 0;
sqlConn.Close();
return result;
,
,


Send Lma||


/```````Method To Send Activation Code To User Email ID ``````/
public bool SendEmail()
,

MailMessage mailmsg = new MailMessage();
mailmsg.To.Add(EmailId);
mailmsg.From = new MailAddress("admin@share.com", "doc2share");
mailmsg.Subject = "Activation code";
mailmsg.SubjectEncoding = System.Text.Encoding.UTF8;
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 95

//mail content
StringBuilder sb = new StringBuilder();
sb.Append("Dear <b" + UserName + "</b,<br/doc2share provides you a place
to share different sort of documents of various categories related to study,
health and research papers etc. Experience the best and unique features of
doc2share to share informations.<br/<br/Your Activation code is: <b" +
ActivationCode + "</b<br/<br/ To activate your account, please copy this
code and fill at activation account follow up step on website. <br/ Direct
Link to Activate Account window <a
href=http://localhost:50492/cleanpage2/frmActivationCode.aspx
ActivateAccount</a<br/ You can visit our site directle by clicking on the
link <a href=http://localhost:50492/cleanpage2/frmHome.aspx
www.doc2share.com</a<br/Thanks to being a member of doc2share ");

mailmsg.IsBodyHtml = true;
mailmsg.Body = sb.ToString();
mailmsg.Priority = MailPriority.High;

SmtpClient client = new SmtpClient();
client.Credentials = new NetworkCredential("team.sharelibrary@gmail.com",
"infotech@group6");
client.Host = "smtp.gmail.com";
client.EnableSsl = true;

try
,
client.Send(mailmsg);
return true;
,

catch (Exception ex)
,
Exception ex2 = ex;
string ErrorMessage = string.Empty;

while (ex != null)
,
ErrorMessage += ex2.ToString();
ex2 = ex2.InnerException;
,
HttpContext.Current.Response.Write(ErrorMessage);
return false;
,
,

Lncrypt assword


/```````Method To Encrypte Password ``````/

public string EncryptPassword()
,
MD5 EncryptPassword = MD5.Create();
byte, input = System.Text.Encoding.ASCII.GetBytes(Password);
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 9
byte, hashBytes = EncryptPassword.ComputeHash(input);
StringBuilder sb = new StringBuilder();
for (int i = 0; i < hashBytes.Length; i++)
,
sb.Append(hashBytesi,.ToString("X2"));
,
_EncryptedPassword = sb.ToString();// password is encoded
return (sb.ToString());

,


Log|n Iunct|on

/```````Method To Login In To Account ``````/

public DataTable fnLogin()
,
using (mySqlConn = new SqlConnection(AppConfiguration.ConnectionString))
,
openConnection();
int, a = new int3,;
SqlCommand sqlCmd = new SqlCommand("sprocGetUserLoginData", mySqlConn);
sqlCmd.CommandType = CommandType.StoredProcedure;

SqlParameter prmUsername=new SqlParameter("@username",SqlDbType.NVarChar,50);
prmUsername.Value = UserName;
sqlCmd.Parameters.Add(prmUsername);

SqlParameter prmPassword=new SqlParameter("@password",SqlDbType.NVarChar, 50);
prmPassword.Value = EncryptedPassword;
sqlCmd.Parameters.Add(prmPassword);


DataTable retTable = new DataTable();
SqlDataAdapter msAdp = new SqlDataAdapter(sqlCmd);
msAdp.MissingSchemaAction = MissingSchemaAction.AddWithKey;
msAdp.Fill(retTable);
closeConnection();

return (retTable);
,

,


ADMINIS1kA1Ck MCDULL

8LCCk USLk

/```````Method To Adminstrator Block To User ``````/
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 97
public void Deleteuser(StringCollection recordsToDelete)
,
using (SqlConnection MySqlConn = new
SqlConnection(AppConfiguration.ConnectionString))
,
string ids = "";

MySqlConn.Jpen();

foreach (string id1 in recordsToDelete)
,
SqlCommand MySqlComm= new SqlCommand("sprocBlockUserByAdmin",
MySqlConn);
MySqlComm.CommandType = CommandType.StoredProcedure;
ids = id1;
MySqlComm.Parameters.AddWithValue("@userid", int.Parse(ids));
MySqlComm.ExecuteNonQuery();
,
,

,

GL1 USLk INICkMA1ICN

/```````Method To Get User Information ``````/

public DataTable GetUserInfo()


,
using (SqlConnection MySqlCon = new
SqlConnection(AppConfiguration.ConnectionString))
,
SqlCommand MySqlCom = new SqlCommand("sprocGetUserListForAdmin",
MySqlCon);
MySqlCom.CommandType = CommandType.StoredProcedure;
MySqlCon.Jpen();
MySqlCom.ExecuteNonQuery();
DataSet ds = new DataSet();
SqlDataAdapter vadap = new SqlDataAdapter();
vadap.SelectCommand = MySqlCom;
vadap.Fill(ds, "usertable");
DataTable table = ds.Tables"usertable",;
MySqlCon.Close();
return table;
,


,

LCAD USLk MLNU

/```````Method To Load User Explore Menu Dynamically . According To User Permission``````/
public int InsertIntoDynamicMenuDetail(int Identify)
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 98
,
using (SqlConnection MsSqlConn = new
SqlConnection(AppConfiguration.ConnectionString))
,
if (Identify == 0)
,
SqlCommand vComm1 = new SqlCommand("sprocInsertParentMenuID", MsSqlConn);
vComm1.CommandType = CommandType.StoredProcedure;

SqlParameter prmMenuName = new SqlParameter("@MenuName",
SqlDbType.NVarChar, 30);
prmMenuName.Value = MenuName;
vComm1.Parameters.Add(prmMenuName);

SqlParameter prmLinkAddr = new SqlParameter("@LinkAddr",
SqlDbType.NVarChar, 100);
prmLinkAddr.Value = LinkValue;
vComm1.Parameters.Add(prmLinkAddr);

SqlParameter prmMenuID = new SqlParameter("@menuid", SqlDbType.Int);
prmMenuID.Direction = ParameterDirection.ReturnValue;
vComm1.Parameters.Add(prmMenuID);
MsSqlConn.Jpen();
vComm1.ExecuteNonQuery();

SqlCommand vComm2 = new SqlCommand("sprocInsertIntoRollMenuTable",
MsSqlConn);
vComm2.CommandType = CommandType.StoredProcedure;

vComm2.Parameters.Add("@RollID", SqlDbType.Int).Value = 1;
vComm2.Parameters.Add("@MenuID", SqlDbType.Int).Value =
Convert.ToInt32(prmMenuID.Value);

vComm2.ExecuteNonQuery();

return (Convert.ToInt32(prmMenuID.Value));
,

else
,

SqlCommand vComm = new SqlCommand("sprocInsertChildMenu", MsSqlConn);
vComm.CommandType = CommandType.StoredProcedure;

SqlParameter prmParentID = new SqlParameter("@ParentID",
SqlDbType.NVarChar, 30);
prmParentID.Value = ParentID;
vComm.Parameters.Add(prmParentID);

SqlParameter prmMenuName = new SqlParameter("@MenuName",
SqlDbType.NVarChar, 30);
prmMenuName.Value = MenuName;
vComm.Parameters.Add(prmMenuName);

SqlParameter prmLinkAddr1 = new SqlParameter("@LinkAddr",
SqlDbType.NVarChar, 100);
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo 99
prmLinkAddr1.Value = LinkValue;
vComm.Parameters.Add(prmLinkAddr1);

SqlParameter prmMenuID = new SqlParameter("@menuid", SqlDbType.Int);
prmMenuID.Direction = ParameterDirection.ReturnValue;
vComm.Parameters.Add(prmMenuID);

MsSqlConn.Jpen();
vComm.ExecuteNonQuery();

SqlCommand vComm2 = new SqlCommand("sprocInsertIntoRollMenuTable",
MsSqlConn);
vComm2.CommandType = CommandType.StoredProcedure;
SqlParameter prmRollID = new SqlParameter("@RollID", SqlDbType.Int);
vComm2.Parameters.Add("@RollID", SqlDbType.Int).Value = 1;

vComm2.Parameters.Add("@MenuID", SqlDbType.Int).Value =
Convert.ToInt32(prmMenuID.Value);
vComm2.ExecuteNonQuery();

return 1;


,
,
,

SLAkCn MCDULL

/```````Method For Searching``````/

pub1c 0ata1ab1e 1unSearch{)
{

usng {Sq1Connecton msSq1Conn = new Sq1Connecton{^ppCon1guraton.ConnectonStrng))
{
msSq1Conn.0pen{),
0ata1ab1e ret1ab1e=new 0ata1ab1e{),
Sq1Command msComm = new Sq1Command{"sproc6etSearch1n1o", msSq1Conn),
msComm.Command1ype = Command1ype.Storedrocedure,

Sq1arameter prmSearch1ext = new Sq1arameter{"searchtext",Sq10b1ype.uvarChar,2),
prmSearch1ext.va1ue = SearchStrng,

msComm.arameters.^dd{prmSearch1ext),
Sq10ata^dapter ms^dp = new Sq10ata^dapter{msComm),

ms^dp.MssngSchema^cton = MssngSchema^cton.^ddWthkey,
ms^dp.I11{ret1ab1e),
msSq1Conn.C1ose{),

1 {ret1ab1e.8ows.Count == )
{

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l00
return nu11,
)

e1se
{
return ret1ab1e,
)


)
)

ICkUM MCDULL

/```````Function To Insert Comment Detail In Database``````/

protected void Button1_Click(object sender, EventArgs e)
,
SqlConnection con = new SqlConnection(AppConfiguration.ConnectionString);
con.Jpen();
SqlCommand cmd = new SqlCommand("sprocInsertDiscussionCommentDetail", con);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add("@discussionid", SqlDbType.Int).Value =
Convert.ToInt32(Request.QueryString"Topic",);
int b = Convert.ToInt32(Request.QueryString"Topic",);

TextBox txt1 = GridView1.FooterRow.FindControl("txtContent") as TextBox;

cmd.Parameters.Add("@commentdesc", SqlDbType.NVarChar, 500).Value =
txt1.Text;
cmd.Parameters.Add("@uid", SqlDbType.Int).Value =
Convert.ToInt32(Session"Uid",);
cmd.ExecuteNonQuery();

con.Close();

,











Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l0l






















Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l02


NC1A1ICNS]NAMING CCNVLN1ICNS
We have used the fo||ow|ng standards
We w||| be Us|ng asca| cas|ng for C|ass names

public class HelloWorld

...
}

Use asca| cas|ng for Method names

void SayHello(string name)

...
}

Use Came| cas|ng for var|ab|es and method parameters

int totalCount 0;
void SayHello(string name)

string fullMessage "Hello " name;
...
}

Use the pref|x "I" w|th Came| Cas|ng for |nterfaces ( Lxamp|e ILnt|ty )

Use Mean|ngfu| descr|pt|ve words to name var|ab|es Do not use abbrev|at|ons

Use names ||ke |ndex temp Cne except|on |n th|s case wou|d be var|ab|es used for |terat|ons |n
|oops
Ior ( int i 0; i count; i )

.
}

Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l03
Contro|s (|nc|ud|ng th|rd party contro|s) that we w||| be us|ng W||| be named accord|ng to as
shown |n the tab|e be|ow

Control Prefix Convention
Textbox txt
Button btn
Hyperlink hlk
ListBox lst
Repeater rep
CheckBoxList cbl
RadioButtonList rbl
Panel pnl
Table tbl
Label lbl
DataGrid dtg
ImageButton imb
DropDownList ddl
DataList dtl
CheckBox chk
RadioButton rdo
Image img
PlaceHolder phd
Validators val


IDENTATION AND SPACING.
nIGn LLVLL DLVLLCMLN1(SDLC) LAN
SDLC Schedu|e and M||estones
MILESTONE TARGET NOTES
MODULE 1 20-08-2011 ACCOUNT
MANAGEMENT
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l0=
MODULE 2 01-09-2011 ADMINISTRATION

MODULE 3 10-09-2011 FILE MANAGEMENT
MODULE 4 25-09-2011 USER MANAGEMENT
MODULE 5 01-10-2011 FILE STORAGE AND
RETRIEVAL
MODULE 6 10-10-2011 USER COLLECTION
MODULE 7 20-10-2011 SEARCHING
MODULE 8 10-11-2011 FOURM & FEEDBACK
MODULE 9 15-11-2011 HELP & SUPPORT
TESTING AND MAINTENANCE 25-11-2011 TESTING




8I8LICGkAn
Below is the list oI websites and Books that we have gone through Ior the development oI our
website:
WL8SI1LS
http://www.scribd.com
http://www.docstoc.com
http://www.msdn.com
Iro|ec|: OnIine Documen| 8borinq And 8|oroqe Cen|er


loo l05
http://www.w3school.com
http://www.stackoverflow.com
http://www.asp.net

BOOKS
Professional ASP.Net 3.5(SP1) in C# and VB
ASP.NET 3.5 Website Programming Problem-Design-Solutions
Sams ASP.Net 4.0 Unleased

You might also like