5 Project Report
-
Upload
aswin-thodiyil -
Category
Documents
-
view
217 -
download
0
Transcript of 5 Project Report
-
8/19/2019 5 Project Report
1/142
1. INTRODUCTION
Innovation is the base of development; so here introduce a new topic “ONLINE PROJEC
COR!IN"ION #$#E%&' his s(stem is openin) a new technolo)( to mana)e the student s‟
pro*ect' +ere all the communication between student,student and student,)uide is di)ital' #o direct
presence of )uide is not necessar(- )uide can )ive instruction to their students from the distant area'
Onl( an Internet connection is re.uired to do this tas/' he main problem is if the )uide is absent
then the students must not receive the necessar( )uidelines' In this s(stem )uide can monitor the
wor/ of each )roup' "pproval of topic- abstract submission is also di)itali0ed' #o )uide can eas( to
verif( and can send it to head of the department' +ead can put mar/ for each )roup' "lso provide
public and private messa)es between )roup members- so pro*ect wor/s can do on both wor/in) da(s
and holida(s' +ere have 1 t(pes of user, "dmin- +ead of the !epartment- 2uide and #tudent' "dminwill create account for ever( other users- he can remove or temporaril( bloc/ unwanted users- can do
correctin) errors' Each user can create their own profile details in their account' his s(stem will
store the name of all the pro*ects done b( the students- so this histor( helps for other students to
select the topic b( ne)lectin) alread( presented topics'
In the current s(stem submittin) all the records are submitted as hardcopies and
communication between students,students and students,)uide is direct' #o if the )uide is bus( or
absent will be a bi) trouble for students' "nd also students can t ma/e a )ood communications in‟
holida(s' opic approval and abstract submission need more time' his t(pe problems leads to the
creation of the s(stem,Online pro*ect mana)ement s(stem' E3pense will be lar)er when we submit
ever(thin) as hard copies- and direct communication is not possible on an( situation' #o proposed
s(stem will be a fast- efficient and reduce wor/load and mone( consumption of students and lectures'
4
-
8/19/2019 5 Project Report
2/142
1.1. OBJECTIVES
%a/e )roupin) and document submission of student s pro*ect throu)h online'‟
Provide di)ital communication between students and )uide
%a/e verification and approval of pro*ect wor/s throu)h online'
Provide previousl( done pro*ect topic names online for reference'
1.2. BRIEF DESCRIPTION
Proposed s(stem will allow di)ital communication between users' " master user
5"dministrator will control and maintain the overall s(stem' "dministrator will create account for ‟
+O!' +ead will select a lecture as pro*ect )uide from a list of lectures' 2uide will assi)n )roup
leaders and )roup members' %embers can submit topics and other document to the )uide' "lso
members can communicate each other'
In the e3istin) s(stem reports and other documents are submitted as hard copies' In this
s(stem students can submit topics and documents as soft copies' #o it can reduce time and e3pense'
2uide can help students to clear their doubts throu)h online messa)es' #tudents can communicate
with other students or )uide re)ardless of their location' #tudents can share ideas and documents'
he( can submit documents and reports to )uide' 2uide can correct the reports and upload it to +O!
for verification'
o use this pro*ect users need user id and password' his is done b( the administrator' "fter
the account creation ever( users can create a profile of them- includin) profile photo- address- mobile
number- de)ree branch etc' "t the time of lo)in s(stem identif( +ead- 2uide- #tudent and "dmin b(
their user id and password' Other features are profile modification- password chan)e password
recover( techni.ue etc'
In the mar/et customers not onl( value the features of the s(stem- the( also chec/ for a user friendl(
s(stem- because all the users ma( not /now the technical side of the site' #o user friendl( site will
more useful' +ere provide a simple and easil( understandable interface for this website- so an(one
who /nows En)lish can easil( handle the website'
6
-
8/19/2019 5 Project Report
3/142
2. SYSTEM ANALYSIS
2.1 REQUIREMENT SPECIFICATION
2.1.1 Existing Syst!
In e3istin) s(stem there is no di)ital control of student s pro*ects' "ll documents‟
related to pro*ect are submitted and verified as hard copies' #tudents need to meet their )uide to )et
advice or clear an( doubts- which is onl( possible in wor/in) hours of wor/in) da('
2.1.2 P"#$#s% Syst!
+ere we are introducin) a web site to coordinate pro*ect of an %C" student' 7sin)
this web site students can submit pro*ect topic and other documents related to pro*ect to their )uide'
#tudents can do online discussion with their )roup members- the( can clarif( doubts b( as/in) to
)uide throu)h our web site' 2uide and +O! can verif( documents submitted b( students and assi)n
mar/s to them' he( can view student discussions and respond to them'
2.2 FEASIBILITY STUDY
" feasibilit( stud( is a test of the s(stem proposal accordin) to its wor/abilit(- impact
on the or)ani0ation- abilit( to meet user and effective use of resources' he ob*ective of feasibilit(
stud( is not to solve the problem- but to ac.uire a sense of its scope' !urin) the stud(- the problem
definition is cr(stalli0ed and aspects of problem to be included in the s(stem are determined-
conse.uentl( costs and benefits are estimated with )reater detail at this sta)e' he result of feasibilit(
stud( is a s(stem formal proposal' his is simpl( a form of documentin) or detailin) the nature and
scope of proposed solution' he proposed summari0es what is /nown and what is )oin) to be done'
he /e( considerations involved in the feasibilit( anal(sis are technical- economic- and social'
+ere the stud( is done in three phases'
4' echnical feasibilit(
6' Economical feasibilit(
8' #ocial feasibilit(
-
8/19/2019 5 Project Report
4/142
8
-
8/19/2019 5 Project Report
5/142
2.2.1 T&'ni&() F(si*i)ity
he assessment of technical feasibilit( must be based on an outline desi)n of s(stem
re.uirements in terms of input- output- files- pro)rams and procedures' his can be .ualified in terms
of volumes of data- trends- fre.uenc( of updatin)- c(cles of activit( etc' in order to )ive anintroduction of technical s(stem- “ONLINE PROJEC COR!IN"ION #$#E%& satisfies
technical feasibilit( because it need onl( less re.uirements in additional hardware or s(stem
confi)uration for implementation and e3ecution'
2.2.2 En#!i&() F(si*i)ity
Justification of an( capital outla( is that it will reduce e3penditure or improve the .ualit( of
service or )oods which in turn ma( be e3pected to provide increased profits' he techni.ue of cost
benefit anal(sis is often used a basis for assessin) economic feasibilit(' #o the “ONLINE PROJEC
COR!IN"ION #$#E%& satisfies economical feasibilit('
2.2.+ S#&i() F(si*i)ity
oda( s world is much faster and ever(bod( needs to access the information at hi)her speed‟
at the lowest possible cost' 7sin) this “ONLINE PROJEC COR!IN"ION #$#E%& a student
can do his pro*ect more easil(' "nd a )uide and +O! can more effectivel( help students to do their
pro*ect'
-
8/19/2019 5 Project Report
6/142
1
-
8/19/2019 5 Project Report
7/142
+. SYSTEM SPECIFICATION
+.1 ,ARD-ARE CONFIURATION
9isual #tudio'NE Re.uirements
O$"(ting Syst!/
%icrosoft :indows P Professional
%icrosoft :indows P +ome Edition
%icrosoft :indows < Professional
%icrosoft :indows < 7ltimate
M!#"y/
%icrosoft :indows P Professional 4 )i)ab(tes=2>? of R"%
:indows < Professional 4 2> of R"%
:indows < 7ltimate 4 2> of R"%
,("% Dis&/
#tandard Edition @ 2> on installation drive- which include ABB %> on s(stem drive
Professional and Enterprise Editions @ 2> on installation drive- which include ABB
%> on s(stem drive
D"i0/
RO% or !9!,RO% drive
Dis$)(y/
#uper 92" =@BBDBB? or hi)her,resolution monitor with 6AD colors'
M#s/
%icrosoft %ouse or Compatible pointin) device
+.2 SOFT-ARE CONFIURATION
ools 9isual studio'NetOperatin) #(stem :indows
-
8/19/2019 5 Project Report
8/142
. SOFT-ARE DESCRIPTION
.1 FRONT END
Mi&"#s#3t .Nt/
%icrosoft 'NE is %icrosoft s new Internet strate)(' 'NE was ori)inall( called N2:#‟
=Ne3t 2eneration :indows #ervices?' 'NE is not a sin)le technolo)(- rather it is a set of
technolo)ies that wor/ to)ether seamlessl( solve (our business problems'
%icrosoft released the 'NE framewor/ in Februar( 6BB6- its bi))est initiative since the
launch of :indows in 4GG4'%icrosoft 'NE is a revolutionar( multi,lan)ua)e platform that /nits
various aspects of application development to)ether with the internet' "ll 'NE pro)rams are
compiled to an Intermediate Lan)ua)e =IL? rather than to native code- which can be understood b(
the computer processor' %#IL must be converted to CP7,specific code b( a Just in time =JI?
compiler' It helps the runtime and )arba)e collection /eep trac/ of memor( that will be released bac/
to the operatin) s(stem when it is no lon)er needed'
%icrosoft s 'net is the ne3t )eneration platform for buildin) web applications and web‟
services' It is a platform for %L web services areas of %icrosoft'
'NE is %icrosoft s new Internet and web strate)(‟
'NE is a new internet and web based
infrastructure 'NE delivers software as web services
'NE is a framewor/ for universal services 'NE
is a server centric computin) model
'NE will run in an( browser on an( platform 'NE
is based on the newest web standard
-
8/19/2019 5 Project Report
9/142
D
-
8/19/2019 5 Project Report
10/142
FEATURES
ASP.Nt F(t"s/
"#P'Net combines unprecedented developer productivit( with performance- reliabilit( and
deplo(ment' "#P'Net redesi)ns the whole process' It s still eas( to )rasp for new comers but it‟
provides man( wa(s of mana)in) pro*ects' he followin) are the features
Eas( Pro)rammin) %odel
"#P'NE ma/es buildin) real world :eb applications dramaticall( easier' "#P'NE server
controls enable an +%L,li/e st(le of declarative pro)rammin) that let (ou build )reat pa)es with
far less code than with classic "#P' !ispla(in) data- validatin) user input- and uploadin) files are all
ama0in)l( eas(' >est of all- "#P'NE pa)es wor/ in all browsers includin) Netscape- Opera- "OL-and Internet E3plorer
Fle3ible Lan)ua)e Options
"#P'NE lets (ou levera)e (our current pro)rammin) lan)ua)e s/ills' 7nli/e classic "#P-
supports onl( interpreted 9>#cript and Jscript- "#P'NE now supports more than 6A 'NE lan)ua)e
=built,in support for 9>'NE- CH- and Jscript'NE?- )ivin) (ou unprecedented fle3ibilit( in (our
choice of lan)ua)e'
2reat ool #upport
$ou can harness the full power of "#P'NE usin) an( te3t editor- even Notepad' >ut 9isual
#tudio 'NE adds the productivit( of 9isual >asic,st(le development to the :eb' Now (ou can
visuall( desi)n "#P'NE :eb Forms usin) familiar dra),drop,double,clic/ techni.ues- and en*o(
full,fled)ed code support includin) statement completion and color,codin)' 9#'NE also provides
inte)rated support for debu))in) and deplo(in) "#P'NE :eb applications' he Enterprise versions
of 9isual #tudio 'NE deliver life,c(cle features to help or)ani0ation plan- anal(0e- desi)n- build-
test- and coordinate teams that develop "#P'NE :eb applications' hese include 7%L class
modelin) =conceptual lo)ical- and ph(sical models?- testin) tools =functional- performance and
scalabilit(?- and enterprise framewor/s and templates- all available within the inte)rated 9isual#tudio 'NE environment'
Rich Class Framewor/
"pplication features that used to be hard to implement- or re.uired a 8rd
part( component-
can now be added in *ust a few lines of code usin) the 'NE Framewor/' he 'NE Framewor/
offers over 1ABB classes that encapsulate rich functionalit( li/e %L- data access- file upload-
re)ular e3pressions- ima)e )eneration- performance monitorin) and lo))in)- transactions- messa)e
.ueuin)- #%P mail- and much more' :ith Improved Performance and #calabilit( "#P'NE lets
(ou serve more users with the same hardware'
-
8/19/2019 5 Project Report
11/142
-
8/19/2019 5 Project Report
12/142
Compiled E3ecution
"#P'Net much faster than classic "#P while preservin) “*ust hit save& update model of
"#P' +owever- no e3plicit compile step is re.uired' "#P'Net will automaticall( detect an( chan)es-
d(namicall( compile the files if needed- and store the compiled results to reuse for subse.uentre.uests' !(namic compilation ensures that (our application is alwa(s up to date- and compiled
e3ecution ma/es it fast'
Rich Output Cachin)
"#P'Net output cachin) can dramaticall( improve the performance and scalabilit( of (our
application' :hen output cachin) is enabled on a pa)e- "#P'Net e3ecutes the pa)e *ust once- and
saves the result in memor( in addition to sendin) it to the user' :hen another user re.uests the same
pa)e- "#P'Net serves the cached result from memor( without resendin) the pa)e' Output cachin) is
confi)urable- and can be used to cache individual- re)ions or entire pa)e' Output cachin) isconfi)urable- and can be used to cache individual re)ions or an entire pa)e' Output cachin) can
dramaticall( improve the performance of data,driven pa)es b( eliminatin) the need to .uer( the
database on ever( re.uest'
:eb,Form #ession #tate
"#P'Net session state enables to share session data user,specific state values across all
machines in the web farm' It enables the users to hit different servers in the web farm over multiple
re.uests and still have full access to the session' "nd since business components created with the
'Net framewor/ are free,threaded- so the problem of thread affinit( can be avoided'
Eas( !eplo(ment
"#P'Net ta/es the pain out of deplo(in) server applications' It dramaticall( simplifies the
installation of the application' :ith "#P'Net- the developer can deplo( an entire application as easil(
as an +%L pa)e; *ust cop( it to the server' No need to run re)svr86 to re)ister an( components- and
confi)uration settin)s are stored in an %L file within the application'
!(namic update of runnin) application
"#P'Net lets the user to update compiled components without restartin) the web server' Inthe past with classic CO% components- the developer would have to restart the web server each time
an update is deplo(ed' :ith "#P'Net the developer can simpl( cop( the component over the e3istin)
!LL it will automaticall( detect the chan)e and start usin) the new code'
Eas( %i)ration Path
"#P'Net pa)es are processed b( the new "#P'Net en)ine' It enables the user to mi)rate
application b( application or sin)le pa)es
-
8/19/2019 5 Project Report
13/142
@
-
8/19/2019 5 Project Report
14/142
%L :eb #ervices
%L web services allow applications to communicate and share data over the internet-
re)ardless of operatin) s(stem or pro)rammin) lan)ua)e' "#P'Net ma/es e3posin) and callin) %L
web services simple' "n( class can be converted into an %L web services with *ust a few lines of code- and can be called b( an( #O"P client' Li/ewise- "#P'Net ma/es it incredibl( eas( to call
%L web services from the application'
%obile :eb !evice #upport
"#P'Net mobile controls let the developer to easil( tar)et cell phones- P!" s and other ‟
mobile web devices' he mobile controls will automaticall( )enerate :"P:%L- +%L or I %ode
as re.uired b( the re.uestin) device'
.2 BAC4 END
SQL5SERVER 2667 8B(&9 En%:/
he #KL,#erver 6BBA database from %icrosoft Corporation is a cooperative server
and open database used to support mission critical application' It is full( portable to more
than @B distinct hardware and operatin) s(stem platforms- room development s(stem-
mainframe and super computer' hese platforms are 7NI- 9%#- %9#- 9%- +P- %PEL-
O#6- N- :indows,GA and Novell Net:are' his portabilit( enables to select #KL #erver
database server platform that meet current and future needs without effectin) alread( e3istin)
applications' In practice it provides an asset of the more or the less fle3ible and sophisticated
tools for handlin) information' hese tools for handlin) information and define a database
.uer(- secure data from public access- communicate within a networ/ s e3ports and imports‟
data because it )ives so much control over the data'
C;.NET/
CH'NE is the ne3t )eneration of the visual basic lan)ua)e from %icrosoft' :ith CH
(ou can build 'NE applications .uic/l( and easil(' "pplications made with CH are built on
the services of the common lan)ua)e runtime and ta/e advanta)e of the 'NE framewor/'
CH has man( new and improved features such as inheritance- interfaces and
overloadin) that ma/e it a powerful ob*ect,oriented pro)rammin) lan)ua)e' Other new
features include free threadin) and structured E3ception handlin)H full( inte)rated the 'NE
framewor/ and the common lan)ua)e runtime- which to)ether provides lan)ua)e
interoperabilit(- )arba)e collection- enhanced securit(- and improved versionin) support CH
supports sin)le inheritance securit( and create
-
8/19/2019 5 Project Report
15/142
G
-
8/19/2019 5 Project Report
16/142
7. SYSTEM DESIN
7.1. MODULES
7.1.1. ADMINISTRATOR
"dministrator is a person responsible for carr(in) out the administration of a software or
#(stem' +ere administration is the process of controllin) and monitorin) the activities ta/es place
in the software' In this website "dministrator have overall control in all activities' "lso have
feature to monitor the activities of the user' In #oftware- sometimes need some modifications- so
here have options for maintenance' his website does not allow ever(one to re)ister -so here
administrator create account for all in the institution and Public messa)es can send to ever(one'
7.1.2. ,OD
+ead of the department select one lecture from the )roup of lectures in the institution as the
)uide of pro*ect' #o +O! can )ive instructions to )uide about the pro*ects which mean much
information li/e submission date- ma3imum number of members allowed for a )roup etc'
9erification of the pro*ect topics and pro*ect documentation sends b( )uide' "ssi)nin) mar/ is
also allowed for this user' his mar/ will be store in the database and also approved topics will be put in the memor( so students can easil( find the senior s topics'‟
7.1.+. UIDE
2uide directl( interact with the students- before startin) the pro*ect )uide create number of
)roups and add students to each )roup' "nd here have option to send public messa)es to students
so )eneral information can be easil( distributed' "lso provide communication with +O!' #tud(
material distribution is allowed for ever( student' he most important feature is )uide can help
students in distant area b( the help of internet- because it is a web based pro*ect' #ubmission date
will be announced' !ocument verification is also provided' %ar/s of each student will be store in
the database as )uide mar/' +ere there are two mar/s for each student- one is b( +O! and other is
b( )uide'
4B
-
8/19/2019 5 Project Report
17/142
7.1.. STUDENT
#tudents can communicate with the )roup members- it )ives a )ood opportunit( to share
ideas and clarif( the doubts' his is done b( )roup messa)in)' Each student will have their own
profiles' Photo upload option )ives a )ood loo/in) to the site and it creates a personal accountfeelin)' Ever( student can send documents of pro*ect to their )roup members and )uide' If an(one
have an( complaints there here have option to send complaints to the "dministrator'
44
-
8/19/2019 5 Project Report
18/142
7.2. DATA FLO- DIARAM
!ata flow dia)ram is one of the best wa(s of documentin) the entire functionalit( of the
s(stem- which will have some data flows in and have some processin) inside and then some dataflows out from the s(stem can be documented or represented effectivel( b( means of data flow
dia)rams' he data flow dia)rams are a dia)rammatical representation of the s(stem- which has
inputs- process and outputs' Once an( s(stem is represented usin) a data flow dia)ram- we can
identif( the followin) thin)s easil(
9arious entities interactin) with the s(stem are identified'
Flow of data from one entit( is identified'
Processes involved in between the interaction of two or more entities in the s(stem are clearl(
pointed out'
9arious data stores- which hold the data in between processes- are clearl( identified'
In the normal convention- lo)ical !F! can be completed usin) onl( 1 notations
/ R$"snts s#"& < %stin(ti#n %(t(
/ R$"snts %(t( 3)#=
: R$"snts ( $"#&ss t'(t t"(ns3#"!s
In!ing %(t( int# #tg#ing 3)#=.
: R$"snts %(t( st#"
-
8/19/2019 5 Project Report
19/142
46
-
8/19/2019 5 Project Report
20/142
T# nst"&t ( D(t( F)#= Di(g"(!> = s>
#.uares representin) e3ternal entities- which are sources or destinations of data'
Rounded rectan)les representin) processes- which ta/e data as input- dosomethin) to it- and output it'
"rrows representin) the data flows- which can either- be electronic data or ph(sical items'
Open,ended rectan)les representin) data stores- includin) electronic stores such asdatabases or %L files and ph(sical stores such as or filin) cabinets or stac/s of
paper'
P"#&ss
" process transforms incomin) data flow into out)oin) data flow'
D(t( St#"
!ata stores are repositories of data in the s(stem' he( are sometimes also referred to as files'
D(t(3)#=
!ata flows are pipelines throu)h which pac/ets of information flow' Label the arrows with
the name of the data that moves throu)h it'
Ext"n() Entity/
E3ternal entities are ob*ects outside the s(stem- with which the s(stem communicates'
E3ternal entities are sources and destinations of the s(stems inputs and outputs'
D(t( F)#= Di(g"(! L(y"s/
!raw data flow dia)rams in several nested la(ers' " sin)le process node on a hi)h level
dia)ram can be e3panded to show a more detailed data flow dia)ram' !raw the conte3t dia)ram first-
followed b( various la(ers of data flow dia)rams'
C#ntxt Di(g"(!s/
" conte3t dia)ram is a top level =also /nown as Level B? data flow dia)ram' It onl( contains
one process node =process B? that )enerali0es the function of the entire s(stem in relationship to
e3ternal entities'
he !F! at the simplest level is referred to as the 5CONE "N"L$#I# !I"2R"% '‟
hese are e3panded b( level- each e3plainin) its process in detail' Processes are numbered for eas(
identification and are normall( labeled in bloc/ letters' Each !ata flow is labeled for eas(
understandin)'
-
8/19/2019 5 Project Report
21/142
48
-
8/19/2019 5 Project Report
22/142
LE9EL B
Fi)ure 4
!escription 7ser lo)in in to the website b( chec/in) username and password in the lo)in table
41
-
8/19/2019 5 Project Report
23/142
"!%INI#R"OR LE9EL 4
Fi)ure 6
!escription "dmin lo)in to the website usin) username and password in the lo)in table' hen
admin can control profile of other users usin) the process user profile control- which is connected
with sub processes user profile creation- activation and deactivation- search' 7sin) those sub
processes admin can create account of other all users- admin can search other user usin) search
process to view their profile and admin can deactivate or activate their account temporaril('
Re)istration table contains information about the users' "dmin can send public messa)es to users
throu)h public messa)e process usin) messa)e table' "lso read complaints and re.uests posted b(
user throu)h complaints table' "dmin can chan)e his password usin) chan)e password process'
t 4A
-
8/19/2019 5 Project Report
24/142
+E"! OF !EP"R%EN LE9EL 4
Fi)ure 8
!escription Fi)ure 8 shows the level 4 dataflow dia)ram of +O!' +O! can lo)in to the website
usin) username and password )iven in the lo)in table' +O! can search a user in search process b(
accessin) LECMRE2 and #7!MRE2 tables' +O! can receive or send public messa)es usin)
public messa)e process' +O! can also verif( documents uploaded b( users b( accessin)
document table and can assi)n mar/s to students usin) the process assi)n mar/' '+O! can chan)e
his password usin) chan)e password process'
4D
-
8/19/2019 5 Project Report
25/142
27I!E LE9EL4
Fi)ure 1
4
-
8/19/2019 5 Project Report
26/142
!escription 2uide can lo)in to the website usin) username and password )iven in the lo)in table'
Fi)ure 1 shows the level 4 !F! of )uide' 2uide can search a user in search process b( accessin)
#7!MRE2 table- can receive or send public messa)es usin) public messa)e process' 2uide can
assi)n students into number )roups and verif( the topics uploaded b( them usin) )roup creation
and topic approval processes' 2uide can also verif( documents uploaded b( students b( accessin)
document table and can assi)n mar/s to students usin) assi)n mar/ process' 2uide can also
upload documents to website usin) document upload process' 2uide can chan)e his password
usin) chan)e password process'
4@
-
8/19/2019 5 Project Report
27/142
#7!EN LE9EL4
Fi)ure A
!escription #tudent can lo)in to the website usin) username and password )iven in the lo)in
table' Fi)ure A shows the level 4 !F! of student' #tudents can submit their pro*ect topic to )uide
and chec/ its status from topic submission and chec/ status processes' #tudent can receive or send
public messa)es usin) public messa)e process' #tudent can also upload documents to )uide
throu)h document upload process and download documents usin) document download process b(
accessin) documents table' #tudent can also view mar/s usin) view mar/s process from mar/stable' #tudent can chan)e his password usin) chan)e password process'
4G
-
8/19/2019 5 Project Report
28/142
7.+. DATABASE DESIN
" database table is desi)ned as a collection of rows and columns- which are in turn called
tuples and attributes tuples but a record in the table' " record is a collection of one or more
interrelated fields' he table is an ob*ect of relational database mana)ement s(stems- which is used to
store and retrieve data much easier and faster' he tables should be carefull( desi)ned because the
efficienc( of the software is based on the effective table desi)n' he or)ani0ation of data in a
database aims to achieve three ma*or ob*ectives data inte)ration- data inte)rit( and data
independence.
LOIN
PRI%"R$ E$ I!
P7RPO#E 7ni.uel( identif( user to lo)in' Primar( /e( id is an inte)er assi)ned
uni.uel( for each user'
-
8/19/2019 5 Project Report
29/142
6B
-
8/19/2019 5 Project Report
30/142
PROJECTS
PRI%"R$ E$ PROJEC I!
P7RPO#E #tores the name of the previousl( done pro*ects' It used to chec/ b( student
that whether that topic selected b( previous batch or not'
MESSAES
PRI%"R$ E$ 7#ERN"%E
P7RPO#E 7sed to store messa)es and its related information such as sender id-
destination id- )uideline for all students'
64
-
8/19/2019 5 Project Report
31/142
REISTRATION 8LECTURE:
PRI%"R$ E$ I!
P7RPO#E store details of lecture' :hen a new lecture is arrived his details will added to
the table'
66
-
8/19/2019 5 Project Report
32/142
REISTRATION 8STUDENT:
PRI%"R$ E$ I!
P7RPO#E 7sed to store details of student- :hen a new #tudent is arrived his details
will added to the table'
68
-
8/19/2019 5 Project Report
33/142
DOCUMENTS
PRI%"R$ E$ !OC'I!
P7RPO#E #tores information about the document uploadin)' #ender id- destination id-
)roup name etc'
61
-
8/19/2019 5 Project Report
34/142
MAR4S
PRI%"R$ E$ I!
P7RPO#E #tores mar/s assi)n b( the +O! and )uide of each students- students have option
to view it'
COMPLAINT
PRI%"R$ E$ 7#ERN"%E
P7RPO#E #tores complaints re)istered b( +O!- )uide or students'
6A
-
8/19/2019 5 Project Report
35/142
NOTIFICATIONS
PRI%"R$ E$ 27I!E7#ERN"%E
P7RPO#E 7sed to store the )uidelines send b( )uide and its related information such as
)uide username- destination- path- etc'
PROJECT SUBMISSION
PRI%"R$ E$ 2RO7P I!
P7RPO#E 7sed to store the topic submitted b( each )roup and its related information
such as )roupid- date- etc'
6D
-
8/19/2019 5 Project Report
36/142
7.. INPUT OUTPUT DESIN
LOIN
STUDENT REISTRATION BY ADMINISTRATOR
6
-
8/19/2019 5 Project Report
37/142
LECTURE REISTRATION BY ADMINISTRATOR
VIE- BY ADMIN
-
8/19/2019 5 Project Report
38/142
6@
-
8/19/2019 5 Project Report
39/142
VIE- BY ADMIN
ADMIN5USER ACTIVATION
-
8/19/2019 5 Project Report
40/142
6G
-
8/19/2019 5 Project Report
41/142
FORET PASS-ORD
ADMIN5PUBLIC MESSAE
COMPLAINT AND REQUEST
8B
-
8/19/2019 5 Project Report
42/142
,OD SEARC,
,OD5PUBLIC MESSAES
84
-
8/19/2019 5 Project Report
43/142
,OD5DOCUMENT VERIFICATION
,OD5ASSIN MAR4
UIDE5SEARC,
86
-
8/19/2019 5 Project Report
44/142
UIDE5DOCUMENT VERIFICATION
UIDE5DOCUMENT UPLOAD
UIDE ASSIN MAR4
88
-
8/19/2019 5 Project Report
45/142
UIDE5PUBLIC MESSAE
STUDENT5PUBLIC MESSAE
81
-
8/19/2019 5 Project Report
46/142
STUDENT5DOCUMENT UPLOAD
STUDENT5VIE- MAR4S
8A
-
8/19/2019 5 Project Report
47/142
?. SYSTEM CODIN
he pro*ect uses %icrosoft 9isual #tudio 'NE as front end and #KL server 6BBA as bac/
end' he s(stem has four modules "dmin- +O!- 2uide and 7ser'
he entire application is or)ani0ed b( different pac/a)e
4' #(stem
6' #(stem'Collections'2eneric
8' #(stem'Lin.
1' #(stem':eb
A' #(stem':eb'7I
D' #(stem':eb'7I':ebControls
-
8/19/2019 5 Project Report
48/142
8D
-
8/19/2019 5 Project Report
49/142
?.1. ADMINISTRATOR MODULE
?.1.1. ACTIVATION AND DEACTIVATION
"dministrator can deactivate the account of a user temporaril(' hen it can activate when
needed'
CODE FOR ACTIVATION AND DEACTIVATION
public partial class usercontrolMactivaionMdeactivation #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
if =QIsPost>ac/?
-
8/19/2019 5 Project Report
50/142
8
-
8/19/2019 5 Project Report
51/142
)rid=?;
public void )rid=?
!ataable dt new !ataable=?;
dt db'table=Sselect username-role-status from lo)inS?;2rid9iew4'!ata#ource dt;2rid9iew4'!ata>ind=?;
protected void 2rid9iew4M#electedInde3Chan)in)=ob*ect sender- 2rid9iew#electEvent"r)s e?
int dd e'New#electedInde3;strin) ii SS;
ii db'scalar=Sselect status from lo)in where usernameS T 2rid9iew4'RowsUddV'CellsU4V'e3tsdf TSS?;
if =ii S4S?
int d e'New#electedInde3;int i B;
i db'non.uer(=Supdate lo)in set statusB where usernameST 2rid9iew4'RowsUdV'CellsU4V'e3t T SS?;
else
int d e'New#electedInde3;int i B;
i db'non.uer(=Supdate lo)in set status4 where usernameS T2rid9iew4'RowsUdV'CellsU4V'e3t T SS?;
)rid=?;
-
8/19/2019 5 Project Report
52/142
8@
-
8/19/2019 5 Project Report
53/142
?.1.2. LECTURE REISTRATION
"dministrator can create new account for users' his pa)e is used for creatin) new lecture
accounts'
CODE FOR LECTURE REISTRATION
public partial class usercontrolMlectureMre)istration #(stem':eb'7I'7serControl
databasedb new database=?;strin) availabilit( SS;int id;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
int i;
i int'Parse=db'scalar=Sselect %"=id? from lecMre)S??;iTT;id i;
-
8/19/2019 5 Project Report
54/142
8G
-
8/19/2019 5 Project Report
55/142
Label4'e3t i'o#trin)=?;
protected void >utton8MClic/=ob*ect sender- Event"r)s e?
strin) i chec/availabilit(=?;
if =i S4S?
Label8'e3t S"vailableS;
else if =i S6S?
Label8'e3t SNot "vailableS;
else
Label8'e3t SEnter 7sernameS;
protected strin) chec/availabilit(=?
strin) result SS;
if =username'e3t Q SS?
availabilit( db'scalar=Sselect status from lo)in where usernameS T username'e3tT SS?;if =availabilit( SS?
result S4S;
else
result S6S;
else
result S8S;
return result;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
if =chec/availabilit(=? S4S?
int i B- * B;
i db'non.uer(=Sinsert into lecMre) values=S T id T S-S T username'e3t T S-S Tname'e3t T S-S T !rop!ownList4'#elected9alue T S-S T address'e3t T S-S T
mobile'e3t T S--ST!rop!ownList4'#elected9alueTS-S
1B
-
8/19/2019 5 Project Report
56/142
T!rop!ownList8'#elected9alueTS-S T .ualification'e3t T S-ST!rop!ownList6'#elected9alueT S-B-STemail'e3tTS?S?;if =i W B?
* db'non.uer(=Sinsert into lo)in values=-S T username'e3t T S-S T
confirmpass'e3t T S-S T !rop!ownList4'#elected9alue T S-4-B--?S?;if =i W B XX * W B?
Label6'e3t S#uccess'''S;
else
Label6'e3t SLo)in able Error'''S;
else
Label6'e3t SRe)istration Failed'''S;
else
Label6'e3t S7sername Error'''S;
14
-
8/19/2019 5 Project Report
57/142
?.1.+. STUDENT REISTRATION
"dministrator can create new account for users' his pa)e is used for creatin) new student
accounts'
CODE FOR STUDENT REISTRATION
public partial class usercontrolMstudentMre)istration #(stem':eb'7I'7serControl
databasedb new database=?;
int role 1-id; role to /now who this pa)e for students=so alwa(s 1? strin)availabilit( SS;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
int i;
iint'Parse=db'scalar=Sselect %"=id? from studMre)S??;iTT;id i;
-
8/19/2019 5 Project Report
58/142
16
-
8/19/2019 5 Project Report
59/142
Label4'e3t i'o#trin)=?;
protected void >utton6MClic/=ob*ect sender- Event"r)s e?
Response'Redirect=Sstudents,re)istration'asp3S?;
protected void >utton8MClic/=ob*ect sender- Event"r)s e?
strin) i chec/availabilit(=?;if =i S4S?
Label6'e3tS"vailableS;
else if=i S6S?
Label6'e3tSNot "vailableS;
else
Label6'e3tSEnter 7sernameS;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
if =chec/availabilit(=? S4S?
int i B- * B;i db'non.uer(=Sinsert into studMre) values=S T id T S-S T name'e3tT S-S T !rop!ownList4'#electedItem T S-S T!rop!ownList6'#elected9alue T S-S T>asic!atePic/er4'#elected!ate T S-S T )uardianname'e3t T S-S T!rop!ownList8'#electedItem T S-S T address'e3t T S-S Tmobile'e3t T S-S T landline'e3t T S-S T>asic!atePic/er6'#elected!ate T S-S T role TS--STusername'e3tTS-STemail'e3tTS?S?;
if =i W B?
* db'non.uer(=Sinsert into lo)in values=-S T username'e3t T
S-S T confirmpass'e3t T S-S T role T S-4-B--?S?;
if =i W B XX * W B?
Label8'e3t S#uccess'''S;
else
Label8'e3t SLo)in able Error'''S;
else
-
8/19/2019 5 Project Report
60/142
18
-
8/19/2019 5 Project Report
61/142
Label8'e3t SRe)istration Failed'''S;
else
Label8'e3t S7sername Error'''S;
protected strin) chec/availabilit(=?
strin) resultSS;
if =username'e3t Q SS?
availabilit( db'scalar=Sselect status from lo)in where usernameS Tusername'e3t T SS?;if =availabilit( SS?
result S4S;
else
result S6S;
else
result S8S;
return result;
11
-
8/19/2019 5 Project Report
62/142
?.1.. SEARC,
"dministrator can use search pa)e to )et details of other user' "dministrator can search for
both lecture and student details'
CODE FOR SEARC,
public partial class usercontrolMsearch #(stem':eb'7I'7serControl
databasedb new database=?;
!ataable dt new !ataable=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
-
8/19/2019 5 Project Report
63/142
1A
-
8/19/2019 5 Project Report
64/142
if =!rop!ownList4'#elected9alueS4S?
if=e3t>o34'e3tQSS?
dt db'table=Sselect name-department-desi)nation-mobile-address
from lecMre) where usernameS T e3t>o34'e3t T SS?;else
dt db'table=Sselect username-department-desi)nation-mobile-address
from lecMre) where nameS T e3t>o36'e3t T SS?;
else
if=e3t>o34'e3tQSS?
dt db'table=Sselect name-course-semester-mobile-address fromstudMre) where usernameS T e3t>o34'e3t T SS?;
else
dt db'table=Sselect username-course-semester-mobile-address fromstudMre) where nameS T e3t>o36'e3t T SS?;
)rid=?;
public void )rid=?
2rid9iew4'9isible true;2rid9iew4'!ata#ource dt;2rid9iew4'!ata>ind=?;
-
8/19/2019 5 Project Report
65/142
1D
-
8/19/2019 5 Project Report
66/142
?.1.7. READ COMPLAINTS
"dministrator receives complaints and re.uests from other users' !etails about this
complaints and re.uests can be seen from this pa)e'
-
8/19/2019 5 Project Report
67/142
1
-
8/19/2019 5 Project Report
68/142
?.1.?. PUBLIC MESSAE
"dministrator can send public messa)es to an( other users' Public messa)es can also send to
studentslectures onl('
CODE FOR PUBLIC MESSAE
public partial class usercontrolMpublicMmessa)e #(stem':eb'7I'7serControl
databasedb new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
strin) purpose Re.uest'Kuer(#trin)USpurposeSV; if
=#essionUSmsSV'o#trin)=? S6S?
if =purpose S4S?
!rop!ownList4'#elected9alue S4S;
-
8/19/2019 5 Project Report
69/142
1@
-
8/19/2019 5 Project Report
70/142
Label6'e3t S%essa)e For "LLS;
else if =purpose S6S?
!rop!ownList4'#elected9alue S6S;
Label6'e3t S%essa)e For LecturesS;
!rop!ownList4'9isible false;
else if =#essionUSmsSV'o#trin)=? S8S?
!rop!ownList4'#elected9alue S8S;
!rop!ownList4'9isible false;
Label6'e3t S%essa)e For #tudentsS;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
strin) 3 db'scalar=Sselect role from lo)in whereusernameST#essionUSusernameSVTSS?;int i B;
i db'non.uer(=Sinsert into messa)es values=ST#essionUSusernameSV'o#trin)=?
TS-STe3t>o34'e3tTS-ST!rop!ownList
4'#elected9alueTS-ST!ateime'NowTS-STint'Parse=3?TS?S?;
if =i W B?Label4'e3t S#uccess'''S;
elseLabel4'e3t Sfailed'''S;
1G
-
8/19/2019 5 Project Report
71/142
?.2. ,OD MODULE
?.2.1. SEARC,
7sin) this pa)e +O! can search for the details of a lecture or student'
CODE FOR SEARC,
public partial class usercontrolMhodMsearch #(stem':eb'7I'7serControl
databasedb new database=?;!ataable dt new !ataable=?;strin) value SS;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
value Re.uest'Kuer(#trin)USvalueSV;
AB
-
8/19/2019 5 Project Report
72/142
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
if =value S4S?
if =e3t>o34'e3t Q SS?
dt db'table=Sselect name-department-desi)nation-mobile-addressfrom lecMre) where usernameS T e3t>o34'e3t T SS?;
else
dt db'table=Sselect username-department-desi)nation-mobile-addressfrom lecMre) where nameS T e3t>o36'e3t T SS?;
else
if =e3t>o34'e3t Q SS?
dt db'table=Sselect name-course-semester-mobile-address from studMre)where usernameS T e3t>o34'e3t T SS?;
elsedt db'table=Sselect username-course-semester-mobile-address from studMre)where nameS T e3t>o36'e3t T SS?;
)rid=?;
public void )rid=?
2rid9iew4'9isible true;2rid9iew4'!ata#ource dt;2rid9iew4'!ata>ind=?;
A4
-
8/19/2019 5 Project Report
73/142
?.2.2. PUBLIC MESSAE
From this pa)e +O! can send public messa)es to other users but not to admin'
CODE FOR PUBLIC MESSAE
public partial class usercontrolMpublicMmessa)e #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
strin) purpose Re.uest'Kuer(#trin)USpurposeSV; if
=#essionUSmsSV'o#trin)=? S6S?
if =purpose S4S?
!rop!ownList4'#elected9alue S4S;Label6'e3t S%essa)e For "LLS;
else if =purpose S6S?
A6
-
8/19/2019 5 Project Report
74/142
!rop!ownList4'#elected9alue S6S;
Label6'e3t S%essa)e For LecturesS;
!rop!ownList4'9isible false;
else if =#essionUSmsSV'o#trin)=? S8S?
!rop!ownList4'#elected9alue S8S;
!rop!ownList4'9isible false;
Label6'e3t S%essa)e For #tudentsS;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
strin) 3 db'scalar=Sselect role from lo)in where usernameST#essionUSusernameSVTSS?; int i B;i db'non.uer(=Sinsert into messa)es values=ST#essionUSusernameSV'o#trin)=?
TS-STe3t>o34'e3tTS-ST!rop!ownList4'#elect
ed9alueTS-ST!ateime'NowTS-STint'Parse=3?TS?S?;
if =i W B?Label4'e3t S#uccess'''S;
else
Label4'e3t Sfailed'''S;
-
8/19/2019 5 Project Report
75/142
A8
-
8/19/2019 5 Project Report
76/142
?.2.+. ROUP MESSAE
7sin) this pa)e +O! can send messa)es to ever( )roup separatel(' +O! can view each)roups chat and answer to their doubts when needed'
CODE FOR ROUP MESSAE
public partial class usercontrolM)roupMmessa)es #(stem':eb'7I'7serControl
database db new database=?;strin) uname-role-)idSS;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
Label4'9isible false;
uname #essionUSusernameSV'o#trin)=?;
role #essionUSmsSV'o#trin)=?;if =#essionUSmsSV'o#trin)=? S1S?
A1
-
8/19/2019 5 Project Report
77/142
!rop!ownList4'9isible false;
)id db'scalar=Sselect )roupid from studMre) where usernameS T uname T SS?'o#trin)=?;if =int'Parse=)id? B?
List>o34'Enabled false;e3t>o34'Enabledfalse;Label4'9isible true;
Label4'e3t S$ou have no %embership in an( 2roup'''S;return;
List>o34'Enabledtrue;
e3t>o34'Enabledtrue;
else
!rop!ownList4'9isible true;
)id !rop!ownList4'#elected9alue;
)rid=?;
protected void e3t>o34Me3tChan)ed=ob*ect sender- Event"r)s e?
int t B;
t db'non.uer(=Sinsert into messa)es
values=STunameTS-STe3t>o34'e3tTS-ST)idTS-ST#(stem'!ateime'NowTS-STroleTS?S?;
)rid=?;e3t>o34'e3t SS;
protected void )rid=?
List>o34'Items'Clear=?;
!ataable dt new !ataable=?;
if =#essionUSmsSV'o#trin)=? S1S?
dt db'table=Sselect username-messa)e from messa)es where destinationS T )id T SOR!ER >$ timeS?;
else
dt db'table=Sselect username-messa)e from messa)es where destinationST !rop!ownList4'#elected9alue T S OR!ER >$ timeS?;
int n dt'Rows'Count;
for =int i B; i Y n; iTT?
List>o34'Items'"dd=dt'RowsUiVUBV'o#trin)=? T SS T dt'RowsUiVU4V'o#trin)=??;List>o34'#electedInde3 List>o34'Items'Count , 4;
-
8/19/2019 5 Project Report
78/142
AA
-
8/19/2019 5 Project Report
79/142
protected void !rop!ownList4M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
)rid=?;
protected void imer4Mic/=ob*ect sender-Event"r)s e?
)rid=?;
AD
-
8/19/2019 5 Project Report
80/142
?.2.. DOCUMENT VERIFICATION
From this pa)e +O! can verif( the documents uploaded b( students' !ocuments can either
view or download' "fter verification +O! can accept or re*ect the document'
CODE FOR DOCUMENT VERIFICATION
public partial class usercontrolMreportMverification #(stem':eb'7I'7serControl
database db new database=?;strin) )roupno SS;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
)roupno db'scalar=Sselect )roupno from lecMre) whereusernameST#essionUSusernameSV'o#trin)=?TSS?;
for =int i 4; i Y int'Parse=)roupno?; iTT?
!rop!ownList4'Items'"dd=S2roup S T i'o#trin)=??;
-
8/19/2019 5 Project Report
81/142
A
-
8/19/2019 5 Project Report
82/142
!rop!ownList4'ItemsUi,4V'9alue =i 4B?'o#trin)=?;
protected void 2rid9iew4M#electedInde3Chan)in)=ob*ect sender- 2rid9iew#electEvent"r)s e?
protected void 2rid9iew4MRowCommand=ob*ect sender- 2rid9iewCommandEvent"r)s e?
strin) path;
int inde3 Convert'oInt86=e'Command"r)ument?;
2rid9iewRow selectedRow 2rid9iew4'RowsUinde3V;
ableCell filename selectedRow'CellsU8V;
strin) fname filename'e3t; path db'scalar=Sselect path from documents where docnameS T fname T SS?;
strin) t(p db'scalar=Sselect e3tension from documents where docnameS T fname T SS?;strin) r e'CommandName;if =r SdownloadS?
Response'Content(pe t(p;
Response'"dd+eader=SContent,!ispositionS- Sattachment;filenameZSS T fname T SZSS?;Response'ransmitFile=path?;Response'End=?;
else if=rS"cceptedS?
int i B;i db'non.uer(=Supdate documents set )valuation4 where docnameSTfnameTSS?;
else
strin) FilePath #erver'%apPath=S[S? T \SdocumentsS T fname T t(p;:ebClient 7ser new :ebClient=?;>(teUV File>uffer 7ser'!ownload!ata=FilePath?; if
=File>uffer Q null?
Response'Content(pe SapplicationpdfS;Response'"dd+eader=Scontent,len)thS- File>uffer'Len)th'o#trin)=??;Response'>inar(:rite=File>uffer?;
A@
-
8/19/2019 5 Project Report
83/142
?.2.7. ASSIN MAR4
From this pa)e +O! can assi)n mar/ to ever( student semester vise' For each phase of
evaluation'
CODE FOR ASSIN MAR4
public partial class usercontrolMviewmar/s #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void !rop!ownList4M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
!rop!ownList6'Items'Clear=?;
strin)UV snew strin)UDBV;
!ataable dt new !ataable=?;
dt db'table=Sselect username from studMre) wheresemesterST!rop!ownList4'#elected9alueTSS?;for =int ( B;(Ydt'Rows'Count; (TT?
-
8/19/2019 5 Project Report
84/142
AG
-
8/19/2019 5 Project Report
85/142
!rop!ownList6'Items'"dd=dt'RowsU(VUBV'o#trin)=??;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
int i B;
strin) role db'scalar=Sselect role from lo)in where usernameST#essionUSusernameSVTSS?;if =role S6S?
int * B;
if=!rop!ownList8'#electedItem'o#trin)=?S4S?
* db'non.uer(=Supdate mar/ set )p4STe3t>o34'e3tTS whereusernameST!rop!ownList6'#electedItemTSS?;
else if=!rop!ownList8'#electedItem'o#trin)=?S6S? * db'non.uer(=Supdate mar/ set )p6STe3t>o34'e3tTS whereusernameST!rop!ownList6'#electedItemTSS?;else if=!rop!ownList8'#electedItem'o#trin)=?S8S?
* db'non.uer(=Supdate mar/ set )p8S T e3t>o34'e3t T S where usernameS T!rop!ownList6'#electedItem T SS?;if =* W B?
Label4'e3t S#uccess'''S;else
Label4'e3t SFailed'''S;
else
int * B;
if =!rop!ownList8'#electedItem'o#trin)=? S4S?
* db'non.uer(=Supdate mar/ set hp4S T e3t>o34'e3t T S where usernameS T!rop!ownList6'#electedItem T SS?;
else if =!rop!ownList8'#electedItem'o#trin)=? S6S?
* db'non.uer(=Supdate mar/ set hp6S T e3t>o34'e3t T S where usernameS T!rop!ownList6'#electedItem T SS?;
else if =!rop!ownList8'#electedItem'o#trin)=? S8S?
* db'non.uer(=Supdate mar/ set hp8S T e3t>o34'e3t T S where usernameS T
!rop!ownList6'#electedItem T SS?;if =* W B?
Label4'e3t S#uccess'''S;else
Label4'e3t SFailed'''S;
protected void !rop!ownList8M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
int sum B;!ataable dt new !ataable=?;
-
8/19/2019 5 Project Report
86/142
DB
-
8/19/2019 5 Project Report
87/142
dt db'table=Sselect from mar/ where usernameS T !rop!ownList6'#elected9alue T SS?;for =int ( 6; ( Y @; (TT?
if =dt'RowsUBVU(V'o#trin)=? Q SS?
sum T int'Parse=dt'RowsUBVU(V'o#trin)=??;
int r B;
r db'non.uer(=Supdate mar/ set totalS T sum T S where usernameST !rop!ownList6'#electedItem T SS?;if =r W B?
Label4'e3t S#uccess'''S;
else
Label4'e3t SFailed'''S;
-
8/19/2019 5 Project Report
88/142
D4
-
8/19/2019 5 Project Report
89/142
?.2.?. VIE- MAR4
+ere +O! can view mar/ )iven to all students in a sin)le table'
D6
-
8/19/2019 5 Project Report
90/142
?.+. UIDE MODULE
?.+.1. ROUP CREATION
From this pa)e )uide can create pro*ect )roup and assi)n students to each )roup'
CODE FOR ROUP CREATION
public partial class usercontrolM)roupMcreation #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
strin) )rpno db'scalar=Sselect )roupno from lecMre) whereusernameST#essionUSusernameSV'o#trin)=?TSS?;
if =)rpno SBS?
e3t>o34'Enabled true;
>utton6'Enabled true;
D8
-
8/19/2019 5 Project Report
91/142
else
e3t>o34'Enabled false;
>utton6'Enabled false;
for =int i 4; i Y int'Parse=)rpno?; iTT?
!rop!ownList4'Items'"dd=i'o#trin)=??;
protected void e3t>o34Me3tChan)ed=ob*ect sender- Event"r)s e?
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
int 0;
for =int i B; i Y List>o34'Items'Count,4; iTT?
if =List>o34'ItemsUiV'#elected?
0 B;
int )i =int'Parse=!rop!ownList4'#electedItem'o#trin)=???4B; 0
db'non.uer(=Supdate studMre) set )roupidST)iTS where
usernameSTList>o34'ItemsUiVTSS?;
Response'Redirect=S)roup,creation'asp3S?;
protected void >utton6MClic/=ob*ect sender- Event"r)s e?
int 3 int'Parse=e3t>o34'e3t?;
int * B;
* db'non.uer(=Supdate lecMre) set )roupnoST3TS whereusernameST#essionUSusernameSV'o#trin)=?TSS?;
for =int i 4; i Y 3; iTT?
!rop!ownList4'Items'"dd=i'o#trin)=??;
e3t>o34'Enabled false;
D1
-
8/19/2019 5 Project Report
92/142
?.+.2. TOPIC APPROVAL
+ere )uide can view topics uploaded b( each )roup' 2uide can accept or re*ect topics from
here'
CO!E FOR OPIC "PPRO9"L
public partial class usercontrolMtopicMvarification #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void 2rid9iew4MRowCommand=ob*ect sender- 2rid9iewCommandEvent"r)s e?
int inde3 Convert'oInt86=e'Command"r)ument?;2rid9iewRow selectedRow 2rid9iew4'RowsUinde3V;
ableCell filename selectedRow'CellsU4V;
-
8/19/2019 5 Project Report
93/142
DA
-
8/19/2019 5 Project Report
94/142
strin) fname filename'e3t;
strin) r e'CommandName; if
=r S"pproveS?
int i B;
i db'non.uer(=Supdate pro*ectMsubmission set status"ccepted wheretopicSTfnameTSS?;
else
int i B;
i db'non.uer(=Supdate pro*ectMsubmission set statusRe*ected where topicS T fname TSS?;
DD
-
8/19/2019 5 Project Report
95/142
?.+.+. PUBLIC MESSAE
2uide can send public messa)e to students from this pa)e'
CODE FOR PUBLIC MESSAE
public partial class usercontrolMpublicMmessa)e #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
strin) purpose Re.uest'Kuer(#trin)USpurposeSV; if
=#essionUSmsSV'o#trin)=? S6S?
if =purpose S4S?
!rop!ownList4'#elected9alue S4S;
Label6'e3t S%essa)e For "LLS;
D
-
8/19/2019 5 Project Report
96/142
else if =purpose S6S?
!rop!ownList4'#elected9alue S6S;
Label6'e3t S%essa)e For LecturesS;
!rop!ownList4'9isible false;
else if =#essionUSmsSV'o#trin)=? S8S?
!rop!ownList4'#elected9alue S8S;
!rop!ownList4'9isible false;
Label6'e3t S%essa)e For #tudentsS;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
strin) 3 db'scalar=Sselect role from lo)in where usernameST#essionUSusernameSVTSS?; int i B;i db'non.uer(=Sinsert into messa)es values=ST#essionUSusernameSV'o#trin)=?
TS-STe3t>o34'e3tTS-ST!rop!ownList4'#elect
ed9alueTS-ST!ateime'NowTS-STint'Parse=3?TS?S?;
if =i W B?Label4'e3t S#uccess'''S;
else
Label4'e3t Sfailed'''S;
-
8/19/2019 5 Project Report
97/142
D@
-
8/19/2019 5 Project Report
98/142
?.+.. ROUP MESSAE
7sin) this pa)e )uide can send messa)es to ever( )roup separatel(' +O! can view each)roups chat and answer to their doubts when needed'
CODE FOR ROUP MESSAE
public partial class usercontrolM)roupMmessa)es #(stem':eb'7I'7serControl
database db new database=?;strin) uname-role-)idSS;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
Label4'9isible false;
uname #essionUSusernameSV'o#trin)=?;
role #essionUSmsSV'o#trin)=?;
if =#essionUSmsSV'o#trin)=? S1S?
!rop!ownList4'9isible false;
DG
-
8/19/2019 5 Project Report
99/142
)id db'scalar=Sselect )roupid from studMre) where usernameS T uname T SS?'o#trin)=?;if =int'Parse=)id? B?
List>o34'Enabled false;
e3t>o34'Enabledfalse;Label4'9isible true;
Label4'e3t S$ou have no %embership in an( 2roup'''S;return;
List>o34'Enabledtrue;
e3t>o34'Enabledtrue;
else
!rop!ownList4'9isible true;
)id !rop!ownList4'#elected9alue;
)rid=?;
protected void e3t>o34Me3tChan)ed=ob*ect sender- Event"r)s e?
int t B;
t db'non.uer(=Sinsert into messa)es
values=STunameTS-STe3t>o34'e3tTS-ST)idTS-ST#(stem'!ateime'NowTS-STroleTS?S?
;
)rid=?;e3t>o34'e3t SS;
protected void )rid=?
List>o34'Items'Clear=?;
!ataable dt new !ataable=?;
if =#essionUSmsSV'o#trin)=? S1S?
dt db'table=Sselect username-messa)e from messa)es where destinationS T )id T
S OR!ER >$ timeS?;
else
dt db'table=Sselect username-messa)e from messa)es where destinationST !rop!ownList4'#elected9alue T S OR!ER >$ timeS?;
int n dt'Rows'Count;
for =int i B; i Y n; iTT?
List>o34'Items'"dd=dt'RowsUiVUBV'o#trin)=? T SS T dt'RowsUiVU4V'o#trin)=??;List>o34'#electedInde3 List>o34'Items'Count , 4;
-
8/19/2019 5 Project Report
100/142
-
8/19/2019 5 Project Report
101/142
protected void !rop!ownList4M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
)rid=?;
protected void imer4Mic/=ob*ect sender-Event"r)s e?
)rid=?;
?.+.7. DOCUMENT VERIFICATION
From this pa)e )uide can verif( the documents uploaded b( students' !ocuments can either
view or download' "fter verification )uide can accept or re*ect the document'
-
8/19/2019 5 Project Report
102/142
-
8/19/2019 5 Project Report
103/142
CODE FOR DOCUMENT VERIFICATION
public partial class usercontrolMreportMverification #(stem':eb'7I'7serControl
database db new database=?;
strin) )roupno SS; protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
)roupno db'scalar=Sselect )roupno from lecMre) whereusernameST#essionUSusernameSV'o#trin)=?TSS?;
for =int i 4; i Y int'Parse=)roupno?; iTT?
!rop!ownList4'Items'"dd=S2roup S T i'o#trin)=??;
!rop!ownList4'ItemsUi,4V'9alue =i 4B?'o#trin)=?;
protected void 2rid9iew4M#electedInde3Chan)in)=ob*ect sender- 2rid9iew#electEvent"r)s e?
protected void 2rid9iew4MRowCommand=ob*ect sender- 2rid9iewCommandEvent"r)s e?
strin) path;
int inde3 Convert'oInt86=e'Command"r)ument?;
2rid9iewRow selectedRow 2rid9iew4'RowsUinde3V;
ableCell filename selectedRow'CellsU8V;
strin) fname filename'e3t; path db'scalar=Sselect path from documents where docnameS T fname T SS?;
strin) t(p db'scalar=Sselect e3tension from documents where docnameS T fname T SS?;strin) r e'CommandName;if =r SdownloadS?
Response'Content(pe t(p;
Response'"dd+eader=SContent,!ispositionS- Sattachment;filenameZSS T fname T SZSS?;Response'ransmitFile=path?;Response'End=?;
else if=rS"cceptedS?
int i B;
i db'non.uer(=Supdate documents set )valuation4 where docnameSTfnameTSS?;
else
strin) FilePath #erver'%apPath=S[S? T \SdocumentsS T fname T t(p;:ebClient 7ser new :ebClient=?;>(teUV File>uffer 7ser'!ownload!ata=FilePath?; if
=File>uffer Q null?
-
8/19/2019 5 Project Report
104/142
Response'Content(pe SapplicationpdfS;Response'"dd+eader=Scontent,len)thS- File>uffer'Len)th'o#trin)=??;Response'>inar(:rite=File>uffer?;
protected void !rop!ownList4M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
?.+.?. STUDY MATERIAL UPLOAD
2uide can upload stud( materials to students throu)h this pa)e' >( choosin) the correct
document'
-
8/19/2019 5 Project Report
105/142
-
8/19/2019 5 Project Report
106/142
CODE FOR STUDY MATERIAL UPLOAD
public partial class usercontrolMstud(MmaterialMdownload #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void 2rid9iew4M#electedInde3Chan)in)=ob*ect sender- 2rid9iew#electEvent"r)s e?
protected void 2rid9iew4M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
protected void 2rid9iew4MRowCommand4=ob*ect sender- 2rid9iewCommandEvent"r)s e?
strin) path;
int inde3 Convert'oInt86=e'Command"r)ument?;
2rid9iewRow selectedRow 2rid9iew4'RowsUinde3V;
ableCell filename selectedRow'CellsUBV;
strin) fname filename'e3t; path db'scalar=Sselect path from notification where docnameS T fname T SS?;
strin) t(p db'scalar=Sselect e3tension from notification where docnameS T fname T
SS?; strin) r e'CommandName;if =r SdownloadS?
Response'Content(pe t(p;
Response'"dd+eader=SContent,!ispositionS- Sattachment;filenameZSS T fname T SZSS?;Response'ransmitFile=path?;Response'End=?;
else
strin) FilePath #erver'%apPath=S[S? T \SnotificationS T fname T t(p;:ebClient 7ser new :ebClient=?;
>(teUV File>uffer 7ser'!ownload!ata=FilePath?; if
=File>uffer Q null?
Response'Content(pe SapplicationpdfS;Response'"dd+eader=Scontent,len)thS- File>uffer'Len)th'o#trin)=??;Response'>inar(:rite=File>uffer?;
-
8/19/2019 5 Project Report
107/142
?.+.@. ASSIN MAR4
From this pa)e )uide can assi)n mar/ to ever( student semester vise' For each phase of
evaluation'
CODE FOR ASSIN MAR4
public partial class usercontrolMviewmar/s #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void !rop!ownList4M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
!rop!ownList6'Items'Clear=?;
strin)UV snew strin)UDBV;
!ataable dt new !ataable=?;
dt db'table=Sselect username from studMre) wheresemesterST!rop!ownList4'#elected9alueTSS?;for =int ( B;(Ydt'Rows'Count; (TT?
-
8/19/2019 5 Project Report
108/142
-
8/19/2019 5 Project Report
109/142
!rop!ownList6'Items'"dd=dt'RowsU(VUBV'o#trin)=??;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
int i B;
strin) role db'scalar=Sselect role from lo)in where usernameST#essionUSusernameSVTSS?;if =role S6S?
int * B;
if=!rop!ownList8'#electedItem'o#trin)=?S4S?
* db'non.uer(=Supdate mar/ set )p4STe3t>o34'e3tTS whereusernameST!rop!ownList6'#electedItemTSS?;
else if=!rop!ownList8'#electedItem'o#trin)=?S6S? * db'non.uer(=Supdate mar/ set )p6STe3t>o34'e3tTS whereusernameST!rop!ownList6'#electedItemTSS?;
else if=!rop!ownList8'#electedItem'o#trin)=?S8S?
* db'non.uer(=Supdate mar/ set )p8S T e3t>o34'e3t T S where usernameS T!rop!ownList6'#electedItem T SS?;
if =* W B?
Label4'e3t S#uccess'''S;else
Label4'e3t SFailed'''S;
else
int * B;
if =!rop!ownList8'#electedItem'o#trin)=? S4S?
* db'non.uer(=Supdate mar/ set hp4S T e3t>o34'e3t T S where usernameS T!rop!ownList6'#electedItem T SS?;
else if =!rop!ownList8'#electedItem'o#trin)=? S6S?
* db'non.uer(=Supdate mar/ set hp6S T e3t>o34'e3t T S where usernameS T!rop!ownList6'#electedItem T SS?;
else if =!rop!ownList8'#electedItem'o#trin)=? S8S?
* db'non.uer(=Supdate mar/ set hp8S T e3t>o34'e3t T S where usernameS T
!rop!ownList6'#electedItem T SS?;if =* W B?
Label4'e3t S#uccess'''S;
else
Label4'e3t SFailed'''S;
protected void !rop!ownList8M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
int sum B;!ataable dt new !ataable=?;
-
8/19/2019 5 Project Report
110/142
-
8/19/2019 5 Project Report
111/142
dt db'table=Sselect from mar/ where usernameS T !rop!ownList6'#elected9alue T SS?;for =int ( 6; ( Y @; (TT?
if =dt'RowsUBVU(V'o#trin)=? Q SS?
sum T int'Parse=dt'RowsUBVU(V'o#trin)=??;
int r B;
r db'non.uer(=Supdate mar/ set totalS T sum T S where usernameST !rop!ownList6'#electedItem T SS?;if =r W B?
Label4'e3t S#uccess'''S;else
Label4'e3t SFailed'''S;
-
8/19/2019 5 Project Report
112/142
?.+.. VIE- MAR4
+ere )uide can view mar/ )iven to all students in a sin)le table'
-
8/19/2019 5 Project Report
113/142
?.. STUDENT MODULE
?..1. SUBMIT TOPIC
From this pa)e students can submit pro*ect topic for their )roup to )uide' #tudents can send atopic name and a short abstract about the topic'
CODE FOR SUBMIT TOPIC
public partial class usercontrolMsubmitMtopic #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
-
8/19/2019 5 Project Report
114/142
-
8/19/2019 5 Project Report
115/142
strin) )id db'scalar=Sselect )roupid from studMre) whereusernameST#essionUSusernameSV'o#trin)=?TSS?;int i B;
i db'non.uer(=Sinsert into pro*ectMsubmission values=S T )id T S-S T e3t>o34'e3t T S-S
T e3t>o36'e3t T S-S T !ateime'Now T S-:aitin)?S?;if =i W B?
Label4'e3t S#uccess'''S;
else
Label4'e3t SFailed'''S;
?..2. C,EC4 STATUS
+ere students can see the status of their uploaded topic' :hether it is accepted- re*ected orstill waitin)'
-
8/19/2019 5 Project Report
116/142
@B
-
8/19/2019 5 Project Report
117/142
?..+. ROUP MESSAES
#tudents can send messa)es to his )roup members to discuss about the pro*ect' 2uide and +O! can
view and *oin into their tal/ at an( time the( needed'
-
8/19/2019 5 Project Report
118/142
@4
-
8/19/2019 5 Project Report
119/142
?... REPORT UPLOAD
#tudents can upload their pro*ect report throu)h this pa)e' For that students need to enter the
sub*ect- file t(pe and the select the file to upload'
-
8/19/2019 5 Project Report
120/142
@6
-
8/19/2019 5 Project Report
121/142
?..7. STUDY MATERIAL DO-NLOAD
#tudents can download stud( materials uploaded b( )uide from this pa)e'
CODE FOR STUDY MATERIAL DO-NLOAD
public partial class usercontrolMstud(MmaterialMdownload #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void 2rid9iew4M#electedInde3Chan)in)=ob*ect sender- 2rid9iew#electEvent"r)s e?
protected void 2rid9iew4M#electedInde3Chan)ed=ob*ect sender- Event"r)s e?
@8
-
8/19/2019 5 Project Report
122/142
protected void 2rid9iew4MRowCommand4=ob*ect sender- 2rid9iewCommandEvent"r)s e?
strin) path;
int inde3 Convert'oInt86=e'Command"r)ument?;
2rid9iewRow selectedRow 2rid9iew4'RowsUinde3V;
ableCell filename selectedRow'CellsUBV;
strin) fname filename'e3t; path db'scalar=Sselect path from notification where docnameS T fname T SS?;
strin) t(p db'scalar=Sselect e3tension from notification where docnameS T fname TSS?; strin) r e'CommandName;if =r SdownloadS?
Response'Content(pe t(p;Response'"dd+eader=SContent,!ispositionS- Sattachment;filenameZSS T fname T SZSS?;Response'ransmitFile=path?;Response'End=?;
else
strin) FilePath #erver'%apPath=S[S? T \SnotificationS T fname T t(p;:ebClient 7ser new :ebClient=?;
>(teUV File>uffer 7ser'!ownload!ata=FilePath?; if
=File>uffer Q null?
Response'Content(pe SapplicationpdfS;Response'"dd+eader=Scontent,len)thS- File>uffer'Len)th'o#trin)=??;Response'>inar(:rite=File>uffer?;
@1
-
8/19/2019 5 Project Report
123/142
?..?. LOIN
"ll users are lo)in to their account from this pa)e' For)ot password lin/ can be use if the
password is for)otten'
CODE FOR LOIN
public partial class userMcontrolMlo)in #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void >utton6MClic/=ob*ect sender- Event"r)s e?
-
8/19/2019 5 Project Report
124/142
@A
-
8/19/2019 5 Project Report
125/142
protected void Lin/>utton4MClic/=ob*ect sender- Event"r)s e?
strin) t e3t>o34'e3t;
Response'Redirect=Sfor)otpassword'asp3]nameSTtTSS?;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
strin) status db'scalar=S#elect status from lo)in where usernameS T e3t>o34'e3t T SS?;if =status SS?
Label4'e3t SInvalid 7ser'''S;return;
int state int'Parse=status?;if =state4?
strin) role db'scalar=S#elect role from lo)in where usernameS T e3t>o34'e3t T S and passwordS T e3t>o36'e3t T SS?;if =role Q SS?
strin) id db'scalar=S#elect username from lo)in where usernameS T e3t>o34'e3t T Sand passwordS T e3t>o36'e3t T SS?;
#essionUSusernameSV id;
strin) username db'scalar=S#elect username from lo)in where usernameS T
e3t>o34'e3t T S and passwordS T e3t>o36'e3t T SS?;#essionUSmsSV role;
int i db'non.uer(=Supdate lo)in set online4 where idS T #essionUSidSV T SS?;if=roleS4S?
Response'Redirect=Sadmin,home'asp3S?; else if=roleS6S?
Response'Redirect=Shod,home'asp3S?; else if =role S8S?
Response'Redirect=S)uide,home'asp3S?;else
Response'Redirect=Sstudent,home'asp3S?;
else
Label4'e3t S:ron) Password'''S;
else if =state B?
Label4'e3t S"dministrator >loc/ed $our Profile'''S;
@D
-
8/19/2019 5 Project Report
126/142
protected void e3t>o34Me3tChan)ed=ob*ect sender- Event"r)s e?
?..@. FOROT PASS-ORD
:hen a user for)ot his password heshe can )et this pa)e b( clic/in) the lin/ bellow lo)in
pa)e' +ere user need to enter the answer .uestion provided to chan)e their password'
CODE FOR FOROT PASS-ORD
public partial class userMcontrolMfor)etpassword #(stem':eb'7I'7serControl
database db new database=?;
-
8/19/2019 5 Project Report
127/142
@
-
8/19/2019 5 Project Report
128/142
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
strin) Name Re.uest'Kuer(#trin)USnameSV;
strin) .stn db'scalar=Sselect .uestion from lo)in where username S T Name T SS?;Label4'e3t .stn;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
strin) Name Re.uest'Kuer(#trin)USnameSV;
strin) answer db'scalar=Sselect answer from lo)in where username S T Name T SS?;if =answer e3t>o34'e3t?
Response'Redirect=Schan)e,password'asp3]nameSTNameTSS?;
else
Label6'e3t S"nswer is :ron)'''S;
@@
-
8/19/2019 5 Project Report
129/142
?... C,ANE PASS-ORD
From this pa)e user can chan)e their password after conformin) previous password'
CODE FOR C,ANE PASS-ORD
public partial class usercontrolMchan)eMpassword #(stem':eb'7I'7serControl
database db new database=?;
int state B; state to /now for)et or chan)e password protected voidPa)eMLoad=ob*ect sender- Event"r)s e?
strin) username Re.uest'Kuer(#trin)USnameSV; if
=username null?
Label6'9isible true; e3t>o34'9isible
true; Re.uiredField9alidator4'9isible true;
@G
-
8/19/2019 5 Project Report
130/142
state B;
else
Label6'9isible false; e3t>o34'9isible
false; Re.uiredField9alidator4'9isible false; state 4;
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
if =state B?
strin) oldpass db'scalar=Sselect password from lo)in where usernameS T#essionUSusernameSV T SS?;if =oldpass e3t>o34'e3t?
chan)epassword=?;
else
Label4'e3t SPassword is wron)'''S;
else
chan)epassword=?;
protected void chan)epassword=?
int i B;
i db'non.uer(=Supdate lo)in set passwordS T e3t>o38'e3t T S where usernameS T#essionUSusernameSV T SS?;if =i W B?
Label4'e3t SPassword Chan)ed #uccessful('''S;
else
Label4'e3t SFailed'''S;
GB
-
8/19/2019 5 Project Report
131/142
?... C,ANE SECURITY QUESTION
From this pa)e user can enter the securit( .uestion and answer' his will be needed for
recoverin) the account when the password is for)otten b( the user'
CODE FOR C,ANE SECURITY QUESTION
public partial class usercontrolM.uestion #(stem':eb'7I'7serControl
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
int i B;
strin) s #essionUSusernameSV'o#trin)=?;
-
8/19/2019 5 Project Report
132/142
G4
-
8/19/2019 5 Project Report
133/142
i db'non.uer(=Supdate lo)in set.uestionSTe3t>o34'e3tTS-answerSTe3t>o36'e3tTS where usernameSTsTSS?;if =i W B?
Label4'e3t S#uccess'''S;e3t>o34'e3t SS;
e3t>o36'e3t SS;
else
Label4'e3t SFailed'''S;
?..16. REISTER COMPLAINT
"n( user can re)ister complaints and re.uests about the wor/in) of website from this pa)e' hese
complaints will re)ister to the account of administrator'
CODE FOR REISTER COMPLAINT
public partial class usercontrolMcomplaint #(stem':eb'7I'7serControl
-
8/19/2019 5 Project Report
134/142
G6
-
8/19/2019 5 Project Report
135/142
database db new database=?;
protected void Pa)eMLoad=ob*ect sender- Event"r)s e?
protected void >utton4MClic/=ob*ect sender- Event"r)s e?
int i B;
i db'non.uer(=Sinsert into complaint values=ST#essionUSusernameSV
TS-ST!ateime'NowTS-STe3t>o34'e3tTS-STe3t>o36' e3tTS?S?;
if =i W B?Label4'e3t S#uccess'''S;
else
Label4'e3t SFailed'''S;
G8
-
8/19/2019 5 Project Report
136/142
@. SYSTEM TESTIN
o perform specification testin)- the anal(sts e3amine the specifications statin) what the
pro)ram should do and how it should perform under various conditions' hen test cases aredeveloped for each condition or combination of conditions and submitted for processin)' >(
e3aminin) the results- the anal(sts can determine whether the pro)ram were a blac/ bo3 the anal(sts
does not loo/ into the pro)ram stud( the code and is not concerned about whether ever( instruction
or path throu)h the pro)ram is tested' In that case specification testin) is not complete testin)'
+owever- the assumption is that- if the pro)ram meets the specification- it will not fail'
@.1 LEVELS OF TEST
#(stems are not desi)ned as entire s(stem nor are the( tested as sin)le s(stems' #o
performin) of both unit and s(stem testin) is essential'
UNIT TESTIN
7nit testin) focuses verification effort on smallest unit of software desi)n module' +ere-
there are four modules namel( "dmin- +O!- 2uide- #tudent' In unit testin)-
%odule interface is tested to ensure that information properl( flows into and put of the pro)ramunder test'
Local data structures are e3amined to ensure that data stored temporaril( maintains its inte)rit(durin) all steps in al)orithm e3ecution'
>oundar( condition is tested to ensure that the module operates properl( at boundariesestablished to limit or restrict processin)'
"ll independent paths throu)h the control structures are e3ecuted to ensure that all statements inthe module have been e3ecuted at least once'
Error handlin) paths are also tested'
7nit testin) focuses verification effort on the smallest unit of software desi)n- the module'
+ere- the module interfaces- local data structure- boundar( conditions- and all independent paths and
last but not the least- all error handlin) paths were verified b( inputtin) false data' ests of data flow
across each module interface of this software were done before an( other test was initiated'
INTERATION TESTIN
Inte)ration testin) is a s(stematic techni.ue for constructin) the pro)ram structure while at
the same time conductin) tests to uncover errors associated with interfacin)' 7nit tested module were
ta/en and a sin)le pro)ram structure was built that has been dictated b( the desi)n' Incremental
inte)ration has adopted here' he entire software was developed and tested in small se)ments- where
errors were eas( to locate and rectif(' Pro)ram builds =)roup of modules? were constructed
correspondin) to the successful testin) of user interaction- data manipulation anal(sis- and displa(
processin) and database mana)ement' hese tests can also be performed
-
8/19/2019 5 Project Report
137/142
G1
-
8/19/2019 5 Project Report
138/142
op down inte)ration
>ottom up inte)ration
VALIDATION TESTIN
9alidation testin) is done to ensure complete assembl( of the error,free software' 9alidation
can be termed successful onl( if it functions in manner that is reasonabl( e3pected b( the customer'
7nder validation is alpha and beta testin)' "lpha testin) is where the end user tests the s(stem rather
than the developer- but in a controlled environment' he software is used on a natural settin) with the
developer monitorin) the user usin) the s(stem' he developer records the errors and usa)e problems
encountered b( the user'
SYSTEM TESTIN
#(stem testin) is actuall( a series of different tests whose primar( purpose to full( e3ercise
the computer based s(stem' Each test wor/s to verif( that all s(stem elements have been properl(
inte)rated' (pes of s(stem tests are
Recover( estin)
#ecurit( estin)
#tress estin)
Performance estin)
@.2 TESTIN T,E SYSTEM
he test team consists of the )roup members and the user' :e test the s(stem b( runnin) it
in several wa(s b( inputtin) various the main concerns in our testin) are followin)
>rowser compatibilit( his test validates consistent applications performance on variet( of
browser t(pe and confi)urations'
Functional correctness hese tests validates that the application function correctl('
Inte)ration hese test the inte)ration between browsers and servers- applications and data-
hardware and software'
7sabilit( hese test the overall usabilit( of a web pa)e or a web application- includin)appearance clarit( and navi)ation'
#ecurit( hese test the ade.uac( and correctness of securit( controls includin) access
control and authori0ations'
Performance hese test the performance of the web applications under load'
9erification of code his validate that the code used in buildin) the web application has been
used in a correct manner .
-
8/19/2019 5 Project Report
139/142
NIELIT, Calicut GA
-
8/19/2019 5 Project Report
140/142
Online Project CoordinationSystem
. CONCLUSION
oda( after the entr( of smartphones internet is accessible from an(where' +ere we are
utili0in) this accessibilit( of internet to the advanta)e of students to do their pro*ect more easil(' In
our colla)e pro*ect- students are spendin) more time on preparin) documents related to pro*ect-
submittin) this documents )uide and waitin) for response of )uide' eachers are also spendin) more
time in evaluatin) the documents submitted b( students' his wasta)e time can be minimi0ed b(
usin) our web site' #tudents can send documents of pro*ect as soft copies to teachers to evaluate'
eachers can download and evaluate these documents from an(where whenever the( have time and
send their corrections to the students' #ame wa( teachers can upload stud( materials to students'
#tudents can communicate each other throu)h the )roup discussion feature' "lso +O! or
)uide can *oin to these discussions and )ive directions to them' +O! and )uide can assi)n mar/s to
students for each phase of their pro*ect from this web site' "lso students can view their mar/s fromthis web site' Li/ewise topic submission- topic approval and man( other activities related to our
pro*ects can be done throu)h our web site' #o students and teacher can save more time and effort
when usin) Online Pro*ect Coordination #(stem web site'
-
8/19/2019 5 Project Report
141/142
GD
-
8/19/2019 5 Project Report
142/142
. REFERENCES
-*sits "3""%
www'wi/ipedia'comwww'stac/overflow'com
%sdn'microsoft'com
http://www.wikipedia.com/http://www.stackoverflow.com/http://www.stackoverflow.com/http://www.wikipedia.com/