Sie sind auf Seite 1von 114

1

e-StudyZone
A PROJECT REPORT Submitted in partial fulfillment of the requirement for the award of the Degree in

Post graduation Diploma in Computer Application

Submitted !
A "#S"E$ D#%#T &#$AS '(PTA A "#S"E$ SR#&ASTA& )P'DCA* ST(D+ CE,TER
DOEACC SOC#ET+ C"A,D#'AR" CE,TRE
) RA,C" O--#CE./(C$,O0*

)J(,E 1233*

DEC/ARAT#O,

Since software development is difficult and complex process, which require a deep thinking, clear concept and efficient logic to solve problem arises during development.So only a few persons really successes, for a good software developer must have clear concept for situations and great command on languages which is used to make proposed software.It also required long time patient, better understanding and working capacity in groups. About 1 years ago software development is very tedious task, because few language !C. Assembl! etc " are available that is not so powerful and easier in use, thus software formulation takes long time and consistency.#ow these days a lot of powerful languages and technologies !JA&A. & 4,et. ASP4,et. JSP4,et etc" are came in existence which has special feature and have built in controls in graphical shapes that help us to $apid Application %evelopment.In these days software cover all economical area in India but &nfortunately it is not spread out as well as forgein countries .'his is my first attempt to convert our complex work in digiti(ed form that)s done manually that is time consuming and high cost requirement process. 'he proposed system developed gradually by deep thinking, lot of discussion and followed by some important rules that are used in software development.I am extremely thankful to Softpro India that has helped me in numerous ways, without whose active co* operation this system could not have been completed.

CO,TE,TS

#ntroduction55555555555555555555555555 -eatures555555555555555555555555555444 SD/C )S!stem De6elopment And /ife C!cle 7odel*5555555554 #nitiation555555555555555555554 Estud!8one initiation5555555555555554 S!stem Anal!sis5555555555555555555555554 usiness needs555555555555555554 Ob9ecti6e555555555555555555544 Scope5555555555555555555554 Problem faced with e:isting s!stem55555555444 Proposed S!stem55555555555555554 Challenges5555555555555555555 enefits55555555555555555555 -easibilit! stud!55555555555555554

Software Requirement Specifications55555555555555544 usiness needs555555555555555554 Ob9ecti6e555555555555555555544 Scope5555555555555555555554 Time Constraints5555555555555555 Requirement ,otes ; /egends55555555555 Priorit! of requirements55555555555554 Requirements Application -unctionalit!55555544 Securit! Requirements5555555555555444 Data management555555555555555444 Deplo!ment Requirements555555555555 Software Requirements55555555555554 "ardware Requirements5555555555555 Support And 7aintenance5555555555554

S!stem Design55555555555555555555555554 "igh /e6el Design5555555555555555555555544 Entities #n6ol6ed55555555555555554 7odules (sed Tools (sed o En6ironment555555555555444 o /anguages And Programming555554 o Software #nterface55555555554 o "ardware #nterface5555555554 Data -low Diagram5555555555555544 o Conte:t /e6el55555555555544 o -irst /e6el555555555555544 ER<Diagram /ow /e6el Design55555555555555555555555444 Table Description5555555555555555 7odules Description5555555555555544 Source Code555555555555555555 Screen Shots5555555555555555555555555444 Testing5555555555555555555555555444 Test Cases And ug Report55555555555555555 #mplementation5555555555555555555555 -uture Scope Of The Software 5555555555555554 "ow To (se The Software555555555555555554

References555555555555555555555555554

#,TROD(CT#O,
The estud!8one is a new concept of bringing the information learners and trainers on a common platform so that the! can learn and share information respecti6el!4 #t is a web based portal for information see=ers and information pro6iders4 #t will act as a meeting point for the two parties or it can be 6iewed as a communit! for the two groups of users4 #t will enable the users to quer! on specific sub9ects4 #t will also facilitate the trainers to maintain their online librar! where the! can store their stud! materials in 6arious format4 The website consists of features such as suggestion bo: for learners; trainers so that the! can inform about their comments regarding the website or an!thing the! feel about the wor=ing of website4 The website will encourage the users to use the suggestion bo: as much as possible b! telling them its ad6antages4 The suggestion bo: will be the main source of interacting with user comments regarding the website4 Also an administrator is pro6ided who will monitor the website on regular behalf in order to 6iew the suggestions .queries and ta=e appropriate actions in its response4 The learner and trainer will be gi6en a unique userid on the basis of which the! will utili8e the benefits of the website4 The website pro6ides no access to unregistered users4 #f a person acts as both a trainer and learner he will ha6e two userids i4e4 one for accessing the rights of learner and the other one for accessing the rights of trainer4 oth the parties will be pro6ided separate space on ser6er where the! can store their stud! materials4 The trainers can send the stud! material to the learner as well4 The website maintains the general profile of both leaner and trainer together because the general profile consists of information similar to both the communities4 The ad6ance profiles of both the parties are maintained separatel! because the ad6ance profiles of learner and trainer consists of separate fields4 The trainer will mention his area of e:pertise. number of !ears e:perience in the particular e:pertise area4 Additionall! he will mention the pro9ects handled b! him in the corresponding sub9ect along with certain remar=s4 On the other hand. the ad6ance profile of learner consists of his learning area and his personal grading on the particular sub9ect along with remar=s4 On the basis of the personal grading and remar=s the trainer will assess the learner>s capabilit! and on this basis the trainer is going to decide what t!pe of stud! material to pro6ide to the learner4 The website allows the learner to quer! in codified form which means that the learner will mention the learning sub9ect4 "e need not write complete description of his problem4 According to the learning area of learner. the trainers whose e:pertise area matches with the learning area of learner will be listed out4

The website is intended to be made for popularit! ad economic benefit to the compan!4 The user will be charged onl! for registration and then he can continue wor=ing on the site for lifelong span4

-EAT(RES

To pro6ide common place for learners and trainers4 To create portal where people can share information & knowledge in an effecti6e and efficient manner4 E6er! learner and trainer personal profile will be maintained4 Trainer will maintain his librar! where he will collect all the materials according to his e:perti8ation area in different file format and will pro6ide material to the learner according to his requirement4 Accurate and fast information access #mpro6ed tutorials 4 (ser friendl!4 Secured website4

SD/C )S!stem De6elopment And /ife C!cle*


/ike any other set of engineering products, software products are also oriented towards the customer. It is either market driven or it drives the market. Customer Satisfaction was the bu((word of the 012s. Customer Delight is today2s bu((word and Customer Ecstas! is the bu((word of the new millennium. 3roducts that are not customer or user friendl! ha6e no place in the mar=et although they are engineered using the best technology. 'he interface of the product is as crucial as the internal technology of the product. As software is always of a large system !or business", work begins by establishing the requirements for all system elements and then allocating some subset of these requirements to software. 'his system view is essential when the software must interface with other elements such as hardware, people and other resources. System is the basic and very critical requirement for the existence of software in any entity. So if the system is not in place, the s!stem should be engineered and put in place. In some cases, to extract the maximum output, the system should be re*engineered and spruced up. 4nce the ideal system is engineered or tuned, the development team studies the software requirement for the system.

INITIATION

Initiation begins when a sponsor identifies a need or an opportunity. Concept proposal is created. 'o generate a high*level view of the intended pro6ect and determine the goals of the pro6ect. 'he feasibility study sometimes used to present the pro6ect to upper management in an attempt to gain funding. 3ro6ects are typically evaluated in three areas of feasibility7 economical, operational, and technical. 8urthermore, it is also used as a reference to keep the pro6ect on track and to evaluate the progress of the 9IS team. 'he 9IS is also a complement of those phases. 'his phase is also called the analysis phase.

EST(D+?O,E #,#T#AT#O,

'his pro6ect is providing virtual environment for learners and trainers . /earners will learn new and exciting things by forwarding his request to the trainers in contrast trainer will response him. It is like a common platform for students and teachers .'he most exciting and innovative concept used in this website will be that every learner will attach to the trainer according to the learning area and experti(ation area respectively. Softpro India proposed to create a &ser Interface specific to the needs of the client. 'he interface was intended to be user friendly where the user can easily find all the options. It planned to build a compact interface that could be easy to understand as well as to work upon. Softpro followed an iterative approach while developing the pro6ect. It first gathered the requirements in hand. :ased on the collected information, started building the pro6ect. /ater on, as and when more requirements were encountered, more functionality was added to website. 'he website was intended to be made flexibly so that new features could be added without much alteration in the original pro6ect.

11

S!stem Anal!sis

(S#,ESS ,EEDS

'he client requires that the portal should broadly categori(e users of the website in to two categories < learner and trainer. =/earner) is the one who wants to gather knowledge and ='rainer) is the one who will provide information. It is required to build a portal that can be used worldwide. 'he learner should be able to mention his area!s" on which he wants study material and the trainer should be able to mention his expertise his area!s" of excellence according to which he can provide study material to the learner. 'he trainer should be able to store his study material in the online library of the website. 'he client wants that the look and feel of the website should be comprehensible and knowable. 'here should be an administrator page where the

11

administrator would have access to all the information stored in any table. Also suggestion box should be provided so that the administrator should be aware of the current status of the website and also get the feedbacks from the users !learner> 'rainer" .

O JECT#&E
Our main goal is to create such portal where people can share information and =nowledge in an effecti6e and efficient manner and to pro6ide a common platform for all users to groom themsel6es at e6er! stage4 asicall! it is not possible manuall! and errors will also occur @ it will be 6er! time consuming and also inaccurate4 There are the some problems which can be sol6ed b! our application4 0hich are as followsA< o -ast and efficient ser6iceA < This s!stem can gi6e the fast ser6ice )insertion. deletion. updating. searching etc4* to the users of the s!stem4 o Reduction in wor=load A< That means all the tas=s are done b! the s!stem;machine which gi6e the rest to the human beings4 o -ine management A< Our s!stem pro6ide the good management in the records =eeping and pro6ide the good scheduling in the all the operations of the database4

1+ o Pro6ide the satisfaction to all the /earners and Trainers A< (ser is doing its all operations with the s!stem on his requirements and he is completel! satisfied because our s!stem is fulfils it>s all requirements4

o Pro6ide the fle:ibilit! in the operations A< 0e are de6eloping the t!pe s!stem which is able to do all t!pe of transactions )insertion. deletion. updating. searching etc*4 o Remo6e the comple:it! in the operations A < Our s!stem is pro6iding the real life features to pro6iding the ser6ice since the user of the s!stem in not feel the comple:it! in its operations4

o Pro6ide the long term relationship with the users A < Our s!stem is pro6iding the long term relationship with the users which are more important for the good future and benefits of the organi8ation4

SCOPE
3rovides relevant ,quality study materials over various technologies . Sngle platform Vrtual environment.

1,

Adress lots of issues and get solutions . Oportunity for students and teachers.

:ilding foundation.

PRO /E7 -ACED 0#T" E%#ST#,' S+STE7


Rtrieving of records is difficult.

1-

#o option for giving suggestions by both trainers and learners. Searching is time consuming. 3rocessing speed become slow. Insecure data. 'here is no facility of storing any personal information of users and visitors.

PROPOSED S+STE7
?overed various languages contents. @arious security checks by administrator Aasy explanation and easy availability of the material or contents. &ser friendly website.

1.

Aasy query resolving. Quick and advanced searching by trainers.

DE-#,E TO< E PROCESS


3repared &ser Interface $equirement %ocument. 3repared well defined cohesive processes for the pro6ect. DE&E/OP "#'"</E&E/ DES#', DES#', E-ORE E%EC(T#O, A,D /O0</E&E/

:uilt a design of all the processes required for the pro6ect %eveloped the architecture of the software solution %eveloped the pro6ect design in detail for the software developer in the company.

T"E C"A//E,'ES

Following challenges were encountered during the website development:-

Buery $esolving 3rocess of 'rainer. Buick and Advanced Searching of study material by 'rainer Candling the /earning ?odes and Axpertise Area of /earner and 'rainer.

Administrator)s work handling.

E,E-#TS

It is expected that the pro6ect will be great success for those users who do not get satisfactory study materials for purposes like presentation making or for the users who want it for notes making or for reference purposes. It will provide a library where trainer can maintain his study materials that can be in different formats like .ppt, .doc, .html, pdf, etc. 'he suggestion boxes in the other sites are rarely viewed and the queries remain unsolved. :ut in the AstudyDone.com the administrator will regularly monitor and regulari(e the activities going on inside the website. It will be taken care of that the suggestions given by the user should be attended.

-EAS# #/#T+ S(DT+


8easibility study is the measure of how beneficial or practical the development of an information system will be to an organi(ation. 'he 8easibility analysis is a cross life cycle activity and should be continuously performed throughout the system life cycle. 8easibility tests7

Operational -easibilit!A<

15

:y providing the web based application all the users will get very good facilities and quick service by getting satisfactory material in different file format. All the trainer will be able to maintain their archive so that easily materials will be provided to the learners. &sers will feel comfortable by reduction of their work. Aasy to handle large and centrali(ed database. /osing of records will be avoided. ?onsidering all these factors we can conclude all the users and end users will be satisfied by the system.

Technical -easibilit!A<
For the design and development of the system ,several software products have been accommodated:-

%atabase design < 9S SB/ Server +11. !3referred" or any other %:9S. Interface design < AS3.#A', 8/ASC. ?oding < ?E !3referred" or any other supported /anguage. 'his technology !AS3.#A'" has enough efficiency in producing the system. 'herefore the pro6ect is technically feasible 4

Schedule -easibilit!A<
'he duration of time required for the pro6ect has been planned appropriately and it is the same as the duration of time expected by the client. 'herefore the website can be delivered to the client within the expected time duration, satisfying the client. Cence the pro6ect is feasible in scheduling.

Economic -easibilit!A<

10

According to the resources available and the pro6ect scheduling process it is estimated that the expenses allocated for the web application to be developed, by the client is sufficient enough. Cence the economical factor has been considered feasible4

1;

SO-T0ARE REB(#RE7E,T SPEC#-#CAT#O, )SRS*

+1

(S#,ESS ,EEDS
The client requires that the portal should broadl! categori8e users of the website in to two categories C learner and trainer4 D/earner> is the one who wants to gather =nowledge and DTrainer> is the one who will pro6ide information4 #t is required to build a portal that can be used worldwide4 The learner should be able to mention his area)s* on which he wants stud! material and the trainer should be able to mention his e:pertise his area)s* of e:cellence according to which he can pro6ide stud! material to the learner4 The trainer should be able to store his stud! material in the online librar! of the website4 The client wants that the loo= and feel of the website should be comprehensible and =nowable4 There should be an administrator page where the administrator would ha6e access to all the information stored in an! table4 Also suggestion bo: should be pro6ided so that the administrator should be aware of the current status of the website and also get the feedbac=s from the users )learner; Trainer*

O JECT#&ES
This manuscript represents the requirements anal!sis attempt to define the 6arious technical and business process requirements for information sharing4 #t clearl! defines 6arious perspecti6es of the s!stem required at the initial phase4 This document is produced in order to facilitate the design team b! pro6iding them the baseline for establishing s!stem designs and ultimatel! the de6elopment of the s!stem4 The SRS will help the designers in the de6elopment b! ma=ing them aware of the requirements and pre6enting them from di6erting from the specifications mentioned in SRS4

SCOPE
The scope of the eStud!?one focuses on information sharing between the information see=ers and information pro6iders4 #t will act as a meeting point for the two parties or it can be 6iewed as a communit! for the two groups of users4 #t will enable the users to quer! on specific sub9ects4 Apart from the =nown requirements. the application will be build to adapt the new requirements4 -or this purpose the designers will de6elop the software pro6iding appropriate fle:ibilit! each step4 The requirements mentioned in the document co6er the different necessities of the application4 Some of the necessities are mandator! while rest of them is optional or e:tra features4 The data gathered during this process also assists in testing process and the final deplo!ment4 The application is required to fulfill the functional requirements of the client as full as possible also gi6ing additional features4

T#7E CO,STRA#,TS

+1

The final deplo!ment of the application should be before 3E th April. 1232 until then all the requirements mentioned in SRS should be inbuilt into the s!stem4

REB(#RE7E,TS ,OTES;/E'E,DS
8ollowing abbreviations have been used while describing various requirements of the application

PR#OR#T+ O- REB(#RE7E,TS
? $ 4 S9 A8
?onditionally $equired $equired 4ptional System 9aintained Axternal 8eature

REB(#RE7E,TS APP/#CAT#O, -(,CT#O,A/#T+


REB ,o4 Serial ,o4 Priorit! $S 1.1 1
?

Requirement All the modules specified in the /ow level %esign should be properly designed using appropriate css or similar designing tools and should be strictly web based.

$S 1.+

'he software should be user friendly, secure, stable and bug free. It should provide easy to understand menus that should assist the users to easily navigate through the web pages of the website

$S 1.,

Although both the trainers and learners are users but there should be different pages for them as the menus differ for both

++

$S 1.-

'he online library of the trainer>library should provide quick and advance searching facility to the user.

$S 1..

'he quick search should be based on single values of each parameter. 'he query should be dynamic that should change according to the fields opted by the user.

$S 1.

'he advanced search should be based on multiple values for each parameter. 'he query should be dynamic that should change according to the fields selected by the user. 'he auto fill and password remembering feature will be maintained by the system.

$S 1.5

S9

$S 1.0

'he queries displayed on the trainer)s or administrator)s page should always be displayed in descending order of date so that the most recent query is displayed first. 'he suggestions should be displayed on administrator)s page in descending order of date. the

$S 1.;

$S 1.11

11

&nregistered users should not be allowed to query or maintain their library. %atabase :ackup and $ecovery 'he query resolving feature should be properly managed with appropriate controls. 4nline 'esting of the users in order to let them know their

$S 1.1+ $S 1.1,

1+ 1,

A8 $

$S 1.1-

1-

+, progress in a particular sub6ect. 'he results will be displayed immediately along with the assessment $S 1.1. 1. $ 'he application shall be 'wo tier application namely ?lient /ayer!3resentation logic" and %atabase /ayer !3ersistence logic" with standard applications software component

$S 1.1

'he applications shall be linked to the other sites at the footer.

SEC(R#T+ REB(#RE7E,TS

REB ,o4 Serial ,o4 Priorit! $S +.1 1 + $ $

Requirement 'he system should be inbuilt with data security features All the critical information in the database should be secure All the interactive users must have separate login and authentication screen. 'he passwords should not be disclosed anywhere on the website. If the user forgets his password and mentions the hint answer with the matched hint question then also the password will not be disclosed.

$S +.+

$S +.,

$S +.-

DATA 7A,A'E7E,T

+-

'he application should store the data in such a way that it is properly and quickly accessed. Aach user should be allocated separate space on the domain. Separate folders will be maintained for every user where he could store his study material. 'he folders should be named according to the user id of the user. If a user acts both as a trainer and learner he should be provided two different folders for working. 'he searching process especially of study materials should be quick. 'he query resolution feature should be efficiently maintained. Apart from data handling on user)s side, the data should be handled more properly on the administrator)s side. 'he administrator should have the power to delete users. If a userid is deleted it should be taken care of that all the login details along with basic and advanced profile of user should also be deleted subsequently. 'he associated folders with the materials should also be deleted.

DEP/O+7E,T REB(#RE7E,TS

8inal deployment of the application should take place before 1.th April +11; i.e. the website should be in running state by the aforementioned date. Any delay in pro6ect deployment will result in terms violation of the company. 'he online help shall be provided for each and every webpage used in the website so that the user should not feel confused at each step.

SO-T0ARE REB(#RE7E,TS
Client on #nternetA Feb :rowser, 4perating System !any". Client on #ntranetA ?lient Software, Feb :rowser, 4perating System !any".

+.

0eb Ser6erA IIS or higher, 4perating System !windows server". Application framewor=A 9icrosoft .#A' 8ramework +.1. Data ase Ser6erA 9S SB/ SA$@A$ +11., 4perating System !windows Server". De6elopment EndA @isual Studio +11. !AS3.#A', C'9/, GavaScript", 9S SB/
SA$@A$ +11., 4S !Findows Server", Feb Server !IIS or higher".

"ARD0ARE REB(#RE7E,TS
Client < SideA :rowser Internet Axplorer .1 or higher 3rocessor 3entium $A9 1+0 9: $A9 +H: %isk Space 1 H: %isk Space 1+1 H:

Ser6er< SideA Feb server %atabase 3rocessor IIS or Cigher SB/ SA$@A$ 3entium +11.

S(PPORT A,D 7A#,TE,A,CE


4ne year free support for rectifying system bugs including front end and beck end will be provided. %uring warranty period Software Angineers will be responsible for removing bugs and improving it. After one year support can be extended I +1J of the total product deployment cost.

S+STE7 DES#',

S+STE7 DES#',

+5

'he term design used in two ways used as a verb, it represents the process of design for the system. 'he ob6ective of the design process is to produce a model of representation of a system which can be used later to build the system. 'he produced model is called the design of the system. 'he design process for software systems often has four levels, they are7* o o o o %ata %esign Architectural %esign Interface %esign 3rocedural %esign

Data Design

%uring this phase of data design, the relation of the data structure to the software requirement specification is to be designed and the data dictionary used in this should be specified. An important activity during design is to identify the program modules that must operate directly upon the logical data structures.

+0

"#'" /E&E/ DES#',

E,T#T#ES #,&O/&ED

+;

The website is basically dealing with

categories of users:-

/earner 'rainer Administrator 'he learner and trainer will have many attributes in common like the login information and general profile information. 'he attributes from which they are distinguished into two different categories are described in following section.

/earner
/earner is the user whose advance profile consists of his learning area. 'he learning area corresponds to the sub6ects on which he requires contents. Ce will also mention his personal grading about himself in the particular sub6ect along with certain remarks. 'he learner is responsible for initiating the query. Cis online library will consist of training contents uploaded by himself as well as those transferred by trainer.

Trainer
'rainer is the user whose advance profile consists of his expertise area which corresponds to the sub6ect. 8or each expertise area he will also mention his experience and other information like pro6ects handled.

Administrator
Administrator is the super user who is responsible for monitoring the website. Ce has exclusive rights to view the user)s list, his advance profiles, the queries made and those resolved or unresolved along with the training materials stored. Ce has the rights to delete the profile of a particular user.

7OD(/ES

,1

(ser #nformation 7anagement


/ogin 9anager :asic 3rofile /earner Advance 3rofile $equest 9odule 'rainer Advance 3rofile

Buer! 7anagement
%ownload 9aterial Buery 9anager Suggestion :ox Archive ?ollection Archive InfoSeeker Administrator

TOO/S (SED

9icrosoft .#A' framework +.1 as Application architecture. @isual Studio +11.. 9icrosoft SB/ Server +11. for back end database.

,1

9icrosoft IIS !Internet Information Services" as web server to host our website. ?orel %raw 1+ for graphics and picture animation.

En6ironment

'he eStudyDone Feb Application will be written in ?E .#A' language. 'he development environment will be 9icrosoft @isual Studio .#A'. 'he eStudyDone Application will be tested on Findows K3 platform.

/anguages for Programming


?E for AS3.#A'. GavaScript for ?lient side validation

Software #nterface

Client on #nternetA Feb :rowser, 4perating System !any". Client on #ntranetA ?lient Software, Feb :rowser, 4perating System !any"
.

0eb Ser6erA IIS or higher, 4perating System !windows".

,+

Data ase Ser6erA 9S SB/ SA$@A$ +11., 4perating System !windows". De6elopment EndA @isual Studio +11. !AS3.#A', C'9/, GavaScript", 9S SB/
SA$@A$ +11., 4S !Findows", Feb Server !IIS or higher".

"ardware #nterface

Client < SideA rowser Internet Axplorer .1 higher

Processor or 3entium -

RA7 1+0 9:

Dis= Space 1 H:

Ser6er < SideA IIS or Cigher SB/ SA$@A$ +11. Processor 3entium 3entium RA7 .1+ 9: .1+ 9: Dis= Space +1 H: +1 H:

,,

Data-low Diagram

,-

,.

ER<D#A'RA7

1st Level Data Flow Diagram

Study materials

ogin Request Confirmation or re!ection New User Request Confirm

Login ogin Request Processin g System Confirmation or


re!ection New User Request

Library anagement
Search Contents Contents

Learner

" Profile Processin g

Trainer
Confirm

confirm

Updation & Deletion "uery Submission "uery #c$nowledge

Updation & Deletion "uery Details

Query Processing

,5

/O0 /E&E/ DES#',

,0

DATA D#CT#O,AR+ A,D C/ASS DES#',


/ogin 7odule
Database Design A Table ,ameA login >>it store the login information
S ,o 1 + , . -ields ,ame

userid userpassword category hintanswer hintanquestion

Si8e ,1 +1 11 .1 .1

Constraints primary key not null #ot null #ull #ull

Datat!pe varchar varchar varchar varchar varchar

Description hold the user defined unique id holds the password for the user /)for learner,)') for trainer Cint answer for user Cint question for user

Class DesignA
Public PropertiesA
public string userid; public string password;

public string ?ategoryL public string hintanswerL public string hintquestionL Public methodsA ;; chec= the 6alidit! of mentioned (ser#d and hintanswer
Public bool ValidateUser(string uuserid,string ppassword,string category)

;;sa6e login information in /ogin#nfo table


public bool savelogin()

;;updating 6alues in /ogin#nfo table


public void update(string userid, string password, string category,string hintanswer)

;;deleting 6alues from /ogin#nfo table


public bool deleteaccount(string ss)

,;

asic Profile 7odule


Database DesignA Table ,ame A registration >>It contains the basic profile
S ,O 1 + , . -#E/DS ,A7E S#?E 11 11 .1 .1 .1 11 .1 .1 .1 5 1+ 1+ 1+ 1. 1. +1 CO,STRA#,T primary key not null not null null not null not null not null not null not null null not null null not null null null null null DATAT+PE varchar varchar varchar varchar varchar varchar varchar varchar varchar varchar varchar varchar datetime varchar varchar varchar varchar DESCR#PT#O, holds the user defined unique id holds the user name holds the address of user holds the address of user holds the emailid It holds user category either learner or trainer holds the country holds the state holds the city holds the pincode holds the contact number holds the contact number hold the date of birth holds the fax number holds the designation of user holds the department of user holds the name of organi(ation of user

userid password username address emailid category country state city pincode contact1 contact+ dob faxno designation department organi(ation

5 0 ; 11 11 1+ 1, 11. 1 15

Class Design A
Public propertiesA
public public public public public public public public public public public public public public string userid; string password; string username; string address; string emailid; string category; string country; string state; string city; string pincode; string contact1; string contact2; Date ime dob; string !a"no;

-1
public string designation; public string department; public string organisation;L

Public methodsA ;; chec= (ser #d a6ailabilit!


public bool chec#user(string s1)

;;sa6e the general information about user

public bool savereg() public int insertdata(string t1,string t2,string t$,string t%,string t&,string t',string t(,string t),string t*,long t1+,long t11,long t12,Date ime t1$,long t1%,string t1&,string t1',string t1()

;;update the general information about user


public void updatedata(string uname, string add, string eid, string cat, string country, string state, string city, long p, long c1, long c2, Date ime dob, long !a"no, string des, string dep, string org)

;;delete the general information about user


public bool deleteaccount(string ss)

;;ta=e the information

public bool ta#edata(string u)

-1

/earnerAd6anceProfile 7odule
Database Design A Table ,ameA learneradvprofile >>it store the advance profile of learner
S ,o -ieldFs ,ame Si8e Constraint Datat!pe Description

1 +

userid learningarea

+1 .

not null not null

varchar varchar

It contains the user id of the /earner It contains the codified form of a particular /earning Area It holds the level of learner in the corresponding learning area It holds the remark of learner about himself in the corresponding learning area

, -

level remarks

+ -1

not null null

numeric varchar

#ote7 'he userId and learningArea will together form a composite 3rimary Mey

Class Design A
Public PropertiesA
public public public public string string string string userid; learningarea; level; remar#s;L

Public 7ethodsA ;;Sa6e Ad6ance Profile of /earner


public bool saveleradvpro!ile(string u1)

;;(pdate Ad6ance Profile of /earner ;;Delete Ad6ance Profile of /earner

public void updatelerneradvpro!ile()

public void deleteother(string ss, string ss1)

;;Retrie6e the Ad6ance Profile of the /earner with passed (ser#d


public bool sessionrelated(string userid)

-+

Request 7odule
Database Design A Table ,ame A learnerrequest
S ,o 1 + , -ields ,ame

learnerid trainerId requeststatus

Si8e +1 +1 .1

Constraints not null not null not null

Datat!pe varchar varchar varchar

Description

It contains the user id of the /earner


,t hold the id o! trainer,t holds yes !or resolved and no !or not resolved

Class DesignA
Public PropertiesA
public public public public string string string string .uery; status; learnerid; trainerid;

Public 7ethodsA ;;fetch list of trainers


public Data/et get rainerDetail(string !)

;; send request to selected trainer


public bool savereal.uery(string u, string t, string .s, string .uery)

;;accept request gi6en b! trainer

public Data/et get0ueryDetail(string !)

-,

TrainerAd6acedProfile 7odule
Database Design A Table ,ameA traineradvprofile
S ,o -ieldFs ,ame Si8e Constraint Datat!pe Description

1 +

userid expertisearea

+1 .

not null not null

varchar varchar

It contains the user id of 'rainer It contains the codified form of a particular Axpertise Area

expertiseyears

not null

numeric

It holds the experience years of the trainer in the corresponding experience area It holds the number of pro6ects undertaken by the trainer in the corresponding expertise area It holds the remark of the trainer in the expertise area

pro6ect

null

numeric

remarks

-1

null

varchar

#ote7 userId and expertiseArea will together form a composite primary key Public PropertiesA
public public public public public string userid; string e"pertisearea; int e"pertiseyear; string pro1ect; string remar#s;

Public 7ethodsA ;;sa6e e:pertise details


public bool savetraineradvpro!ile()

;;update e:pertise details


public void updatetraineradvpro!ile()

;;delete e:pertise details for the gi6en (ser#d


public void deleteother(string ss, string ss1)

-;;Retrie6e the ad6anced profile of a Trainer with gi6en (ser#d


public bool !atchdatao!trainer(string userid)

Download 7aterial 7odule


Database design A Table (sed A 9aterial, learnerrequest
S ,o 1 + , -ields ,ame

learnerid trainerid requeststatus

Si8e +1 +1 .1

Constraints #ot #ull #ot #ull #ot #ull

Datat!pe varchar varchar varchar

Description

,t hold learner,t hold trainer-

the the

id id

o! o!

It stores the path of file i.e. location

Public 7ethodsA ;;#t returns the filepath information i4e4 where the file is stored
public Data/et downmaterial()

;;#t returns the list of trainers who will be pro6iding the material
public Data/et downmaterial()

;;#t will return true or false if material is downloaded or not

protected void grddownload2/elected,nde"3hanged(ob1ect sender, 4vent5rgs e)

-.

Buer!7anager 7odule
Database DesignA Table (sed A queryNmanager
Query Name

Length

Null/Not Null

Datatype

Description

0ueryid .uerydata

2+ &+

Primary 6ey 7ot 7ull 7ot 7ull 7ot 7ull 7ot 7ull

varchar varchar varchar Varchar Varchar

5utomatic generation ,t hold the 0uery o! learner ,t holds 89/:; !or resolved and 879/; !or not resolved ,t hold the id o! learner,t hold the id o! trainer-

.uerystatus 2+ learnerid 1+ trainerid 2+

Class Design A
Public PropertiesA 3ublic string queryidL
public public public public public string string string string string e"pertisearea; .uery; status; learnerid; trainerid;

Public 7ethodsA ;;Sa6e the quer! info in Buer!7anager table


public bool savereal.uery(string u, string t, string .s, string .uery)

;;-etch all the details from Buer!7anager table4


public Data/et get0ueryDetail(string !)

;;Set the status of a particular quer!


public int updatestatus(int status)

;;delete the quer!Details of a particular quer! 3ublic bool deletequery!int queryno"

Suggestion o: 7odule
Database DesignA Table ,ameA suggestionbox
S ,O 1 + , -#E/DS ,A7E serialnumber userid usersuggestion dataadded S#?E +1 +1 .1 CO,STRA#,T 3rimary key not null not null null DATAT+PE #umeric varchar varchar datetime DESCR#PT#O, It is the auto increment serial number It stores the &serId who submitted the Suggestion It stores the suggestions if any of the user It stores the date on which the &ser !/earner>'rainer" has submitted the suggestion It stores the date on which the Administrator attended to the suggestion It stores the status of suggestion i.e. whether it is attended by the administrator with + values* =$S/) or =&$S)

dataattended

null

datetime

status

11

null

varchar

Class Design A Public -ields 3ublic int serialnumberL public string useridL public string &serSuggestionL public string dataaddedL public string dataattendedL public string statusL Public methods ;;#t sa6es the Suggestion b! the /earner; Trainer
public void savesugg(string s1, string s2, string s$, string s%, string s&, string s')

;;&iew Suggestion of a user

public Data/et getviewsugg()

-5

TrainerArchi6eCollection 7odule
Database Design A

Table ,ameA material

ArchiveCollection' Details S No 1 2 $ $ % & ' ( ) * 1+ Fields Name serialnumber materialid !ilename title description type si<e dateadded status sub1ectcode server!ilepath & 1+ 1++ Size 2+ 2+ &+ $+ &+ $+ 1+ Constraint not null Primary 6ey not null not null not null not null not null not null not null not null not null Datatype numeric varchar varchar varchar varchar varchar varchar datetime varchar varchar Varchar Description ,t is an auto increment !ield ,t is the material uni.ue ,d !or a particular

,t is the !ile name in which material is stored ,t is the title o! the material ,t stores a brie! content o! material ,t stores -pd!, et the type description o! !ile o! the

e-g

-doc,

,t stores total si<e o! material ,t stores the date on which trainer saved the material ,t stores whether material is present in the library or not ,t stores the /ub1ect 3ode ,t stores the Path where the material is stored on the server

-0

Class Design A Public -ieldsA


public public public public public public public public public public public public public string string string string string string string string string string string string string learnerid; sr-no-; materialid; !ilename; title; description; type; si<e; dateadd; status; sub1ectcode; server!path; trainerid;

Public 7ethodsA ;;Sa6ing 7aterial #nformation in database


public bool /ave=aterial()

;;(pdating the 7aterial #nformation


public Data/et getmaterial!orlearner() public Data/et downmaterial()

;;Deleting 7aterial #nformation


public bool deletematerial(string ss)

-;

Administrator 7odule
Database Design A Table ,ameA Administrator

S ,O4 3 1 H I E

TA /E ,A7E AdminGlogin material Suggestionbo: quer!Gmanager quer!bo:

Public 7ethodsA ;;#t will fetch the /ist of all (sers 0ith Categor!
public Data/et getUserDetail()

;;#t will fetch the Suggestions


public Data/et get/ggDetail(string !)

;;#t will fetch all the submitted queries ;;#t Delete (nused Data

public Data/et get0ueryDetail(string !)

public bool deletematerial(string ss)

.1

7odule Description

.1

/ogin 7anager
Introduction
'he /ogin 9anager is responsible for handling login related information of user. It has user friendly H&I interface which provides all the required information with minimum efforts. 'he /ogin 9anager has the responsibility to allow only authenticated users to login to the website. It keeps check over the entry of the user. It provides flexibility to the users even in the case when the user forgets his password. Cowever the module has no provision to display the password if the user forgets his password for security reasons. 'he module consists of procedures to handle the storage ,updation and deletion of records of a particular userid. It also consists of methods for authenticating the user. 'he authentication can be by matching the password against user id or by matching the hint question and hint answer. It is also responsible for fetching the hint question if the user forgets the password.

-eatures
It has features responsible for saving, updating and deleting /ogin %etails of users. It has user friendly and clear features to reveal its features. It retrieves and provides information in fast and efficient manner.

enefits
'he module provides the benefit of creating a first step check over the users. All the users have to go through this check and if he passes this check, then only he will be allowed to access the useful features of the website. It keeps track of the category of the user and based on the category appropriate homepage of the user i.e. after the user is authenticated then if the user is a learner then he is redirected to /earner)s home page and if he is a trainer then he is redirected to the trainer)s home page.

7ethodolog!
'he module is developed using the 4b6ect 4riented approach. 'he module is developed in three distinct phases < Hraphical &ser Interface !H&I", the coding !class level design" and database creation with testing. H&I is done using @isual Studio +11. and @?E using ?ascading StyleSheets !?SS". H&I is designed keeping easy user interface in mind. %ifferent controls are used for data entry and checking feature.

.+

'he following features of 4b6ect 4riented 3rogramming are used while developing this class7* 3ublic 3roperties 4b6ect Instance #on Static methods ?onstructors Inheritance 'he /ogin9anager class is designed as per the requirements of the pro6ect. All the properties are matched with the corresponding fields of database tables. 'he properties of the class are kept public so that it can be integrated with the form text fields in H&I forms. %esign of the class is shown below

De6elopment Of ClassA
/ogin9anager class is developed using ?E under @isual Studio +11.. 'o develop database oriented functions A%4.net is used. %etails of .#et classes and namespaces are shown below7 #amespaces used System.%ata System.%ata.4le%b 8?/ classes used 4le%b?onnection 4le%b?ommand 4le%b%ataAdapter %ataSet 8ollowing functions are developed with the help of the above 8?/ class to interact with the %atabase 'his function can be used to update all the information about user into the database. It is a public and non static function and it can be called using the ob6ect of the class. 'his function returns true if update operation is carried out successfully. If any error occurs during the database operation it performs the exception handling and a false value is returned.

asic Profile

.,

Introduction
:asic profile deals with profile creation of the user during his>her registration time. &sers can be either be /earner or trainer. It is like a form which is going to be filled with personal details by the users . 'his information can be filled by the user during his login detail entries . :asic profile information can be viewed by the user i.e. learner or trainer in the form of basic profile after entering to their homepage. Fhile reaching to the homepage learner and trainer can view their basic information detail and can edit their personal details according to their situation. -eatures It has features responsible for saving , updating , deleting the basic users details. It has user friendly and clear features to reveal its features. It retrieves and provides information in fast and efficient manner. enefits 'his profile creation is very important as it shows all the relevant personal information of the users according to the data stored in the database at the time of new user registration. 'his profile creation process is very flexible as this information can be updated and deleted by the user time to time.

/earner Ad6ance Profile

.-

Introduction
'his advance profile is responsible for saving the entries given by the learner according to his learning interest area . /earning area is that area or part in which learner want to query to the trainer and request for study materials in that particular area. 'here are more than 111 learning area where learner shows his interest and adopt for more than one learning area and will also tell his level in that learning area i.e his grading in particular sub6ect. 'heir remarks will also be welcomed . All the learning area will be related to the I'* 'echnology fields. According to this learning area the expertise trainer will be allotted to the learner .

-eatures
It has features responsible for saving , updating , deleting the basic users details. It has user friendly and clear features to reveal its features. It retrieves and provides information in fast and efficient manner

enefits
'his advance profile is very useful as this profile is asking for learner)s interest area which cover all the important area of I'*'echnology.

Request 7odule

..

Introduction
'his module is responsible for sending request by the learner to the trainer whom he want to handshake or attached so that learner will get his desired material. :y 6ust clicking to the request button his request will be forwarded to the requested trainer. 'hen if trainer will accept his request then that learner will attached to the learner. 'hrough this process material will be requested and material will be send by the trainer to the learner.

Trainer Ad6ance Profile


Introduction
'his advance profile is responsible for saving the entries given by the 'rainer according to his Axperti(ation area. Axperti(ation area is that area in which trainer has command . In this particular area or sub6ect trainer is considered to have done his mastery. 'here are more than 111 experti(ation area and trainer will opt for more than one expertise area. According to his experti(ation area he will be providing the study material to the learner when learner interest area and trainer experti(ation area will be matched . All the learning area will be related to the I'* 'echnology fields.

-eatures
It has features responsible for saving , updating , deleting the basic users details. It has user friendly and clear features to reveal its features. It retrieves and provides information in fast and efficient manner

enefits
'his advance profile is very useful as this profile is asking for trainer)s experti(ation area which covers all the important area of I'*'echnology.

Download 7aterial 7odule

Introduction
'his module is responsible for downloading material which is given by the trainer to the learner . According to that requirement which is given by the learner to the trainer will provide material to the learner by providing him download button. 8rom that download button learner will download the material.

Buer! 7anager
/earner Buer! 7anagement Introduction
'his module deals with management of queries given by the learner to the trainer according to the learning area of learner and experti(ation area of the trainer. After handshaking done between these two entities learner will fire his query to the attached trainer. All learners Bueries details will be maintained in the database .

Trainer Buer! 7anagement Introduction


'his module deals with management of queries by the trainers . /earner will ask the queries to the trainer and trainer has to answer that query either replying him by telling queries status like resolved and unresolved and if queries are solved then set the status resolved and then providing study material to the learner .

.5

Suggestion bo:
Introduction
'his module is responsible for welcoming or taking all the suggestions given by the learner and trainer. Fe can consider it like a feedback is taking from learner and trainer. 'heir suggestions can only be viewed by the Administrator not by any other learner and trainer.

Archi6e Collection
Introduction
'his module is responsible collecting all the materials according to trainer)s need . 'rainer will maintain his archive that is he will upload all material of different file format in his library and according to learner)s query he will transfer or send that material to learner. 'his archive will be maintained with full description of the material.

Archi6e #nfosee=er
Introduction
'his module deals with searching of materials by the trainer from his archive or library. 'his searching will be done by the trainer on criteria basis. 'his searching involved criteria like quick and advanced search. 'rainer will use his archive and select the material as per the requirement of the learner and provide him link to download the content. 8rom that link learner will download the contents .

Administrator

.0

Introduction
Administrator will be the person who will have full control over the websites. Ce has power to view all users , all suggestions , all queries and all materials stored in trainer library. Ce has power to delete the users , suggestions , queries which are not meaningful. Administrator will directly interacted with the all the table that are used in pro6ect admin can perform various information on those table admin works as a controller that control over all pro6ect.

.;

SO(RCE CODE

Connection 7anager

using using using using using using using using using using using using

System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class Connection%anager & $ublic #leDbConnection connection ' ne( #leDbConnection)*; $ublic #leDbComman+ comman+ ' ne( #leDbComman+)*; $ublic #leDbDataA+a$ter +ataa+a$ter ' ne( #leDbDataA+a$ter)*; $ublic DataSet +s ' ne( DataSet)*; $ublic Connection%anager)* & , $ublic voi+ Connect)* & connection.ConnectionString ' connection.ConnectionString ' -.!rovi+er'sqlole+b;initial catalog'estu+y/one;+ata source'.0sqle1$ress;integrate+ security'ss$i;.; comman+.Connection ' connection; +ataa+a$ter.SelectComman+ ' comman+; , $ublic DataSet get+ataset)string query2 string aliasname* & comman+.Comman+3e1t ' query; +ataa+a$ter.4ill)+s2 aliasname*; return +s; , ,

/ogin
using using using using using using using using using using using using System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class login & $ublic Connection%anager cm ' ne( Connection%anager)*; $ublic string useri+; $ublic string $ass(or+; $ublic string category; $ublic login)* & cm.Connect)*; , $ublic bool 5ali+ateUser)string uuseri+2 string $$ass(or+2 string category* & try & if )uuseri+ 6' .. 77 $$ass(or+ 6' .. 77 category 6 ' ..* & cm.connection.#$en)*; cm.comman+.Comman+3e1t ' .Select 8 from login (here useri+''. 9 uuseri+ 9 .' an+ $ass(or+''. 9 $$ass(or+ 9 .' an+ category''. 9 category9 .'.; cm.+ataa+a$ter.4ill)cm.+s2 .v:.*;

+ Data;o(<= +r ' cm.+s.3ables<.v:.=.Select).useri+ ' '. 9 uuseri+ 9 .'an+ $ass(or+''. 9 $$ass(or+ 9 .'.*; if )+r.Length > ?* & return true; , else return false; , else & return false; , , catch )@1ce$tion e1* & thro( e1; , finally & cm.connection.Close)*; , , $ublic bool 5ali+ateA+min)string uuseri+2 string $$ass(or+* & try & if )uuseri+ 6' .. 77 $$ass(or+ 6' ..* & cm.connection.#$en)*; cm.comman+.Comman+3e1t ' .Select 8 from a+minAlogin (here useri+''. 9 uuseri+ 9 .'.; cm.+ataa+a$ter.4ill)cm.+s2 .v:.*; Data;o(<= +r ' cm.+s.3ables<.v:.=.Select).useri+ ' '. 9 uuseri+ 9 .'.*; if )+r.Length > ?* & return true; ,

, else return false; , else & return false; , , catch )@1ce$tion e1* & thro( e1; , finally & cm.connection.Close)*; , , $ublic DataSet getUserDetail)* & DataSet +s:; +s: ' cm.get+ataset).Select useri+2username2a++ress2emaili+2category2country2state2city2$i nco+e2contact:2+ob2fa1no2+esignation2+e$artment2organi/ation from registration.2 .a.*; if )+s:.3ables<.a.=.;o(s.Count > ?* return +s:; else return null; , $ublic bool forgetvali+ation)string uuseri+* & try & if )uuseri+ 6' .. * & cm.connection.#$en)*; cm.comman+.Comman+3e1t ' .Select useri+ from login (here useri+''. 9 uuseri+ 9 .'.; cm.+ataa+a$ter.4ill)cm.+s2 .v:.*; Data;o(<= +r ' cm.+s.3ables<.v:.=.Select).useri+ ' '. 9 uuseri+ 9 .'.*; if )+r.Length > ?*

& return true; , else return false; , else & return false; , , catch )@1ce$tion e1* & thro( e1; , finally & cm.connection.Close)*; , , ,

/earner Ad6ance Profile


using using using using using using using using using using using using System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class lera+v & $ublic string<= (: ' ne( string<:?=; $ublic string s; $ublic int s:; $ublic string useri+; $ublic string learningarea; $ublic int level; $ublic string remarBs; $ublic string ea ; $ublic string ey; $ublic string $roCect; $ublic Connection%anager cm ' ne( Connection%anager)*; $ublic lera+v)* & cm.Connect)*; , $ublic bool savelera+v$rofile)string u:* & try & cm.comman+.Comman+3e1t ' .Select 8 from learnera+v$rofile (here useri+''. 9 u: 9 .'.; cm.+ataa+a$ter.4ill)cm.+s2 .l:.*; Data;o( +r ' cm.+s.3ables<.l:.=.De(;o()*; +r<.useri+.= ' useri+; +r<.learningarea.= ' learningarea; +r<.level.= ' level; +r<.remarBs.= ' remarBs; cm.+s.3ables<.l:.=.;o(s.A++)+r*;

#leDbComman+Euil+er buil+er ' ne( #leDbComman+Euil+er)cm.+ataa+a$ter*; cm.+ataa+a$ter.U$+ate)cm.+s.3ables<.l:.=*; return true; , catch )@1ce$tion e1* & return false; thro( e1; , , $ublic bool sessionrelate+)string useri+* & try & Data;o( +r; cm.comman+.Comman+3e1t ' .Select 8 from learnera+v$rofile (here useri+''. 9 useri+ 9 .'.; cm.+ataa+a$ter.4ill)cm.+s2 .tF.*; int b'cm.+s.3ables<.tF.=.;o(s.Count; for )int i ' :; i G' b; i99* & +r ')Data;o(*cm.+s.3ables<.tF.=.;o(s<i=; (:<i= ' +r<.learningarea.=.3oString)*; , HHlevel ' +r<.level.=.3oString)*; HHremarBs ' +r<.remarBs.=.3oString)*; return true; , catch)@1ce$tion e* & s'.no information.; return false; , , $ublic bool fatch+ataoftrainer)string useri+* & try & cm.comman+.Comman+3e1t ' .Select 8 from trainera+v$rofile (here useri+''. 9 useri+ 9 .'.; cm.+ataa+a$ter.4ill)cm.+s2 .tF.*; Data;o( +r ' cm.+s.3ables<.tF.=.;o(s<?=; ea ' +r<.e1$ertisearea.=.3oString)*;

5 ey ' +r<.e1$ertiseyear.=.3oString)*; $roCect ' +r<.$roCect.=.3oString)*; remarBs ' +r<.remarBs.=.3oString)*; return true; , catch )@1ce$tion e* & s ' .no information.; return false; , , $ublic DataSet selectlearningarea)string s* & DataSet +s; cm.comman+.Comman+3e1t ' .select +istinct)learningarea* from learnera+v$rofile (here useri+''.9 s 9.'.; cm.+ataa+a$ter.4ill)cm.+s2 .tF.*; +s' cm.+s; if )+s.3ables<.tF.=.;o(s.Count > ?* return +s; else return null; , $ublic DataSet selecte1$ertisearea)* & DataSet +s; cm.comman+.Comman+3e1t ' .select +istinct)e1$ertisearea* from trainera+v$rofile.; cm.+ataa+a$ter.4ill)cm.+s2 .tF.*; +s ' cm.+s; if )+s.3ables<.tF.=.;o(s.Count > ?* return +s; else return null; , $ublic voi+ u$+atelernera+v$rofile)* & ,

Trainer Ad6ance Profile


using using using using using using using using using using using using System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class trainera+v$rofile & $ublic string useri+; $ublic string e1$ertisearea; $ublic int e1$ertiseyear; $ublic int $roCect; $ublic string remarBs; $ublic Connection%anager cm ' ne( Connection%anager)*; $ublic trainera+v$rofile)* & cm.Connect)*; , $ublic bool savetrainera+v$rofile)* & try & cm.comman+.Comman+3e1t ' .Select 8 from trainera+v$rofile.; cm.+ataa+a$ter.4ill)cm.+s2 .t:.*; Data;o( +r ' cm.+s.3ables<.t:.=.De(;o()*; +r<.useri+.= ' useri+; +r<.e1$ertisearea.= ' e1$ertisearea; +r<.e1$ertiseyear.= ' e1$ertiseyear; +r<.$roCect.= ' $roCect; +r<.remarBs.= ' remarBs; cm.+s.3ables<.t:.=.;o(s.A++)+r*;

; #leDbComman+Euil+er buil+er ' ne( #leDbComman+Euil+er)cm.+ataa+a$ter*; cm.+ataa+a$ter.U$+ate)cm.+s.3ables<.t:.=*; return true; , catch )@1ce$tion e1* & return false; thro( e1; , , $ublic bool sessionrelate+)string useri+* & cm.comman+.Comman+3e1t ' .Select 8 from trainera+v$rofile (here useri+''. 9 useri+ 9 .'.; cm.+ataa+a$ter.4ill)cm.+s2 .tF.*; HHData;o( +r ' cm.+s.3ables<.tF.=.;o(s<?=; e1$ertisearea ' cm.+s.3ables<.tF.=.;o(s<?= <.e1$ertisearea.=.3oString)*; e1$ertiseyear ' Int:I.!arse)cm.+s.3ables<.tF.=.;o(s<?= <.e1$ertiseyear.=.3oString)**; $roCect ' Int:I.!arse)cm.+s.3ables<.tF.=.;o(s<?= <.$roCect.=.3oString)**; remarBs ' cm.+s.3ables<.tF.=.;o(s<?= <.remarBs.=.3oString)*; return true; , ,

51

Trainer Achie6e Collection


using using using using using using using using using using using using System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class material & $ublic Connection%anager cm ' ne( Connection%anager)*; $ublic int i; $ublic string li+; $ublic string sn; $ublic string mi+; $ublic string fn; $ublic string title; $ublic string +esc; $ublic string ty$e; $ublic string si/e; $ublic string +atea++; $ublic string status; $ublic string sc; $ublic string sf$ath; $ublic string ti+; $ublic string ta; $ublic material)* & cm.Connect)*; , $ublic bool Save%aterial)* & try & cm.comman+.Comman+3e1t ' .Select 8 from material.; cm.+ataa+a$ter.4ill)cm.+s2 .tJ.*; Data;o( +r ' cm.+s.3ables<.tJ.=.De(;o()*; +r<.serialnumber.= ' sn;

51 +r<.materiali+.= ' mi+; +r<.filename.= 'fn ; +r<.title.= 'title ; +r<.+escri$tion.= ' +esc; +r<.ty$e.= 'ty$e ; +r<.si/e.= ' si/e; +r<.+atea++e+.= ' Convert.3oDate3ime)+atea++*; +r<.status.= ' status; +r<.subCectco+e.= 'sc ; +r<.serverfile$ath.= 'sf$ath ; +r<.traineri+.= ' ti+; cm.+s.3ables<.tJ.=.;o(s.A++)+r*; #leDbComman+Euil+er buil+er ' ne( #leDbComman+Euil+er)cm.+ataa+a$ter*; cm.+ataa+a$ter.U$+ate)cm.+s.3ables<.tJ.=*; return true; , catch )@1ce$tion e1* & return false; thro( e1; , , $ublic DataSet +o(nmaterial)* & DataSet +s; +s ' cm.get+ataset).select materiali+2filename2traineri+2title2status from material .2 .v:.*; if )cm.+s.3ables<.v:.=.;o(s.Count > ?* return +s; else return null; , $ublic DataSet get3rainerDetail)string f* & DataSet t+s; t+s ' cm.get+ataset).Select +istinct)learneri+* from queryAmanager (here traineri+''. 9 f 9 .'.2 .tJ.*; if )t+s.3ables<.tJ.=.;o(s.Count > ?* return t+s; else return null; , $ublic DataSet getbyi+sho()*

5+ & DataSet +s; +s ' cm.get+ataset).select materiali+2traineri+2title from material .2 .v:.*; if )cm.+s.3ables<.v:.=.;o(s.Count > ?* return +s; else return null; , $ublic DataSet getbyi+name)* & DataSet +s; +s ' cm.get+ataset).select filename2traineri+ title from material .2 .v:.*; if )cm.+s.3ables<.v:.=.;o(s.Count > ?* return +s; else return null; , $ublic DataSet getmaterialforlearner)* & DataSet +s; +s ' cm.get+ataset).select materiali+2filename2title from material .2 .v:.*; if )cm.+s.3ables<.v:.=.;o(s.Count > ?* return +s; else return null; , $ublic bool savelearnerrequest)* & try & cm.comman+.Comman+3e1t ' .Select 8 from learnerlibrary.; cm.+ataa+a$ter.4ill)cm.+s2 .t:.*; Data;o( +r ' cm.+s.3ables<.t:.=.De(;o()*; +r<.learneri+.= ' li+; +r<.traineri+.= ' ti+; +r<.materiali+.= ' mi+; +r<.filename.= ' fn; +r<.title.= ' title; cm.+s.3ables<.t:.=.;o(s.A++)+r*;

5, #leDbComman+Euil+er buil+er ' ne( #leDbComman+Euil+er)cm.+ataa+a$ter*; cm.+ataa+a$ter.U$+ate)cm.+s.3ables<.t:.=*; return true; , catch )@1ce$tion e1* & return false; , , $ublic bool +eletematerial)string ss* & try & cm.comman+.Comman+3e1t ' .+elete from material (here materiali+''. 9 ss 9 .'.; cm.connection.#$en)*; int r ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; if )r > ?* & return true; , else return false; , catch)@1ce$tion e+* & return false; , , $ublic DataSet +o(nloa+suggestion)* & DataSet +s; +s ' cm.get+ataset).select 8 from suggestionbo1.2 .v:.*; if )cm.+s.3ables<.v:.=.;o(s.Count > ?* return +s; else return null; , $ublic DataSet +o(nloa+query)* &

5DataSet +s; +s ' cm.get+ataset).select 8 from querybo1.2 .v:.*; if )cm.+s.3ables<.v:.=.;o(s.Count > ?* return +s; else return null; , $ublic bool +eletesuggestion)string ss* & try & cm.comman+.Comman+3e1t ' .+elete from suggestionbo1 (here usersuggestion''. 9 ss 9 .'.; cm.connection.#$en)*; int r ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; if )r > ?* & return true; , else return false; , catch )@1ce$tion e+* & return false; , , $ublic bool +eletequery)string ss* & try & cm.comman+.Comman+3e1t ' .+elete from querybo1 (here query+ata''. 9 ss 9 .'.; cm.connection.#$en)*; int r ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; if )r > ?* & return true; , else return false; ,

5. catch )@1ce$tion e+* & return false; , , $ublic bool +eletequeryy)* & try & cm.comman+.Comman+3e1t ' .+elete from querybo1 .; cm.connection.#$en)*; int r ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; if )r > ?* & return true; , else return false; , catch )@1ce$tion e+* & return false; , , ,

DO0,/OAD 7ATER#A//
using using using using using using using using using using using using System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class +o(nloa+ & $ublic Connection%anager $ublic +o(nloa+)* & cm.Connect)*;

cm'ne( Connection%anager)*;

, $ublic DataSet +o(nmaterial)* & DataSet +s; +s ' cm.get+ataset).select materiali+2filename2traineri+2title from learnerlibrary .2 .v:.*; if )cm.+s.3ables<.v:.=.;o(s.Count > ?* return +s; else return null; , $ublic bool +eletematerial)string ss* & try & cm.comman+.Comman+3e1t ' .+elete from learnerlibrary (here materiali+''. 9 ss 9 .'.; cm.connection.#$en)*; int r ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*;

55 if )r > ?* & return true; , else return false; , catch )@1ce$tion e+* & return false; , , $ublic DataSet getvie(query)* & DataSet t+s; t+s ' cm.get+ataset).Select 8 from querybo1.2 .tJ.*; if )t+s.3ables<.tJ.=.;o(s.Count > ?* return t+s; else return null; , $ublic DataSet getvie(sugg)* & DataSet t+s; t+s ' cm.get+ataset).Select useri+2usersuggestion2+ataa++e+2status from suggestionbo1.2 .tL.*; if )t+s.3ables<.tL.=.;o(s.Count > ?* return t+s; else return null; , ,

50

Buer! and Suggestion


using using using using using using using using using using using using System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class querysugg & $ublic int n; $ublic Connection%anager cm ' ne( Connection%anager)*; #leDbData;ea+er +r; $ublic querysugg)* & cm.Connect)*; , $ublic voi+ savequery) string s:2 string sJ2 string sL2 string sF* & try & string sM ' .Dot.; cm.comman+.Comman+3e1t ' .insert into querybo1 values)'. 9 s: 9 .'2'. 9 sJ 9 .'2'. 9 sL 9 .'2'. 9 sF 9 .'2'. 9 sM 9 .'*.; cm.connection.#$en)*; n ' cm.comman+.@1ecuteDonKuery)*; , catch)@1ce$tion e* & ,

5; finally & cm.connection.Close)*; , , $ublic voi+ savesugg) string s:2string sJ2 string sL2 string sF2 string sM2 string sI* & try & cm.comman+.Comman+3e1t ' .insert into suggestionbo1 values)'. 9 s: 9 .'2'. 9 sJ 9 .'2'. 9 sL 9 .'2'. 9 sF 9 .'2'. 9 sM 9 .'2'. 9 sI 9 .'*.; cm.connection.#$en)*; n ' cm.comman+.@1ecuteDonKuery)*; , catch )@1ce$tion e:* & , finally & cm.connection.Close)*; , , ,

01

using using using using using using using using using using using using

System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

asic Profile

$ublic class registration & $ublic string message; $ublic int g; $ublic string useri+; $ublic string $ass(or+; $ublic string username; $ublic string a++ress; $ublic string emaili+; $ublic string category; $ublic string country; $ublic string state; $ublic string city; $ublic string $inco+e; $ublic string contact:; $ublic string contactJ; $ublic string +ob; $ublic string fa1no; $ublic string +esignation; $ublic string +e$artment; $ublic string organisation; $ublic Connection%anager cm ' ne( Connection%anager)*; DataSet +s; $ublic registration)* & cm.Connect)*; , $ublic bool savereg)*

01 & try & cm.comman+.Comman+3e1t ' .Select 8 from registration.; cm.+ataa+a$ter.4ill)cm.+s2 .a:.*; Data;o( +r ' cm.+s.3ables<.a:.=.De(;o()*; +r<.userI+.= ' useri+; +r<.$ass(or+.= ' $ass(or+; +r<.username.= ' username; +r<.a++ress.= ' a++ress; +r<.emaili+.= ' emaili+; +r<.category.= ' category; +r<.country.= ' country; +r<.state.= ' state; +r<.city.= ' city; +r<.$inco+e.= ' $inco+e; +r<.contact:.= ' contact:; +r<.contactJ.= ' contactJ; +r<.+ob.= ' +ob; +r<.fa1no.= ' fa1no; +r<.+esignation.= ' +esignation; +r<.+e$artment.= ' +e$artment; +r<.organi/ation.= ' organisation; cm.+s.3ables<.a:.=.;o(s.A++)+r*; #leDbComman+Euil+er buil+er ' ne( #leDbComman+Euil+er)cm.+ataa+a$ter*; cm.+ataa+a$ter.U$+ate)cm.+s.3ables<.a:.=*; return true; , catch )@1ce$tion e1* & return false; thro( e1; , , $ublic bool savelogin)* & try & cm.comman+.Comman+3e1t ' .Select 8 from login.; cm.+ataa+a$ter.4ill)cm.+s2 .aJ.*; Data;o( +r ' cm.+s.3ables<.aJ.=.De(;o()*; +r<.userI+.= ' useri+; +r<.!ass(or+.= ' $ass(or+;

0+ +r<.Category.= ' category; cm.+s.3ables<.aJ.=.;o(s.A++)+r*; #leDbComman+Euil+er buil+er ' ne( #leDbComman+Euil+er)cm.+ataa+a$ter*; cm.+ataa+a$ter.U$+ate)cm.+s.3ables<.aJ.=*; return true; , catch )@1ce$tion e1* & return false; thro( e1; , , $ublic voi+ u$+ate+ata)string uname2 string a++2 string ei+2 string cat2 string country2 string state2 string city2 long $2 long c:2 long cJ2 string +ob2 long fa1no2 string +es2 string +e$2 string org* & try & string str ' .u$+ate registration set username''. 9 uname 9 .'2a++ress''. 9 a++ 9 .'2emaili+''. 9 ei+ 9 .'2category''. 9 cat 9 .'2country''. 9 country 9 .'2state''. 9 state 9 .'2city''. 9 city 9 .'2 $inco+e''. 9 $ 9 .'2contact:''. 9 c: 9 .'2contactJ''. 9 cJ 9 .'2+ob''. 9 +ob 9 .'2fa1no''. 9 fa1no 9 .'2+esignation''. 9 +es 9 .'2+e$artment''. 9 +e$ 9 .'2organi/ation''. 9 org 9 .' (here useri+''.9useri+9.'.; cm.comman+.Comman+3e1t ' str; cm.connection.#$en)*; g ' cm.comman+.@1ecuteDonKuery)*; , catch )4ormat@1ce$tion e1* & city ' e1.%essage; , finally & cm.connection.Close)*; ,

0, , $ublic bool taBe+ata)string u* & cm.comman+.Comman+3e1t ' .Select 8 from registration (here useri+''. 9 u 9 .'.; cm.+ataa+a$ter.4ill)cm.+s2 .tF.*; Data;o( +r ' cm.+s.3ables<?=.;o(s<?=; username ' +r<J=.3oString)*; a++ress ' +r<L=.3oString)*; emaili+ ' +r<F=.3oString)*; category ' +r<M=.3oString)*; country ' +r<I=.3oString)*; state ' +r<N=.3oString)*; city ' +r<O=.3oString)*; $inco+e '+r<P=.3oString)*; contact: ' +r<:?=.3oString)*; contactJ ' +r<::=.3oString)*; +ob ' +r<:J=.3oString)*; fa1no ' +r<:L=.3oString)*; +esignation ' +r<:F=.3oString)*; +e$artment ' +r<:M=.3oString)*; organisation ' +r<:I=.3oString)*; return true; , $ublic bool checBuser)string s:* & cm.comman+.Comman+3e1t ' .S@L@C3 useri+ 4;#% registration (here useri+''.9s:9.'.; cm.+ataa+a$ter.4ill)cm.+s2 .tF.*; if )cm.+s.3ables<.tF.=.;o(s.Count > ?* & return true; , else return false; , $ublic int insert+ata)string t:2string tJ2string tL2string u:2string uJ2string tF2string tM2string tI2string tN2string tO2string tP2string t:?2string t::2string t:J2Date3ime t:L2string t:F2string t:M2string t:I2string t:N* & try& cm.comman+.Comman+3e1t ' .insert into registration values)'. 9 t: 9 .'2'. 9 tJ 9 .'2'. 9 tL 9 .'2'. 9 tF 9 .'2'. 9 tM 9 .'2'. 9 tI 9 .'2'. 9 tN 9 .'2'. 9 tO 9 .'2'. 9 tP 9

0.'2'. 9 t:? 9 .'2'. 9 t:: 9 .'2'. 9 t:J 9 .'2'. 9 t:L 9 .'2'. 9 t:F 9 .'2'. 9 t:M 9 .'2'. 9 t:I 9 .'2'. 9 t:N 9 .'*.; cm.connection.#$en)*; int n ' cm.comman+.@1ecuteDonKuery)*; if )n > ?* & cm.connection.Close)*; insertintologin)t:2tJ2tI2uJ2u:*; return n; , else return n; , catch )@1ce$tion e:* & return ?; , finally & cm.connection.Close)*; , , $ublic voi+ insertintologin)string t:2 string tJ2 string tM2 string uJ2 string u:* & cm.comman+.Comman+3e1t ' .insert into login values)'. 9 t: 9 .'2'. 9 tJ 9 .'2'. 9 tM 9 .'2'. 9 uJ 9 .'2'. 9 u: 9 .'*.; cm.connection.#$en)*; int n ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; , $ublic DataSet checBfogate$ass(or+)string s:* & cm.comman+.Comman+3e1t ' .S@L@C3 8 4;#% login (here useri+''. 9 s: 9 .'.; cm.+ataa+a$ter.4ill)cm.+s2.tF.*; +s ' cm.+s; if )+s 6' null* & return +s; , else & return null; ,

0.

, ,

Show the information


using using using using using using using using using using using using System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security; System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class sho( & $ublic Connection%anager cm ' ne( Connection%anager)*; $ublic string e1$ertisearea; $ublic string g; $ublic string query; $ublic string status; $ublic string learneri+; $ublic string traineri+; $ublic int $; $ublic sho()* & cm.Connect)*; , $ublic DataSet get3rainerDetail)string f* & DataSet t+s; t+s ' cm.get+ataset).Select 8 from trainera+v$rofile (here e1$ertisearea''. 9 f 9 .'.2 .tJ.*; if )t+s.3ables<.tJ.=.;o(s.Count > ?* return t+s; else return null; , $ublic bool savetquerysuggestion)* & try

0 & cm.comman+.Comman+3e1t ' .Select 8 from querysugg.; cm.+ataa+a$ter.4ill)cm.+s2 .t:.*; Data;o( +r ' cm.+s.3ables<.t:.=.De(;o()*; +r<.query.= ' query; cm.+s.3ables<.t:.=.;o(s.A++)+r*; #leDbComman+Euil+er buil+er ' ne( #leDbComman+Euil+er)cm.+ataa+a$ter*; cm.+ataa+a$ter.U$+ate)cm.+s.3ables<.t:.=*; return true; , catch )@1ce$tion e1* & return false; thro( e1; , , $ublic bool saverealquery)string u2 string t2 string qs2 string query* & try & cm.comman+.Comman+3e1t ' .Select 8 from queryAmanager.; cm.+ataa+a$ter.4ill)cm.+s2 .tJ.*; Data;o( +r ' cm.+s.3ables<.tJ.=.De(;o()*; +r<.query+ata.= ' query; +r<.querystatus.= ' qs; +r<.learneri+.= ' u; +r<.traineri+.= ' t; cm.+s.3ables<.tJ.=.;o(s.A++)+r*; #leDbComman+Euil+er buil+er ' ne( #leDbComman+Euil+er)cm.+ataa+a$ter*; cm.+ataa+a$ter.U$+ate)cm.+s.3ables<.tJ.=*; return true; , catch )@1ce$tion e1* & return false; thro( e1; , , $ublic DataSet getKueryDetail)string f* & DataSet t+s;

05 t+s ' cm.get+ataset).Select query+ata2querystatus from queryAmanager (here learneri+''. 9 f 9 .'.2 .tJ.*; if )t+s.3ables<.tJ.=.;o(s.Count > ?* return t+s; else return null; , $ublic bool +eleteaccount)string ss* & cm.comman+.Comman+3e1t ' .+elete from registration (here useri+''. 9 ss 9 .'.; cm.connection.#$en)*; int r ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; if )r > ?* & cm.comman+.Comman+3e1t ' .+elete from login (here useri+''. 9 ss 9 .'.; cm.connection.#$en)*; r ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; if )r > ?* return true; else return false; , else return false; , $ublic voi+ +eleteother)string ss2 string ss:* & if )ss: '' .Learner.* & cm.comman+.Comman+3e1t ' .+elete from learnera+v$rofile (here useri+''. 9 ss 9 .'.; cm.connection.#$en)*; $ ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; , else if )ss: '' .3rainer.* & cm.comman+.Comman+3e1t ' .+elete from trainera+v$rofile (here useri+''. 9 ss 9 .'.; cm.connection.#$en)*; $ ' cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; ,

00 , $ublic int u$+atestatus)int status* & try & string str ' .u$+ate queryAmanager set querystatus''. 9 g 9 .' (here queryi+''. 9 status 9 .'.; cm.comman+.Comman+3e1t ' str; cm.connection.#$en)*; int n ' cm.comman+.@1ecuteDonKuery)*; if )n '' :* & return n; , else & return ?; , , catch)@1ce$tion e:* & return ?; , , ,

Trainer &iew Request


using using using using using using System; System.Data; System.Configuration; System.Linq; System.Web; System.Web.Security;

0; using using using using using using System.Web.UI; System.Web.UI. tmlControls; System.Web.UI.WebControls; System.Web.UI.WebControls.Web!arts; System."ml.Linq; System.Data.#leDb;

$ublic class trainervie(request & $ublic Connection%anager cm ' ne( Connection%anager)*; $ublic trainervie(request)* & cm.Connect)*; , $ublic DataSet get+atafromqueryres$onse)string s* & DataSet t+s; t+s ' cm.get+ataset).Select queryi+2queryans(er2learneri+ from queryres$onse (here learneri+''. 9 s 9 .'.2 .tJ.*; if )t+s.3ables<.tJ.=.;o(s.Count > ?* return t+s; else return null; , $ublic DataSet get+atafromquery:)string s* & DataSet +s; +s ' cm.get+ataset).select query+ata from queryAmanager (here learneri+''. 9 s 9 .'.2 .tL.*; +s.3ables<.tL.=.;o(s<?=<.query+ata.=.3oString)*; if )+s.3ables<.tL.=.;o(s.Count > ?* return +s; else return null; , $ublic DataSet get+atafromquerymanager)string s* & DataSet t+s; t+s ' cm.get+ataset).Select 8 from queryAmanager (here traineri+''.9s9.'.2 .tJ.*; if )t+s.3ables<.tJ.=.;o(s.Count > ?* return t+s;

;1 else return null; , $ublic voi+ u$+atestatus)string s:2long g* & cm.comman+.Comman+3e1t'.u$+ate queryAmanager set querystatus''.9s:9.' (here queryi+''.9g9.'.; cm.connection.#$en)*; cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; , $ublic voi+ u$+atequeryans(er)long s:2 string sJ2string sL* & cm.comman+.Comman+3e1t ' .insert into queryres$onse values)'. 9 s: 9 .'2'. 9 sJ 9 .'2'. 9 sL 9 .'*.; cm.connection.#$en)*; cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; cm.comman+.Comman+3e1t ' .+elete queryAmanager (here queryi+''.9s:9.'.; cm.connection.#$en)*; cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; , $ublic voi+ +eleterequestquery)long g* & cm.comman+.Comman+3e1t ' .+elete queryAmanager (here queryi+''. 9 g 9 .'.; cm.connection.#$en)*; cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; , $ublic voi+ +eleteres$onse)string g* & cm.comman+.Comman+3e1t ' .+elete queryAmanager (here learneri+''. 9 g 9 .'.; cm.connection.#$en)*; cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*; cm.comman+.Comman+3e1t ' .+elete queryres$onse (here learneri+''. 9 g 9 .'.; cm.connection.#$en)*; cm.comman+.@1ecuteDonKuery)*; cm.connection.Close)*;

;1 , ,

SCREE, S"OTS

;+ This is the homepage of the pro9ect where the learner and trainer can login "is userid and password4

-igure A !ome "age

This is the Registration -orm of the page where the user can create his userid and with The id the user can login

;,

-igure A #asic "rofile

This is the administration login from admin control panel where the admin can be login

;-

-igure A $dministrator

This is the Trainee Ad6ance profile page where the trainer can add e:tra profile detail

;.

-igure A Trainer $dvance "rofile

; 'his is the %ownload study 9aterial page where the learner download study material

-igure A $rchive %ollection


'his is the Archive information page where both learner and trainer can intered the archive Information in e*study(one website.

;5

-igure A $rchive Infoseeker

'his is the all Buery collection page where the all the query information can be read and $eply query answer.

;0

-igure A &uery !andling

;; 'his is the Suggestion page where the learner and trainer can send the suggestion to the admin.

-igure A Suggestion #o'

'his is learner advance profile where the can add extra information in profile.

111

-igure A (earner $dvance "rofile

'his is the enter query page learner and trainer can enter the query in this page.

111

-igure A )ive &uery * (earner+

'his is the query status page where trainer and admin view query and reply query answer.

11+

-igure A &uery !andling

'his is the enter query page learner and trainer can enter the query in this page.

11,

-igureA ,e-uest

'his is the %ownload study 9aterial page where the learner download study material Append type window.

11-

-igures A .ownload /aterial

11.

TEST#,'
Testing /ethodology
'his module is tested by the following testing methods &nit 'esting Integration 'esting

0nit Testing:
&nit testing is a procedure used to validate that individual units of source code are working properly. A unit is the smallest testable part of an application. In procedural programming a unit may be an individual program, function, procedure, etc., while in ob6ect*oriented programming, the smallest unit is a method, which may belong to a base>super class, abstract class or derived>child class. Ideally, each test case is independent from the othersL mock or fake ob6ects as well as test harnesses can be used to assist testing a module in isolation. &nit testing is typically done by software developers to ensure that the code they have written meets software requirements and behaves as the developer intended. &nit testing provides a sort of living documentation of the system. %evelopers looking to learn what functionality is provided by a unit and how to use it can look at the unit tests to gain a basic understanding of the unit A3I. &nit test cases embody characteristics that are critical to the success of the unit. 'hese characteristics can indicate appropriate>inappropriate use of a unit as well as negative behaviors that are to be trapped by the unit. A unit test case, in and of itself, documents these critical characteristics, although many software development environments do not rely solely upon code to document the product in development. 4n the other hand, ordinary narrative documentation is more susceptible to drifting from the implementation of the program and will thus become outdated !e.g. design changes, feature creep, relaxed practices to keep documents up to date".

Integration Testing:

11 It is sometimes called IO' i.e. Integration and testing, it is the phase of software testing in which individual software modules are combined and tested as a group. It follows unit testing and precedes system testing. Integration testing takes as its input modules that have been unit tested, groups them in larger aggregates, applies tests defined in an integration test plan to those aggregates, and delivers as its output the integrated system ready for system testing. 'he purpose of integration testing is to verify functional, performance and reliability requirements placed on ma6or design items. 'hese Pdesign itemsP, i.e. assemblages !or groups of units", are exercised through their interfaces using black box testing, success and error cases being simulated via appropriate parameter and data inputs. Simulated usage of shared data areas and inter*process communication is tested and individual subsystems are exercised through their input interface. 'est cases are constructed to test that all components within assemblages interact correctly, for example across procedure calls or process activations, and this is done after testing individual modules, i.e. unit testing.

115

TEST CASES A,D (' REPORT

110

'est Id 7 1111

'est date 7.>.>+111

3urpose 7 'esting of unit =/ogin9anager) responsible for /ogin of &ser -unction;Procedure #dentifier
3111 311+ 311, 311311. 311 3115 3110 311; 31+, 31+31+. 31+ 31+5 @alidate&ser @alidate&ser @alidate&ser @alidate&ser @alidate&ser @alidate&ser @alidate&ser @alidate&ser @alidate&ser %elete/oginInfo %elete/oginInfo %elete/oginInfo %elete/oginInfo %elete/oginInfo

Remar= Parameter &alues


&seridQRS3IR 3asswdQRlkoR &seridQRS3iR 3asswdQRlkoR &seridQRsaharaR 3asswdQRlkoR &seridQRR 3asswdQRR &seridQRR 3asswdQRlkoR &seridQRS3iR 3asswdQRR &seridQRspiR 3asswdQRlkoR &seridQRsaharaR 3asswdQRlk4R &seridQR1+,R 3asswdQRshrR &seridQRS3IR &seridQRs3iR &seridQRspiR &seridQRsaharaR &seridQRR

E:pected Result
=/) =/) =) =R =) =) =/) =) =) 'rue 'rue 'rue 8alse 8alse

Actual Result
=/) =/) =) =R =) =) =/) =) =) 'rue 'rue 'rue 8alse 8alse

)correct;bug*
?orrect ?orrect ?orrect ?orrect ?orrect ?orrect ?orrect ?orrect ?orrect ?orrect ?orrect ?orrect ?orrect ?orrect

11;

#7P/E7E,TAT#O,

111

#mplementation TechnologiesA
'he ob6ective of this pro6ect is to develop a web based portal which will provide common platform for learners and trainers to share information and knowledge in an effective and efficient manner. Fhen the user types in the &$/ of the website in the address field of the browser, a Feb Server is contacted to get the requested information. In the .#A' 8ramework, IIS !Internet Information Service" acts as the Feb Server. 'he sole task of a Feb Server is to accept incoming C''3 requests and to return the requested resource in an C''3 response. 'he first thing IIS does when a request comes in is to decide how to handle the request. Its decision is based upon the requested file2s extension. 8or example, if the requested file has the .asp extension, IIS will route the request to be handled by asp.dll. If it has the extension of .aspx, .ascx, etc, it will route the request to be handled by AS3.#A' Angine.

Relation between ##S and ASP4,ET


'he AS3.#A' Angine then gets the requested file, and if necessary contacts the database through A%4.#A' for the required file and then the information is sent back to the ?lient)s browser. Above figure shows how a client browser interacts with the Feb server and how the Feb server handles the request from client.

#mplementation requirementA
A registered domain name is required for our website. Feb space on webserver to host the website. So we need a webhosting service also. 'he hosting server must have .#A' framework and 9S SB/ SA$@A$ +11. installed.

(ploading of websiteA

111 'he website must be uploaded to a web server connected to the Internet in order to be accessed on the Feb. Fe use any 8'3 client program to connect to your host in order to upload !transfer" your web site !files and other documents" to the server. And we restore the backup of our database on the remote server.

-(T(RE SCOPE O- T"E PROJECT


'his pro6ect has great scope in future because in today)s world scenario people are moving towards internet for fulfilling there small needs. And we all know that Slearning is the processR which never ends. So this application gives users a very good opportunity to share information and knowledge in a systematic way by using this website. 'his pro6ect has been developed keeping in mind that user may use the system to a long period of time with equal efficiency. In ever changing world this might not be possible. :ut all these problems have been kept in mind and the system is developed accordingly.

-uture Scopes
'he points discussed above and the system formed assuming these to happen , future scope of the system is fair 7 'his pro6ect was prepared keeping in mind that this system will be used by many users and very effective communication system is used in this pro6ect. :ut is no of users will increased in future then with a very few enhancement it will be able to work properly. %atabase sql server +11. gives facility to add new fields , delete old fields , update , increase width and si(e . So whenever required these operations and changes can be easily applied. #ew contents and new learning area and experti(ation area can be added by applying little work or whenever it will be required in future. #ew features and functions can be added easily by understanding the system.

11+

"ow to use the softwareJ


'his software can be easily used by understanding its features and functions properly 'his software will be use by , very important entities they are 7

"ow /earners will use this software J


Registration A< /earners will use this software by opening this website . As soon as they will open the website they will find link in menubar #ew &ser which will act as a registration page for all users who want to use this website. /earner will fulfill all the details required in that page and will fill his category whether want to use this website as learner or trainer. /ogin A< After giving all the details he will submit that form. If he will got permission for authentication then he will login into the website and will be able to use all the features of the website. 'hen he will reach to his homepage where his basic profile details will be visible to him. Ad6ance Profile A< 'hen he will click on the advance profile where he will enter the learning area by choosing from the dropdownlist. 'his learning area will be any language sub6ects in which learner want the study material. Related trainer list A< list of related trainer will be shown to the learner. And learner will send request to a particular trainer to attach with him. 'i6e Buer! A< /earner will fire the query my requesting for the study material through give query linkbutton. 'hat query will be redirect to the attached trainer)s profile. Download 7aterial A< According to the learner query trainer will send the study material in learners profile from there he will download the material.

"ow Trainers will use this software J


Registration A< 'rainers will use this software by opening this website . As soon as they will open the website they will find link in menubar #ew &ser which will act as a registration page for all users who want to use this website. 'rainer will fulfill all the details required in that page and will fill his category whether want to use this website as learner or trainer.

11,

/ogin A< After giving all the details he will submit that form. If he will got permission for authentication then he will login into the website and will be able to use all the features of the website. 'hen he will reach to his homepage where his basic profile details will be visible to him. Ad6ance Profile A< 'hen he will click on the advance profile where he will enter the experti(ation area by choosing from the dropdownlist. 'his experti(ation area will be any language sub6ects in which trainer want to give the study material to the attached learner. Related learner list A< list of related learner will be shown to the trainer. And trainer will access the request of a particular learner . Answer Buer! A< trainer will answer the query by sending the study material from his archive which is like a library of trainer where he stores all the materials . 'hat material will be send to the learner profile from there he will download the material.

"ow Administrator will use this software J


Administrator have a full control over the website. Ce will be provided with his homepage from there he can view all the users whether he is learner or trainer and their queries and suggestions. And have power to delete the particular user. Ce will be provided various link buttons to view all records.

11-

RE-ERE,CES

T1U AS3.#A' and Feb %evelopment 4verview, http7>>msdn.microsoft.com>en*us>library>-w,ex;c+.aspx T+U 9icrosoft @isual Studio 4verview, http7>>en.wikipedia.org>wiki>9icrosoftN@isualNStudioE@isualNStudioN+11. T,U 9icrosoft SB/ Server +11., http7>>en.wikipedia.org>wiki>9icrosoftNSB/NServer T-U ,*'ier System Architecture, http7>>en.wikipedia.org>wiki>9ultitierNarchitecture T.U Introduction to A%4.#A', http7>>en.wikipedia.org>wiki>A%4.#A' T U /oad 'esting using Apache G9eter 'esting 'ool, http7>>6akarta.apache.org>6meter> T5U Introduction to .#A' Architecture, http7>>www.devtopics.com>what*is*net> T0U ?ommon /anguage Infrastructure %efinition, http7>>en.wikipedia.org>wiki>?ommonN/anguageNInfrastructure T;U AGAK < :ridging the 'hin*?lient 3erformance Hap, http7>>www.ironspeed.com>articles>a6ax*bridgingJ+1theJ+1thinclientJ J+1gap>article.aspx T11U ,*'ier Architecture http7>>www.c*sharpcorner.com> +1performance

Das könnte Ihnen auch gefallen