0% found this document useful (0 votes)
60 views163 pages

Share VP - Merged

The document provides an introduction to ASP.NET, outlining its components and functionalities for web applications. It describes the interaction between client and server, the role of web servers, and the structure of ASP.NET applications, including the use of HTML and server controls. Additionally, it touches on the programming languages and tools used for developing ASP.NET applications, emphasizing the dynamic nature of web content generation.

Uploaded by

achu48547
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views163 pages

Share VP - Merged

The document provides an introduction to ASP.NET, outlining its components and functionalities for web applications. It describes the interaction between client and server, the role of web servers, and the structure of ASP.NET applications, including the use of HTML and server controls. Additionally, it touches on the programming languages and tools used for developing ASP.NET applications, emphasizing the dynamic nature of web content generation.

Uploaded by

achu48547
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 163

Sabus

Module1 A intaodutio o to ASP. NeT

a mt dueheo to Asp. NeT

Asp. NET
quitk previeso of hau
coLts
css. Jotodu chao o Seryer
eooale Loth
Locth buton tondnh, ett
boxes, cheek boxes haclis bu loos,i dol
and otber cweb server ctols Be image,

ueb appioaliro Cansist of a sebt


Coeb pags Hhat are
Aoguest.
Search ngna, games, aitusion grovgs
boe slos eta

CGroponent of ocb applucalio


kleb applicatins are a lype
Server aplicahao, cohich megos ba the
fanctons of be oppl'calins ae Spit
betcoeen cCent Coropu les and Servtr
Coropulaa Te cheot and Sernve Carapeleas
ar Canoeelid wolenet or stoanet
and tbey Carnounica la
Sorei
iet carpuls
sotemet
web servVet
kleb broo Se1

To ses needs
access
cocb oppliaCan
oeb boowser Hbat
Coropu l pOpulas
Moct Internkt web boroseos

google choooe eta.


kdeb applications
Server
Caropla, This Coropulis
web serve7 Soffesae hat enables it
to seod to cweb booose s.
webpages o
Most popular web se rves ae
Miesosofts
Iotemet
infommat'n Servie CIs) and
HTTP Server. Foy
Foz Asp. wder
apache
applica ls Hbe Serveg uns l/S.
Foz most och applicatons, lhE
Ser ver Canopulan aso
als uns a QBMs.
Teoo po pulas oeME fo Acp. Ner dupt
SÍL Serveg and OAacle The OBMs
Povides a ceesS o
onfomoa lion Gtooed o
database To iopDVe pertosvnan
Cage applleations, OBms Can be
seperale Server Corpu ls
he awck
(ofoface en aa Sersa
appicasoo is ioaplneslid
thad are
dip layed
the cueb boo coseg. each cweb page

HTMU.

Stahc cocbpages
Glof c cwebpa ges are Ht ML documents
bad don 4 change
change opoe o
Eveyooe cobo Ves S-lahc
coebpage Sees
fhe CSame Covoliot
ezaely ste tbe web
How a Seve poocess es pages
cient
b4p equest Senven
baroter Senven
tilo
bitp espoe

klheo a boocoser oquest state


Cocbser ve? BetjeVes Hhe fle
Pages
fam dc
Seods back to Jbe bopoceg.
and
bave a fle eeleosioo
Slahc
pages cusualy
drbol

coeb serveg an
hoess age Caled
HTOP equest to
lbeweb Sesveg Tbe
TP veques inclueles iofomatons suh as
and addsess Hhe
7equcsed, address he boo wsen ma bnj
equesd and address Jhe
tbad col) Poncesshe 7quest
klbeg IbE Sey ven
boosen, -be Serve vetneves he
equeslod fle fom the disk and Seods
the frle back to lbe booosos cin-lhe
af on bttp vepose
klbeo he baowsen
t bomnats
4he bttp
9eponse ood disploys -he
btol decument .Tben
. he se can Vieo
Hhe Costent blp sespose Getet regueled dacu
ment
A Use cJ0okng cordh a bn cosed ca0
Iocttals an
btp equest is seveoal coays
addrcs f be coebpage
Called URL
Cceno Resocce Localas) t
boosens aeldoess and hen press
en l6s kayAncber
lon bat a
coebpage
protocol comajo pame Perts file
bame

1A Peage is an H7M
buoernt at u genesolsd byaweb.foy
4 changes accooding to npomahons hal
for NET Asp.
poased
oo s uest Aeg oapr,
Gtbe orsion ex
ctich fuolout ppngs
Co
quesGd erlisio
cup loots t page, dlynsie
cb afor
webseved khen
¬1s seeg
to-toeeh
boeases oser
forns
ppln web
case 1 boo
nd
ap. Cwebgerw
rved, corn Appl cient
Server gnarie
coook Pages cocb Hoco
canools
-to -lbese coHh
Cogtools Seve? pages cocbOne
Usen foms
s Coeb
do Hbalhad Cweb dynanickey and Page
ès
oeh cGtahe blew One
by Seod
booseT
klbeo appi ca luon Server eceevcs
Aequest, it speated coeb forg beo
an tiML docwmeot c
oppli ca lho0 Semven,
passes eweb sen ven arel fo
tbere e lha
boooses.
Page dplyad,
Cao mles act

pest page
back te
Server yi wtich s calod postback
page
tbe dala eolaz d
be Pop cess
Use
a web page nd eods clt
the Sesver
sondg a
opevse Baek. to lea
eiet s cale o
An Iotndueliro to Asp -NET
applicalcao
dleulspro eot
for AsP Aer aplo dupt
clhet
K kliodows xP o
Micosse NEn frame coonk 4
*A Boosey
* Visual sladio
Sevvet
klibdoos Servey oo8
Micooc oft e7
27s 6-o O la leo
Sel Sevey cquva hot alalabale,
sramecsoak
Cooporoeot
NET Appli cafons
Viscual Bcsic c# Visua C tt visual F#

Gbaaoy
" NeT rameook class
kliodoos jooros classe Asp ned casses
Ruotime
Cornoo
Logung
Moinged ctases totesmedot
Coptioton LangeAg
oS bondoae
klondocos XP
Series
"Aen apliealons ook by wsy
access es
cotieh bat
hardoe The
NET Consisti o
the
aomon angu age lun ne.

Boorn of classes
tbad aoe aveç lable
vailable o al (e
poogtamrog language. There e asses ae

oLganiged wsta groups Calae arsespaes Tbe


clsses tcat uppeat Ast wer eb paognarms
kleb
anguage haoline
manages
Conon a corporad
latt ensre tiat al. eraplica lra

A NT Pgs ade Corapilud wnts


Micosot ntrmelaa language CMSIL)
cio laroedaa
assers bly This asseobly s
theo run bq cLR
Asp. nel Sorves sde
Tt is an peo-sourle

cob appliea lão frome ooak desigod for web

ouleproent & poodue dynaoie b page


was levelape4
a
by Micotoftcoebsele
Geriees. The name slaod
agpllealins ond
Pages etossk Eoabled
for Aeive Serves Pages
Techoologies Bst eleased o 2002
eoth vesion
CRd

Asp. Ne7Code csny d any


C# V6 ett
Sppoleg kaguge
develaproard Cvisagroeot

utolass Xe dy late

Cpoa: I1S, S¢L sen yes


Herne a
Sogle Conopuin Sey ve as bb la
must bave . ne frage
rage coo
coakale and vtual sladis
cstalled. B. saa
* kocal neloopk
ciegl wlados Sve
ulioelouay xp lab
((sbo or lato
Visud atudioLn, Sevveg ontpge Sm
citeotieg
Here
eient Corpuln Caroouiseala
Serve
Caropuli
Ser vez exaosion
LA
(a Seyvjees
ponvidas
visual stadlio do Lses

Aemole aopul klitlh tbis eninomet


BSae
app Geatiny loca led ad same se
lodemet decloponeot
AOcnlnet SÇU
Seye

Hee cúed Coropulis Caromunicatas wit


oyer (be stemet. Tbis
Server Caropales
CE possible o cook ottb
aolbe Serves. klih tbis

Setup poogvam mes at Cocaion


on the &ame applea oo. Thu
Setup Aeqios
ie cliet and server

A 2ick Previeo of bow an Ap.net


applicalio

Foreach wcb fomg appl,


kaps foles- fle oth asp
erleosioo adfile coits aspx vb exlon sioo
enlinsioo bolds btosl Codes and
Server Ceetools Dbe fle colh
asp. vb elissiog Cooteus vb
foro ( Code behund fila) pplialis
Aequises other cfasses, ey onc
ApP_ code folter. kept
Conider
ex ample :
The Shoppug Cast cppo
x Castllero. vb - A class hat

Caot
Castlloo sb. Vb - A Cc lass Itiat
Coot

x pdut. vh -A class that


roodut

Thenefi les App- Cade foldez


Cant.
x Cart. aspx-vb - Code bebsd fle for Caot file
ooder aspe

Hoo an ASP. e

Order aspx vder. asp vb


tadass fHle
APPCedello
webf faobalcla
des
Bsp.Net

rdor
Order Coropile cless
Ordesasp Paptial ca

erde
Orer a class
clas
AsP AeT
gdoalesa pastal class
foorr and b Cos
he declabaione for dh bat Corahans
Coxder- sp)
at a class a will ioihaliy he form,
be Caele lbal Contools nod qeoeoalk
inetastale be
HTML o? ocb page
he pasti al ctass
thad caslhoe Caotensibe Cootool deelasaioos
Cocth he b paobal clage
dbe fom vot Csrent
Code
povide be eveol blig
the ordet-aupr
3 he Caopiles1he
vb Coopiler bbemts
class, olsch assea
Saves
Jhe yesult Pag is Vegva
elass
is
ex ceulad oben pa
an

4. stored o
ober class Ailes bal ave
dasses
ppicaions App-ode tolder.Thoe
are Saved Siyly asenbly.
AsP NeT Creates
5 an
ioslance he

he appe pialé events, obieb aye


prossed by -be eved banller for
and pag aotvales e ML thads
to be
passed back to be toeb serves fos lb

the
are done ony
's Vequeslsd Aqteo thad the page
is Poec3sed Gopild
essemblies.

sp. net pro ces ses pages o prod e


dyraoie oulpit
x tbe applica leso and ia
tnstanualid
pages
nlealid ¢
pc3sed
asp ut Carmpils
Asp

klbeo
Page
sServeY mly Po cessed
bxo osey heo t iu coloadodg

FoEocoung

Page ctaliza lon


load
Validabon

Post back evesl hasd ing


Pag
Coload
place cSanoe execubngt
bad aod
Cagptling cobile ,code cona
te
allocos envienme f lyhe his
Gotenot develapest
4 do for
es
s-Ihat Campla, a
)8 14 ett.
edt, Code ic, packege
e
lot Codaios
nvisenoenl
hat Pogramrovng
goaled date
tDE
laggua
ges
dea porvi mlebat vislial a is 24
st &
Code our add
Ovoe
rne
funthons)
to classes
d Codes
C len prewnCan
ns dies boFoamook
wlebde Frame
visual üdio
Klet BeanS,

Hoco to cotb Visuad sluclio

kleb Fowas
To
doy a

middle 0f Ib¬
klheo a dol a
fom to be
Coc bsete the
dengor HIML Code
Ssee vied
kle
VIew
Split vieo
aod
Sesigoe
he Oesgner coundo)
comdoco

toe tocbfoo clesignes ood


comdows Qre Tool bor
tbree
Soluliao explove and popes Cies cobdo
aat
Solulioo Explose
coebsilë. I belys
adt
solulaos, pget
e o9ove
ad fls halps
Bubfoldoos.
Aopeaty on dou
dlsplay

Eves ts velaled & tbe seleelid

he To
diplayd
ecit an
oick vo the cell o cb Agbt ang
enls
changes
Tool b02 Contals
tbat Can adel te visual dplay
studio
choose vieo-Too lboz
Pgjeds To epor bol bo

pess dolt Alt + x. le can drag 4drp


dygercat ctols
to Staot websils

Jo vicual sladio aol0, a cocb oppl caleoo


is calced a websle s Theflee ¢ foldes
wscd for deve lop ng awcbsa Can be

CUs
bbA
To a new Asp et ueb.

ppica leoo Frle > deo websct eod


Visual stodi o Creates a

eaeb wcbsto m dgault laalion


Ho c) to add ocbfomo
C/aot

sebsite,he acld Q
to Loebsila To do that
Use bo

Too t adopo Add loo b


cong
bon

ciek doe poojeel


eplorer and theo choote
es

() cGek oo be pooject ën doe sol,


selee
klebsia Aqd nleo (Go

Add a meo cwebfom


’ Add Aleuo Ilio > Web Fo tanplalE
clre
enli name

Ad a

the paejet and abloose Add ex)eg


Thes seleet (e
toomg you coagt and ce
add &ultoo
Hoco add oldes 4 files t a
* To add a d folder, ight ciek e9
-be pjed , seleed aleo Fldes,thto
ype bame
for Be foldes 4 pzess
x To add a special
speial Ast
Ast 7oldery gt
cÜck
Pnyet, cboes4 Ade
Asp. NE7 olden . Ther seleet he

Aequiscd
onedool cusloo Gnools
¢ Clser
Coveool Seorven Ajax NeA Asp.
Goo Seave NeT p.As
Condoos Servn HTML *
Comools HTML *
Aoflicb Codools
ses aleT ASP.
thei
mdiltca aodseleebons ,malke dala enli
ca
wer Coob, these Usng ools othea
4labels boaes, Rest boxes ehecko bultons
Coad meledes olich Gtul fblocks
Contonls
Centoels Serve Totodluetie,
to
SHoodasd
csed lp ctos secs
labels CExtBoxes elslh
Many Can Be bouod to dala Boce

Dala
Data bo uod
clala osee Ctl
clisplags clata Via

Dala [ous ce Cout ools liat dple


aceess

Validalao
vaGdate user p
Used te
side
cGet Supt
Loole by Aunng
boode mest vaielafiso egwo

Aavigatia thal proo vide meos

X Codool bal poovi de


autbete coat on,

Aj ax Exterei oo
Catovls toal
&ledes pasts 4 a page dung
lood ad, data and va bel ctheo
cAols
alext
Pfoo design
typ ctols a csed oy
Se

do aclion to -hese Setves


Cogt ools
aso paovides cals t
coosking oith cueb panb , dsoarsie dala
and DepabThese coli Orse
Cy web Serven col
kleb Sesven Cooto ls

Alame Suggesled Sunplao


kabe|
Displags clescoiptve bfo
kets be wse eobs 0
Tesclbo tt
oodif a tect valee.
Button bto Subnia a page gorpo oy
20oinkbtoo lbto

ibtn
Jragebte
blok Lets he uses o o to
Hyper iok
anolbr page bbe applo
ge isplays
a
ledi Dsplay blst List leted B
bocoSe
for cse the
s hat butto a Rleuplend
a
bor lext Displags upl
lets
ndeserneSeleetd Display
a cln Caleodes
iroage bisplags
as Iroage
off oplon "Tuoa CadioBttoo
off oplasis
on %
oplons Tums Boalist eheck
box ebeck
heos
ho se st use ,e lets lst Listbor
dl Doepdocos
ist
Cse be Lets
Ho t baodle Canlolevent
An eved baodle 1 Seubprov ceduoe
hat calle twben a Apeeifi ed eveot
ocwns Visua stactio calb an event
harelles by
On lhe
includog a Hanele clause
subpovedre . The Haodle clatuse
Dgmestbe co god everl bat he
pv cedue banclles
Kasp: Buto id "by Canel uoat- "Srws
Ted Caocel />

paoleeted Sab bthta ncel - click ( Byval sado


As obya Bgvale As Sslaro.eveogs)
andles bncancel. cUck

End Suh
also Creale a everd baoclle
kle coo

toHhoud cs ngthe aoel leg


Coap ) ame he
l
Claue To do hat, eved haocller an

alibua of he Cad
p po pna lE evend
egasp:bulen 4-" bn antal ugd
TextCantel " Onelfek -"bnlancal-trp,
Pro leeded Scub bhlancal- ctek (Byval
Seade a Objecd, ey vale sSr

eve Aogr)

Sel End Sub

Cemm Codeo Eveois

at buR Conools
eve

euck On Cuck Buton, image buta


Clok butt, lmage

Command Oncommand

Texi Changed Cn'lex+ Changed Textbor


Texlboa

Seleeled Iodex Gnseleefedlndex doopdoo lid,


Chaoqed changed ust bex, qadio
ba ton isi, chet
beaGs

cheeke Chanqe Onchuctaf


hetba,
Stngle eyen hardle Can be used

to handle moe hon ane evend Hyoy


deftoe the eveslhandle wn a Haodi

Cverls
clause list ha Codads and

on -bad clause olhaun se Dame

aflmbue of eath
handler each evest

Condro ou Cwant bande

Acess t e s

14 allos tuse Select Coghols


sna egboard hoatceds

we designat F'as la acess len


Custonoens
for an el ield hat aceert a

fi 21 oge he uey Can mave tR focus

AHtE,
eluredy toHbis iele) by preasing
To Crea le an access eey, Sioply
add, Acusskey atmbul t the Cagtoo
ou uao Crea a shot cec

eg:asp: ot Boz o "tziAla ual Sene


A ccessceq N'>>
Asp ned & tealusu
pmvides

Sed ocus a spechd Codool

eult 1fous ambute


dedemme wti eh Col
fom t
cs whoo
Yicel VUS

s )frsl displaged
Move &a Cedl a
( ocus
uoume ig o S metbed

Covdoo
Deheult &utoo atibu or ued

to Sed he buton had Cch vaid


by delault wten press he en
esi, ka

Buton Coodools
have at least me
Most
bullbv hal hz cise Can cuek 6
Condap
Serve fo
Submit he om tohe
Called a Subooit kuho
pAoLessmg Conmmoply
There au buloo olob
Pes
Hsp-net butov2s, liok bulons,
mag bullons
here ullns oluffe anly i
beu
They apear to Ihe er butoo
eusplay
clisplays texd cocth a n
neelangulas
ad looks
aea

Rio ballio displays urd


bke a hypenboks O a m a g kullso

display a mat

For bu llan and iok bullso, teat


atbule poovides (ti axd baf dispay

fo the Cavmoo. o a tmage Buton,

image URL afbut YRL adihs


priovide a l5
eflhe inege olsplaed on lLa butho.
Alernale tud aHaute pvides tx
harfs cbsplageo bowse
able e display p e e nag

klhan a click a buton

Yai se3 eveste : Cuck f Command

a
Two arqumes passec &ctiek even

handle Sendlea and e Sendea c


Conl hal tshe ua cucked and e

Coolenns eved 4peupe ofornatisn.


atlnbus
Comman beutton

Tert De dercd displhyod y e

age UR The imag be cuspd


he image
AltevoateTexf:T tertto be display
h e booses Canl displa
Phe peeioed mage
Causes Valdaban :
lemunes oherha Page
VaCdafbo Ocus coha
yey
clic Ihe bertro Defaul4
Value a uu
CaroraodAlame A Song value posedà t

Comma0deWer
Click bu ton
Commang mgumen

PosiBack PRL he pag pag ha


Sheuld be requesthd coln the
Cun clce k
buton
Asp ags bertto, (iot krter f Imay beky
<asp: Button ID: "btnadd unel "Serven

Tert Add t Cat/>

ndd to Cast
-> asp: untButo ID 1btn cheek " uod=E
Seave Post Back Uat " cheek- asp
=

Check
Out</asp: Link Be ton
Cheek Out

asp: mage Batso D lbt Caot" uo at z


Ser ve Alimab Text Caat"
ImageUrl "nage
E
Cant. ai PostBachth
Caot. asp
c'c eve handle
Prode fed Sub boAcespi- ctck (yNal
As
Send As Objeel, l e

gs laco. everr Args ) Handles b» Accept Click

End Sub
The Cornmaod Een aised eoeevt

krtto» Conral. s .
usen clck.s a

ehe tue
Coad % Co de a
Snale bad
Ser a
gotp
bttons , hal pefem
AelaladacbenS. alse Cortasne

Serded and e The e


agumest
argeme pessedt Camood evend
handler a mmand klae h g ebje

J s value Cased t elefemmm ta

Comd o Aasu / evet,


evend bandlay fo7
we Cede cect f Cmioande
clice eve band on ccill be
Heyhe
execufecd r s t

eg asp Rton Id» Commandalame- "R

uabel (b

Poodeered Su a a Bthso Com mart (


Serdes as
objatd, ve e as Seseo. turh. U.
euebCotomls. Grard alome hags) Hardles
Buttonl. Cammo od, Coammand, Putn3
Dutton.

Commond, BaHm Camrnand


Seleet cose e. Command ame
Cue"Rost"

nd Seleet
End Sub

Alo fe l e
argument

image Beu tan Cords an be wed u

dekmvme coherehe uses cCcked

he' mag
klhen UseT cCck mage butm, he
eve andlenfar the Carploo passes k
749 Coevclnale ococked posiban a3

po peau Chgumest

Teoct Bons

Texct br Cnhros ae
ypica l ued
Acept topub fr
One 0Y mo 'e
Cao accept
leelrede,
dtodiog on he eng
at bute

Kasp: e riBox 1D- "lrtnamne undl Sen e


<lasp:1exf Box
Cormo atmbul3

x lexd mode pe ctertba. Sioglekne Cvede


a tandotd tai box multalioe Cieala
a axdbox ha can a CeeNS MoN tray

ne ne o , paksuoo Causes

the ehenaelos had a etared be


mesked. Olault Value is Anglusoe

XTert lel CouA of ha xtbo

:Maimon 0. Chaoallkor
Hbeed CAn be esTereed iob
the-ealboz
dcbap Deleamms whelbes or nod lexd
waps automai ca ly eoheo ef eathe
he end of mulauoe tealbez
Read Only Dede amme whedhe, -lbe cuse 0
chooge the 7t io l i lad boz

efault value u Falso.


Columns Specfies widh atexlbo z

t chaaclos

Rows multuoe lbitbex


Heiqbt q
u l t value a o, hich se G

eght a
smgu bao
Label
kabe Codaols pvides a ecsy wy
oli olisplay Caad
1D
ID b14
asp: abel Anal Sepe Zlasplohl

Cann a aHmbu la

Ju la bel
labe
teoct exd displayed by

Cheek baxes amd Racho bilos

check boz cisplays a Smgla oplia


he used
e,
Ca,check o unhee k,
Racles bu lLsns psed a groP p
hecsen ca Seleet fus
raclio bullins
pton A af he

Sme r o u p nom
up>hould bove

The men dfnoou belwces


Canb
Canuo u hal Aelie Ba llns

eup ae
maually exelusd've eme

Cherk boxes
openalzs lep enedy
Aunet e Se
Kasp: ¬beek Ber D cbkbto
text" 1 agne/>
asp: Radio Bulso D " d " Aemet Senvi
Group alame gande/>
asp: kaelisButtan D " d f Aucal: "Serul
CteupAlame
anden>
Com mo Athbutes

x Texf Tend Iat is displayd nexl b eheet


box ov Aadio buton
o rv a i o

Cheeked Ineli anle coAe la cheek box


butn Is Celevtee oY nej

* o upAlome: lame 4 92oup ha1 ( cda belongs


Lst Corhols
KistBeces. and doopdowo ub

Bst
Toey ypicaly Covleuns n e me
Uey Cm a4d i'se ef elns
enj vb code os Ca lislJ C hechro
A Lstbex allows wner seleit onc
more elms a lit o elios. A
ropdouo eit lets a d ehoo a
Llo
fovr a
drep- do up Lit lcos.
Camoa
Atbals

1tems e Coleci os of Listebiro 6jees -hal


Aepnesas e ikos Corost.
Roas: Ale. ilms dhad au
displayed
a s t bo at ene one
Seleukd eco : he kakulro objee te
ewmeolla seleeled alco, ov ua isllaro

me Hthan ne slin 2 eleeld in a


Selee ted dodex: me ndex Cuerdy Selet
lhe iode
Selelrd ae h,
lim soloclsd t la bex
ne

Sele eled Value Value otiaeleslid Pl,


Value o tu s t sleelod i
mo (uon 2Go slel
i a bex 1

Aselectoo Mode Jnel ea las, ckelha0 a ut ba3-


alocos ng,elulro a multpa
leelkio ss
To work coch lkaislor u a oltop doup
t ax) t baax, ,use , io ponpen
Ractio buton Ust eheh bez istcou
Aradio butor ut pruesu a s t f
rtuall
.tid
ezeluve
.
optimi A eheetbix
resest a mdep endlud 0plin
'
Cue
Buludeed hist 4 Mem bered
Bultufed Ci4 Cnlo ls Cea la Bulleted
oumbered Cut Ballelecl list
leclid
Contol olseanst heve Seleelád I
omd seleelid Value oplin
Jndere

31 Aunotzerud
<asp: Bulleléd KuH
D
"ou k
Bullud
as p: L01In
Sje, Reel <lasp kirtIGo

<lasp: B4tuded t i 6

Tmage Cogia
Coeol dlisplays graphicm ag
tmage
a-hmbules
bsoluteov elav

Jmage dal

AHemle ext
eoldt lnag
odth

heiht
heghi
Tnag Aigo Auqnmei mege aelaave

to te Ccbpaqe olhis
elomest d the Pag
peug*
ID t ' g 1
Kasp: Tomage Auoat
eve
age Uol /mages 4.
pg AHeTmt
Text
flo wers'/>,
Cede or
Sethhg mage ye
Image d
gpnduet- ImagelUf =Lnmagoveuts/a
Hypeslink
H
nevi
igatu G ano lbes
twebpa
cohe Ib sen elitks (ta
Contod.User ta
display ebi beat or
Coodool.

Conp man Ato but

Navigafe tkl Abso luh e7 elauve RL


he
Pag that is lisplayed oh E
Condo i elicked
Ted Toe ter 15at a displayed o
he Condo

Tnagedl Abeolu o elatie ueL


IRL

ioage that is displayed a Te C


Casp:Hypeo Pok ID ypliok" runal
2
Searve
laugat Ust bome. aspa"
cuek bee lasp:jpeskio k ),
Frle upload
The file upload Cootoel
displays a

ixt box and a bultoo hat alo cos ha

se & booe he cPend Csmpula's


l e Syslao e tocea a fle t be
uplo aded. This Coo eloesn pvde
a but Sr Cploed he fle: Thentheoe
he used must pooviele a sepere tbuHs
for uplo ac nfle
In lke buton click eveot,poocadtn
he use must Call Seve As methed of
file upleod Condoo & Save the l e ov
Ibe Seve

At bu
Has Prle fhue s e ,
hu selecteef a fhle
b uploced.

Hle Alae Alame to be


Of fle uplocded,
Posted Ale ile hal co
J4 epreest l
Pes fr
Save Me posl
Save As mehsd ]
d peaie4padb
D F" u
Kasp:le Upload
button 1D b4 uat 5e
Sb)Kasp:

Terd ploed

bows plad
uploed
Calepde Condoo
The Calendar Cor E pically sed
& Pvidee wtb
usersA
an easya
seleehng aelal .
elhe be
make3 a Sefee Bon, he Se lee on Chaoged
event ased and Ik page
poslédo he
ServeT
Propere
Selecirpode pees lhe seleh
Accoptable
T Con be made
Valus ane Cay, aytdeak
Day week Morb Nme.
Seleeled Oat Canly SelaclTdOate
angle dde Ocs eleefed07 lha
fre seleeld dat
mulapla da
Were Aeleeted,
Beleeteel0ates A Calleehoo had Cotoins
all l5 seleel el da la dn eguna.
To dele 7mie -Ihe 0: eday ed
ae
Seleefe d, se Couri poopena T
his Ce
lleeh ons
asp: Calendar ID Caf1 Aunat "esver

< lasp: Calenola

Imag a
dbsple a9
a

Drpage map corlh one av moa hol Spe

Image map a 1mae wih Seveaal

cekabe vegon Calad Rotspeo


Uer eao CTeat botat:

euales, Cincles Paydns


Module L
Intvedurhioo to validouin Cmodms bae
vaielalio Castros Va lido iao Coshnla
freh nigu and advanco vaielat
Crranla
Vau'do uon

CovlaolsB,
Hoco To manag Ste o
sessiao slaTe on4
cuse ic o SlaTe
ete 14o To u Cooki
applucaliso

Valclatio Centools

Voldabon Copteols are uned veUdo


cpcct AsP etes1 p
Vada Lso Covoirols Vaela lso Covdeot
be ubed Coctb

07 ht eved opub Corhns

pes
Reguired Feld VaColale cheeks hat ao
eny has beeo made

Compae Vai dato Cheeles a entoy

agens a Constant Value r a


Covntodl.
value a O0o heo
Cheek3 hert aD eotot
8Raoge Vau do tov
-

coho
SpedAorge
4 Regules ezprusion Vauda lia Chec ks Iha

ey matches c pallern lhat


defod by a Agalon ecprus109

5 Cus l vau'clo Coa Char s an enbi


vaUclotino Code Lat
Sann sm
eu wu osel
6 Vaida so unmau Tplasa umma

vaudalD Camdnls
Called voCdelsz
he1s
ots1rv Codons

ebece cohe lls


Conclonls oe uaeel
These
clala ti
he ey hes enlared Vaud

oo la web for
mput Codo
(Ce
VaidattooS smmay Condo ol splas
Summ 7 a lhe evo Onue p

Common Vaudaloo poo pen ues

t be
The O f he Comdol
Cordal To Vauda
vaGelaGd

e s pe
isplay Yede mme ho w

t be dusplayed. Speaylahe
allocata spae fr msg n Pogelayoud
han pas ale cale ol

tohan an
orn Oca A/ne

disploy Cantiol Jastl aln


Cum may

tbot displo d
Evov esinge
va lida to aodforhe
va
id hro
Coodrol cohsn VaUdaton
Seummo
s dhsployed n z
Terd
The r
VaCclaL6

paspeng display
Suanm7 Conuo
he
I n di' ca las cohe-th er
Enabled

Cooo is enabled
Vaela on

Vaidabon gup ndjcate


Couto 1s, parts
Hhe Vadaro

How Asp net prbcesses Veticdahoo (ontaa

he boDtoserd uppoots HML

the vauelaluoo lod


ypanic HTML)
Covdaps de hei7 valudabbo or ui cuen

wwng cue de 3erpi


Vaudabo aluways elone
Serve 6 ali dakon
Peeoned
eve Dhe you eCck a bullon
cohose kanses Vasauso pn perliy j JE
Co Cue.

VeG da o n perlmoed on ( euet

ohn 1 o cu aveIG Cantro


Dhe ex ceplia a requsaoodeld voGelola
pperomm Uo Ccdo.zn my sho
Ou cuck abutlbo hose C o r e Vada lz

pompeo- coheo e
en a Covdro and 1aEo

clear and eave (Cce Conloo

you oant b Prom sav Veta

avea, SetEnable CiiSoi pt


poopal he Vauclauo Covdools
false a nd Then no cüed side Scapft aa-

ensrald f VeGdaiog da/a


Basic Vau'dahon Coronlls

Keqined eld Valudatov


Thi's Va idalor checks coheihey

enlased a value nt oo Ip
odnal
e CABe doesn'l eol veliw
Vo Ci ela lor s e messaq lspla
Poo pea ly

h a l value Toi hal Valur af kz Con


that is valedated31bir value does/t

Changt, VaUdaCro o failu


an
epe
Reg uirn ed Pieled Valdatoz hat cheeks fo
aecucel entoy

a3p: Tex!Bo ID CxtAlone


"Serun'
<lasp: 12nt Bor
Kasp: Regioed ield Vo Udslos D "R
unt Sen ves
e
Corleol To Valdale ="Cat Nlo
Cro07 Message Tou musi nea Rlame
a3p Regui ord Reld YaGidato7
Compprt Vaudolo61
This tet le cuse
vaidoto
Compa oc he Va lus coterrd tivrdo an iP
Cnloo to a Caostont 0 Eo dhe va

ano-llbe Conladl. Con alko be


1hal t.z
tus ed to av ma ke Sue

Va lue a paauceslot datape


Addi bonal Poper tis

Value ta Co9paze
Tre value that lhe
Vala'lo Coopooe
tio l Cagdo lloa Cdo le
Centaol6peced
ppeliy Shouldbe Caropared o To
he opat do la to a CornStaat
Copape
se Ualue'lo
paocpopeniy .
Opeoa loo The pefCam pan sdn
penfoa Equal, lotEqual, Gtaealiban

otreats ban Eaual, kesThan, Lealban Equal d


Datalype dhe k
Toe dola upe
Tupe tD CAseo7 pamson
thad
he valur ef ed v (
Condoo
Validoz prop should be Compoprd

Sasp
Conope re Vaidalo bat
ehks
fe 0
Jntege Valus

<asp: Text Box uoot Sove


<lasp:1ext Bez).
Valiclo ló D CV
asp: Coopare
upatserve holbVabidstu txfage
Dot DotaType Cheet
Tar Opera
must be an
nlyet
Eo Message Age
da tor
/asp: Coropaoe Vali
Range Vabela los

valdo loz heeks hat tohelbe


The range

the CMBe entes a value hat folls wirh


the Yonge Specitiee by e

Maumun pope ues. hose oo peoues Co

Set eoheo he VaLico lo 7 ie cea led


ange

or cwhe la page is loaded I us


be Canver led
enteo a value ibat Can oot
Ho he vaGdathan
cero eel cda la lype, he

fails h Ce doesn't enlen a va lu

he a9ge valida lod Veelafhao


pcsses s

test1here.fooe e should also povvi de


a
egueeield valdaloA a va lut
Aeg uwoed
Adls bona eopeslies

Mioimum Yalue Mmimum Va lue allosed


forr Hhe Cooleo

Moumum Va lue allouoed


Maum u Valuo
Hor he Corteo

The darta lype useto7

Cepa3e).
umehe ge.
had cheeks for
A Va Udatu
range
Dunerl Sepve
Terd Bor
Dtd Days

<lasp: ed Box
2unc) Seaves
a s p : Range VoClator IDRV4 =

CovoelTo Vatidate
=
tztDays pe nlqe
"

Mioimum Value =
Manimu Value
Ero Messqz =Days mui be betsp Aand 14
a p : Rank VeCelbit
Validaiao techniques
XHoco to Cuse valida so Suome Oota
Valida thon Suma 9 Conm
displae
a Simoa° 0j the erao7 boessages
esthat
coee genendled bypage va doo as .
7
Sumpaoy be 0eb
con
olispla yed
pa ge epe ra messa b0
eioo mesS ages
displagee Naudatho
& maby Cosko Comedom exc
Poepe y po Valda osS. J

the ser doesmot evaot to clisplay an eey

ess ege Vellucda ls set eú isplay


Co lone
poDpely
Propesucs
* DisplauMode Spetues
bouo he eyoy messe
o0 lbe VaGela loo Conrael s ac t be

dusplayed. Avenlable Values ae BalletList


is
Seiglu Peuagraph. efault
Bullet lest

Header ext The tedlhod u displa


ke Ciut o
besore eYor oesSage
Show Smmac A boolean valcu hat
defcrmumes twhelbe he va uclaluo

omman Shoule be olispla yod o Ita

twebpag Oefault valu Taue


*ShocoMessage Bor A booloan va(ue a t

determume cohefku lta Validoliro Summo


Sho uld be displayed o a oaseg boz
Oefa ult Ualue u fale

Casp: Keqwe ieldl Validator 1D. "REUv1


uat Seve Coorrao 11o Vaüdata ="telnWemt
Eeioessage You mus 4 eteg
*
lasp: Requuocd Pield Ve Gda b name

Kasp: Roguoed ield Valiclalsa D-"R2' unad- 'sves


Cogroo To raid
atu ="elnun asplaaitnd
Eo1Message" enln Dumbes x<asp:
Romured Gcld VaUda las
asp: VaUdaBeo Samo03y Ib Vs u t f =
HeaderText Pease Correed lba
=

Ser vey
Fo locoin
Pleax Cooeel (G
o loco

o Unter numbe
Hoo te CLse valicda Can raups
A valiclalioo o tp cobwoCa pe
Valicla leas hat AuD
po
poslad..
To 90eup Va lda loos Set VaUda ldo
almbue for each el ucla lo. en
Cotcp eacb Conliol hat
use his adi buta for
Causes postbae k lo 8peea
otneb oup
Shoulel 6 enecalcal

velidalo hat doesnt Specuty


he Valeda liio roup atlm bulo ae pout
te
defecule hThs gsocup i 8
Aoup.
eceeubed eo hon Slartd by a bulla7
Conliol Fhat cloesn't specby aVaudalar-

sop A
tohe e
pe Valide
mehed usee cwr llubut ngumest
Advancedd Valdauó nlols

4 Kegulou Expressiao Va Gda lu

A
hegal o expaesston
oad up f Spei al
a
surg
pallm matchng Symbol
CUser Can use
gulo expressc6n Co cth La
Aegulaexpaeas Valuda lo anaka gu
that Cu coput Covliels cdala
meetthe3 a

port ceulor palle7 2t molthes le


enpe
eo cth he patt em
Suppli ed by Valdaloo
Expressioo po pealy f Ike opeet does n't
matth
match he
he
pa teon, Valudalwo fasls. The
Simnqfo le
Vaucdalsotxpress propealy
mst se
iegulo expre3s tDnota lon.
ASP net povide skvenal stadoe hegulor
ezpress (00s, that can be aceess mg Ga
Kegealar Ezpresso el6a
Requ loo Expressiao elemen

tlemet Sescpin
latthes
chcla c lo ol
Ondiney Characlo ay

Hha ,1, C, i, D,X, tfom


malthes a ChauacG hal
tofou
Matthes omy decimal dlig
d Co-9)
o (h a
D Matebes ny choracle

decimal diget
c h a a c lo (a
Oo2d
co Matt hes ay
anl 0-q1)
olbas nan
ad
Matthes ay
aOepd choaaclio

colmli Bpan
s Matches a
clherac loi C8paLee nerols oe , l a
)
Gy Cbaraclo, OlLo
S Matches
otlispeice eharacla

Labed Matehes
a ehoraelos
included
bel coeco lte brackels
abed) Matehes o ehoaae o hat e

not vncludecd Ho l braekd


byac kd
Ca-z] Matthes aany chaacles
dcalad

etactly
madehe3 atledB
Hoe pr c a eiog eleoest

mattbes out eous n acewna ba


tx paecorlo q elen e 0Y socp
So, Maldhes at luast
h ebut
mo ot m0 190n mocmao. of pyadn
elemey OR 0 up
Matches 300 0y mbye Ocuana f

The11ccudog elumet

Malchs 20 0 ne OCcuana a
Pucedung9 elanoant
malebeg Cme 0Y moe OCcu anC
elom a

matthes 0ng el tpent pevoG

vetaca boa
b a

gaoups d eluaneotu a oppen

Examples lhiad
-Speaie aoy 3 e t nurnbe 3
d53
at least 8 but not
lo8,20-Speues mu

tha cO0ad Chaaaclens.

ld2-14 {4} Speelies


a
2digt number

olle wed by a buphe ad a 4dugd no


CAB) (SB) - \d§, 5 } speee
letfes AB 07 SB folotoed b a b
J
aod a
oe-- five digts
eg: AB-43

Custo Validalos
af e Validale pmvid
a dala Ibe e
Yalidatboo, Uses ea

CAse Cuslbo vaudalos The Ib


vadafn
CUse CAD Code his o d

ou uoe Cadoat is eeculed


cohen
Submilod to toe Cerve
the

he Vai daueo
CUses Codes

Lethuo a Neol haodles or dbe


he Cus lko
Va lidate evet
Serven cobeeved
valda ad Tis 1s ansed
even
he Save
valicda lo Peamed
Use doesmod esus Value
e
(he ceus lb
he asosi a ael Corslal,
doemperom it vaUdaue
val ela

test. hereJex dhe eus &hould poovi


vaCdaG7
a
u ca eld
How maneg Slale

. Vew s4ale

View stali ii on
Asp net-|ealuse
hat posvidesfe elaning he Values
of a Cendoo poopea Las hat
page
change enecuu Lom anolas

a
to
Befee Asp. net seds a
pag back
Changs lz
cCent, i t elet nu (at

po gsams has pooper lia


macle ahe

0f TCa
page and Cenuols.The chogs
That 1s
ae enCocled a slmog,
asstgoec ea hieldep feld Damed

Viel<lS1 ATE a e
lben a
P is
peslid baek 6

the Seo ves he -Vrew STA TE feld is sot


bock & 1he Server a long cocts bttp.2eguest
The AsP met eueve)he poo pealy
ValueS [ m /ue -Views TAT E ßeld and
Tsloa page aod Cenbo) poer la

View slale is not used Yesto ve

da la efened by ws1 ICaooc1boz ay


ny e lK Cod ool.
How to enable Vieco sla le fev seleed Ghl

Set Enable View Slate paR


and 1la Covtools toTue
Viao State Mode Pooper f l

page i sableo
Sed lle Ui
ostata Mode popeng f
Selceted Consoo s t Enab ledd

How to di sable Vleno sta le

To elisable Vecosla e
a
Covdo sed
Emable Vi e o Slate
p" fabe
To dis able Ueosla le er a eo e M
Enabla Wieo Stale poperlý a
da Fale elis ables Vieuo slat
o al Condoole
Teoo Cess wheo oast eliseb
Vieo s la le

a
klbeo resbnng (CoCovoll po0peo ws er
Ob
pog afee (e C a y ycwant
e form
o auy liable lte ecosa
olhenws o Can modiby yous Cadle So

he peg cooals
co tluo ut, Cwoiog 4
Vieosla
= klhe (Cc 3 uu vhewsaa feld
getso loage l u titoffeet
t perfemor
eoslo6
ou a dua6la C
How to clekrm me
a
page
Eneble Tra Ceea lue
for lpagby
atibul
Seboq he ra Ce
af pag
dircetve Page Toue Theo
Sroll douo (a Condoo 7 ee eebeo
the oa Ce OTlyut Ste nuorb e o
wseel (ca
byts Uies sla b page
ye O clala
Hoo to use Vies lat o

AlHho gh
The rm and Covndoo
aved
poDpen
au
eo ma cally
also Scnve Oc
Views la& ized Can

Viewslate This Can be aclh ena


da ta

us
View s l a i Obeed Cyea ad
C ee fad
by (CT Uieuw slat
class To a l h h eNe

SHato Baq
poopes l Cpap
obed cuse Vieuo sla&
Coro oao oopexlus
lhöcls afs lati Baa
me
claas
Prnpery
n0me) T value of ke vieuosh alar
ame
coth speciied
Value a/ an ilaro bat aloe Svt exish

the he laro CYeated

Count The no. of ilaS

tae ColLeeh am
A colleebon a kas fov al (
elarns View slate ColLeehoso
valus er l (
Values A Co lleehoo af
Uew a t Co/aehoo
lenns e

Methed
Adds an 2To
t lue
Ad (Dame, value)
Vieu Sla& Co leehon

Clear () Removes all ooS nm (


Views lat Clleeho

oanu) (C pe.cigied lo ot
Romove & Romo Ves

Vieosla Co/leebo
Stont dhat adds a7 upda Viewslat L l

ViewStat. add (Tonmu slamp alew)

Vieuws latu TmeSHamp")= alow


Stmthat

im
umest amp asOatoTime C&hte( =

Vieo Slata
tro hæl Vtmove Cne Stamt'))
an
lum
iwo stat Remove C"Tme
S4a o").
2.Se5SIC State

ASP. Ne sessio shh dreck


the Sta te f each Use f apappucobao
To elo bat, i t Creatuç o Se3siop kele

objeet hat Condenos a Session 1 This


ID s pessed to he boo wse ane
back e The ServeY co-h/C ext Aeguet

So the CaAden
Ser ve fy (tz Sessioo
asou a hd colth hat eg uest
To wok colthm l a lt n sessioo Sat
We
HHp Sessier Slaa class otnch dehumes a
CD(lu};trr:, oj ~l~b. LI.Fro.! . "To a~s /~
<l'e.3s iim o!j,_,r ~f.,. = fc.u. C..d, - be h<M,J -g, ~,,
c.ue ~ t s'«sitr>::> ,,.,..,r1>1rj e+/ /IL. f~

~~ rotTY> P-=r ~t..~ of _1-1~-p~s ;o,,::,..f~ra.


q,/
I

,J/ Se..M i <ro ID Uniiu.L ID /fu_ ~JO,:;

if-US10") u-fo u. %
-¥ J. ~ ( 'Y)q~e ) - 'la.f 4t. of
c.,0 ·, --fl) Sfeu'f,'-u/ n qn?€,

Cnu t?t
- ~e 0t1,-,, t,e? o,f c. Of"!J.!l vo I~

S'us i o ~ & .fe< f-:e. CJi, II e,,t.A o>?

~dais o-o c.lI11J IE re:,i


ef ~ 7 () tRPrr;, o v ~ a11 ,1.i:c.ro s ~0n'1) 1>; e
&u-:S 1c-o otc1 ~ C4J I l.u..15 o o

~ 7(_uY;>o'W- ( Y)Q me.) - R.~ov~ !Gu... -Ltm · t.o·,-IJ.y


rf& S/ dtJ'4!f >? ,,, me ,..fm>nJ /"1 l ~ s; M :k,, tL
C.4J (ltu,c->?

~Jh o.-1 adJ~ a,.. ~al~ a Se-5s1~ Sffla. ..(&m ,;


I

I
~ s ,(J,,., . 1.2.ln?t,~ C• <! TY)l\) r ·')

{ hod 'Y'ecln', ~ ve_a Of

°)-'} «IY) f ~• C (a,~~-

Di~"

~QVe. '"" fl I_,


~n~ 'rc_ryn eve.

App(,t_'~ l,ro ~f .u eve1> do. [c:., £/-v,M) $~ / O'Y)


o- / n -&. C( n d s ~\.L ,.e_'-e: VY) V~ · a,6 w . "I';,;~ a,~ (p, e.
~ ~ VC\)v(.'a6 ( ~ w~ ,if; r~~'seA LlA-V\

"2N e_ ,,v, · h.Me,.'llcJ' opp Le r_ a,,._ ~ s ovve.1 /W. u.p dei r;:d
1
V'Wvt CLb [u ~D.R. f:__ Tu (~ ~u~ iM ,3 f:j ~ So /~ ~
I

be r)Q x~ l ;;;.R., r It,x pc;.3 e u


posCrd b {).__(._ !c. sew-<. rr ·
,tJ

; ·(pd) Sfei (c_


2-J ao:,
f/Y) s~~(at')

wc:fh
..
VY,) a.. -~·W?g_~ r~ c_c d c.. l.,-u: UV) ~1 0 a ppL'-' C£t,,h'o)?.,}
r•?f'lj UA, 0d Q
,~"'c7-/Vc r/h a.t:

f /)-\) c e cl :1--(: 111?0 .) c · Iho r-,


•r Cc:~ w.....--iJhrfn
- -- - - -
- /h oL( e,,1..11~ ___. •

" r•e;; 5 i C>? S:' {u 1,, .,,


on p?b (__c:.cl u ';),-( l L)_, e.,8 /(Ct ;_ lttYJ5 (/)") ..)

:>C: '1 r...-, r ,/ r: .-{t"' ,> ;_ (Ff'Y"'I


U h -C
,
e v crr{ f?o, r;rl / (' 'l s 16 ,,~ (" to./( -/he -!Ci•m (ft')
,(_P.109
ev (?J) •/ /~>c~n cfJ f <' 7 Q r> J ' <;<>. I\/ .e /Cu_,, ~ do {;.rl
V o...ftA.l l>0i. c k -(()
I

, Cfe.A ~ I ()Y)
.( -I (3J le (/Y) 0~{; rvl() 1
~v ,, 0, / J)tlnc/ I<' ?' •

/._o CLc{ eve ol b ') ov,\ ed b cpo'>e 0/):J ~ ft,;

o r;c/ 'Pu~J)d, ,..,


uy•;,rf~v l Q v e 0 I6 1)0J / (_µ_, f r>- ft€-
. (t;;__, Qw.Jro0 {~
~.ven{ l) -?·OJi f.' e eP 0,/{c r1 o. II

AA~ tb r J-0 U J, ff' J,


e v e.nfa ·6c~ /w., prA~e r?../J)

0 ,~"Q co W)t ru j/)-t1J(',,


&.1,b p'1! _ Le,c, J (

Pr;ro fe c.-1e4J c?c.t b ~ Pc -s( _ c Gck ( ) I-kind les

( ocu)t t =: )
l,
• La(• e
1:::>
r( • 1 e x c:/ = I\
'J t', l t r ( ,. r k ✓~ cf
,, 4 C. ,!,, 1 r; I ._A)
1
,,
-Crm <'.J
1

<o->cP £ u b

BJ af q QC,( lt / A-.$ p . 'VJ_p_t .s UJ? U,; / >-':.b::,. C ./)


I
S-{ a fe &o.. ,,,.'-V I'
(/Y.) g€? Vt' "I II') (! f>?I.) d o ncf r r,;,--e,
c_ ,,,. ,.
fl../,)

l.U:>-e ?' SU!>s ,~ V . / ~~


· UDO b ·eJ!. . /J s 'P . / J 2.'1 0 (_ ~!U O tr(f
p "'1) V j cl,!, ~ 0 f t.,_o/) 5 t O -;,- ,5;'.f-o 'Yi r,, ~ _<;' ~ $ j <1',:J

d_ Ct.-LQ..; a r:>q
,.J o< Of
LUI
_ r?5 -to~ c~~
f..
e h_; d- ~~ .s 16Y) ID::.

_/ !: u:_ op r_,,:;c;s _jj o-r S }:'rn ';{j_ Su s',ar;

-j( ( 0- p rrv .U/2 S ~cPe ( di:j~uIt) SU> ,;e.,g /2 ~.s i a-'t?

!I S vo Ivie

'"Th; .r ~ c.Jcu+~ ble

~Vvl'tJ{e, _,f_..J <:.M-ecl 0-o"


se:gg i o-0 do /C

,
tT) t.9'e r ve ">' rn e.n-Jct "r3

~ s1~= te.
c5e 7 vi , U · . '7-{
~c, /Iii.

he

a_pp L. c_~ Lu-r., ..1 { hD.1


,,
..;,~ -( e'rtre ?' .

I~ u.,ge ry

1
8-GS~ i t7Y>~, 1-1-o u, e_."l;J-e,? 1;f a<.. b-,rvu..JS el?' clo~ n t
S'f po?)✓t ~ 10 €-::3 / -I h-'r s rr> e lb Od d (!) ~ -n },-I u.J()?J h..

I'D
w o '() b
is -e.?U> cfeJ

ca herlh<?
a~
o,
a
r ~ oJ t.l t.L . Jf
00·!. ) Jx b00 LO 5C '"/
o~f ~?l5 U,o /u~ .
/> <f ,,,
AQ rt> &Y) VV/ g ,/).,R or-U 'X n? VJ t b.f)-Y ~ II (~
J e_,)}, S , ov:, S( c, I~ 0 0 dv, ~ l ·c:R er; {:;_ca_( ,J £D
-1 cr, a/) appLJ {CJ.J."io.

a C f C\ ~S~ r / f-,a_,(

/ ) <?YT> V ) cPp ·'";1' •

y I-lo co to s et

U s~ -Y C.t~ I') ad<J


we b. COYJ~ J ,-A le ,

A-lrf rn bur u of lh~


c_ue,b . Lav)P,J r--_A le..

e>,ff J l0 P?D c.. ) &IC! (2 ~e,,-v-e7 ) S'~ L ge~v-e.'Y 0')'

CLJ/2ti"co ,
c~okLJ' ef eg~ Vo. lu .e rJba--/
p
s e.-u ~ 8 w k, e_-H, e?
us eJ . A uf6 Oe,1-u_,1 C.-L,~ ~ Lebo 6 ~
,/
lJ)ge u'd")

~ CAe cJ {;&i'l 3' .Oe{ c,


0 L< /-{ ', s U '!e Coo t'. ~ ,
1J?e ,., ,. .
LV
ar ,
· L-
.rY;> fr) C.{ 1( s a Se..S s '1 "_./
ov--.

6e. a(] U~rt

d~c r·( It C/
'
J".: o?o .
~, C(r el <rr, I')(> e,-h Cff) Srlr;n J - '!°he s~ \I e 7 ')')?, fl)~ (1 ';(

IP a.dd~e-8-~ o.nJ f<5-;;4-v:> c.ur.,b~ry e,f ,.f&:_ ~v~'>'

r-J~ec-1 <;;Yu,"?5 MP · AJ €1 Sktle !?G?>v·, c_e_, . ~s

ru{j<Y) k,,-Je \~ / c.J ~J <D 1:,,.,, S'--krl,. S'e')-\/<!'>

rt)(!, d·e. . ',5 us e1


-'J< s'"[I ~,-,,,.d,ory g.{,.,,,nJ .• A uYJ ?e£,h (rYJ s-inc} -f,;.
.-f~ IY).$~-c.<0u. ◊J 5l)ic SerrVc>Y r-11->cA Csn7-ltw,~ (~
JC(.i::a, 6003-e.. ,-Je:,(tj- ' 1g CA.Se<a) ,.Jn s (c,;.e --4-he- ~ ·,~

S¾te- c{)0t.1a.. · ~ s a~lt?Jbe.. t-e.., i<; 0r4Jr~

C.O i,.:,e-:, ~L 5en-V'€ 7 roo&() IS U.$ e.ef

A-flow ~~'° s11 ·D[4 ocbei.~e _ A Goo l€.4'Q Ver/<-4e

.....fho....J o().,_ ,.,-.....,,,,.;0 e, 1 '1 h e,


.r s'i Ic.,.,,~-1; ">? S,/ J
6'i-:, spe.u1' d ,-/he__ <:><i"'J€. af .-fhe- ~a.I«..~
~ e.d ~ s-h,'o'e 8-J.etf-e rot~ h cfY) • ~ul+ ·,s

~L¼

-K &,ry r,,..u.s'1~ ~o.b1 e4 - Boo I=~ V'1 Iue ...fhc,A

Je..--k,,..--o,>:>e. 1 Seg!h (7Y) .:.-fqte d"~ '1h..hs


0zrf Sin~ -e ~ (,:T:>n a ss 1s Cs-,,, f ..,,-e.,,, k d .

.l)t ul! ',s ~,(se_


A ·Db
r r L<.' c,,,r,a
d v. - , l, Ju.
I " S (_
n (-, (
A

1-,-;_
a., l-b a~
I
u. SI1 I I I(
/l /Jf) I , ( .- * C\ "") / {1 /'"1('1 ( 1.
~7 -r u crt ,rYJ

~ Lu.//L't a

Clf'f Ci. C:-l.-0 e "O .

C-lfP(.l,~
./co lh~ p~·
r-rh.v:> 11-sp . Ale.., CA-c. Q m 6'9 a.rpu.·Ut 0,d'()
o&eel ,f<?D /YJ -lhe H-flsf 4PpUea. U YJ d cJH . ,---n,,;, .s
o!jeel. e,x..{s t {o-Y lh"e c:Ju.-,,,a/_,_'iio c.-f (h ~ a.ppU c,,C,i~ .
1
(fr)CR. Q;? Ci.fpU ea&•;) hM &lrn,{;-cfl,, clov.?J t- a
o/Lo-.r>?et.ltg e,,d C/Qt,. f ·-/he w ebge -J v e'Y U 6'1,t.ldaw>;;,

,:JppU ~ Wo S'fu!- _6:?Uf&,


-::11) ge,u ~f.e,J, 2, ;(_ffrns VVl, Ofp{.,'~"- W YJ
O{-a ~ -lh ,.e ..R. &ms eoc Ct vcJ la l,/e (c, al(
0
4:/
/ I

u,1,,em (Jie, a.pp (J_ c.eJ.i"i¥J . A j>pU. e.,._ +;0 0 c(-/a/ t- ,s


c,;J,c.£/ t,- s &;it. cf a (it, c/J, ,,.,t- c/1ci•c1 e,j
tJ 1'\c,,,, /(g- b (( t j_ t'
1 ,,.
a.
1 ·o be CA ... ~ l, / CT)
17;f> "f ,.:xf I'cf
L ~ •? V)

r <-< 1
<S'~ dale.., -lhd ehanJ v, iM = app r..,_'.e,;..t,.,,,~
e?c.e_~u.~ . --r; u$-e ~Ait>-1" Cl.fpu CA.- ld'O :s,,'ti ti.
/ts'!'· Alta C. n oife/2 0 'J C!/JpC, =t.,-;,o cSG /!:i_ ~~
:t,,Y ~ cy,plic"' e., "iYJ { rn= H#f 4,pl,_'eP.~
C!JJat cfa,ss. G✓ <.f t_;.,._e,8 -/{~<; e; f:JRe.f l¥) -~ ~ve -;r

l"'Q <1/1? {j ?__J .


LI= Pn,t' ,,(, l',)J _ a£ f-/ tip ftpp_l._e.P',. WYJ
---
r:¼ t,, ef~s
- --
~ J. tf-«:> ( 'Y)a m e) r <J>x Vet) u e_ Gf (~ a.pp Oea (./io
S(-afu d,ro codh /2f ui./Ji-<..,4 ~= · .'lb
(f u. !?.ei. _./1.,e_ v ~ oJ a0 .L IF.m ..ft:,eJ:
J __ ,,
~
rn'i e~-t / -/ha-t ~ ~ c_yeate.cf.
uunr - K/o. 1 'e€Jro5, Ch') /Ix, appu~ (.,:j'I)
& -er& C.0flD-d }oYJ~ ·

-I( M cf ( 'Y)Qft/e , va,{ t.U) AdJ M duo ..fu fbi

°fp{J. <'A l,;-o ~+tr& Ce /i=,F-5 dYJ

eJe,717 C) CiaxJV&> a.fl ~tiJOs ?«J o.-ppllc,,/.JftJ


&faTu ~ (w./)aY)

f!.er,·_xrY'e. C0~ me) ¼«:>t5Vci r/·fx. ,,e..[Qf'O t0-dh fhe

~,~iea} o/l&ia)f:, I~ °'ft c. CJ.),_ Im; g.h (;;


~
llR. etf) o'Q
-:x k c !c CJ ,~ .&Jck
I
¼ '-' c' " " ' l ~c . II" f1 f /' {' r ,,.(' ~ ' ) !: ( c, tr CJ~ oc ~
~ ..<? Ce ire .,f. f(!m ~ l f ,x { ( \ ';I~ ( ~, rr') -.'Y,)d r) -tr., oll l,V>R ?S

q fh(l., apf l,{.ca C, ;->J r 1'


I (') Or'r_11,;, S · ff >~ o f,J/i .1 f'>.,0 ( _, t1r>
,s;./-a t,. 0 1;) ll c [ r{rr< c,, Q
-/r, , r,, ,I,, - l,, h v-; ,p fd"- j--y
Oi'J /)57; . A.)e1 ~

fCLg£ ·
)
A ppU u. c,_;/) f>'·,o/'' ., ~ q ( (;,-;

8 e107J e.. t/~ (,/ -:·e.,/,n <. v <. ..../ he. v 0./u .e et;{ c,,:;
appL,,c.a.1.,;.-;, cs>-f--a. Ul. .di;;ry -IW ({''-'- ~ fmJ ti;
n;?a db.Ji/ 1 ~ -du, cdcf &idc -/h.Q.. °t pU CA liro

,g/a fR_ (!rfj Q.f'. t .5'6 e, /ku, U$e-,' &, /J I-{ /-r,;~ cl,_ (ff
-/f?~ OfI 6-~ &;O · ,g+ct ~ cJQ (i:/ aJ flu;_ f ~ ·
A; J"-Ol!Y,) 0-!> fr4 fu/1g b 0oci,_,6~~ II.ii
~f U (p._ltsi·-o ~ cfo,J;;,,J ~ u tu,, u.lc/ !) UJ:> ~ d::...,

-a ...ppU~ ~Ci.ti _~R.d .fo a I~ u.,s,e ?1,

r!.£;,'7'] ~ ;J-

eve..0 f-
......
1/ £J f p ll;CAfun_ ['r;,J - !hA s e ver., f_ .u r;;- o
Q.),Spcl

00b O -u-f ~
wk.a a 0 a--pp u c_c. w~ .-'.,_J

LIA e..t# ~ U..) AJ~ fo_,


r <?')'7)? V>'1..0 Ti,_, , :J-/ C C-1 of? be
-/he \/'c'.:< f lA.V> (J)b a ppli.. r11 u ii O --6 (c,iJJ ..,_(J;;rg

t-o d c1. ti"' b 0v11z~ o .-\_., f ,~ .


~~s ~ 1 m _ S &o ?r{_ ~ ,~ » 7
) ~ Q/\/..f nl eu !:.Pep
W {prJ OL WJ.V1 /2e-H 'l QY,> h e~ · .I--I r c?

De;?. G,v!, e..c.f fc, C..~ ,.. Q cJJ~ ~U:,--&'l . <1-y;J ..-0 LO {:i,

__dpM.s ,,,J u.r J ab., etpplLuk~ 6LAf:£ .-ehms


~ -y ~'y.. ~7 O<.. ~ •

;::> ge..5~L<n? - e-nd --- --rr.,;,s ~, .


LA ,y~~

. a
w~ a ~ -?' /2-e..-8~~ ·µ ' ~&,uf

-te_ ,.-rn.,J // a Ii, ,7,i; ~ (!A/) be l-{.$ed & 1rru__


~ -0 v t./U..R-,,f ~ct_ bd u..J.e/Y 0 .l\
& ~8--
-Hu W-U}' qf -I-he °-/Pt,,<?P<-~

r-J'o l1?c°CJ.al!J ~ Vet ( u..,e-8 c-f ~pG~~

cS--la t. ;d;;-os / --n?S t add ci. r:;jl0Co./. a,.aax p~.


rf(J a d el q lb ba (. ~ D t;t [__e_u I
/2(__ e.e t. -fh e__
k.Je&t_ l:i ➔ AJ cl f'1 e,t:.u f-fc_ co Ce,'(Y)-,T.l a -tJd R- ~

~o ~ - G'l~ bei.f AppLl.~Cuo Cl<A½ "Ga, p/o/fe, .


] ~ p<n>vl Je.__s ev~1 Sta .J t.., ~ -1,<n' cy>Pu a,,[~
e \J enV> . '--rl?e e vv,1 h~n t'.'~ IP;> S a ?-"c Ca>&e..~
t.u·,·lb ~ C\ 3c:,>,oe{. e..__
<2.t <' rY) (' 01 --H-x~~ d4),niA
Ce> d (?. ct, cfC\0a L-;;, .-J bloc /~ ,

'o)c/ S4 b

6 uh A-ppu° ce,W--0 _ 'e,,J ( - . - - )

~ &t4b

<( / gc_'")')ort >.

1 . C0ot_/~
ll (.f/;6 k.J "e. vl.J ~ Q}@n-x?, I I/ (!,L c~ pc'-.i-Y
r-fh{!),-t .u ....& ~ ~eJJ aY) d/ U?·-/}s C.0-rtJf w Cvt . A

we..b o...p pLi.CA (Coo Send. g a._ Co o lu·e. b, a. b?Dws,,y


V io._ !-ITT p ~p l?'VIM.,- tio ~ lime tL<I
b('r o w U 'I /).t'r) ~ ~o /-/77 P h?. ( u..2./2t {u; f es;_,

0 fc/ l V-e.-7 J ,{_ t:, a [c etch M a 1 <:_o ~ Li-€/2

CV.,,S-0 <:; D UJ L(:.I rfh - rhcrl t7(:' /)' V C/Y -


A vi o f_/c
.
-----
I

I
ti>? C.n--:>I ) '.);j c,_ I C ti (& Ji .s e..& S I rrr;;
I.Y trv r,o Se ? ·S

t>e_c Cl l.~ .f ~ v ~ t.r cm I'cf f'-('J -;


- - - S"f' 8. s I G' 0
cf'e--8 s--·/(!Y) · k fI)c0 I"ic b r;n; UJ~ e ·J
<::/A o.J.
e,,, c, k_/ e. t: ~
ends, -!he <!.c,? i ;J•l of Su s t'= q

M /> · A H 1 U8-V> ½ ;; ~-
le st · ~ c,( ~- 0 ltl t

ID t.e Y a. S e-s~--c.JO'>'?
.
u·~ LJ lc__opt <?-0 Ii
A f-?._e7n!-1 s-l e.ot G o1
'
,u AR..---f-e¥)' 0ec/ u~ ft I
I & nd d
w ~ s ~ le .
e yw,-a [;'q--,, daTu ·
-the e..o-c u e

r0-f6rm<Zl,,,~ ~ ct ±

~o -!he. w e~ d (JY ) a I:

- Lt a;, e -- fh d v ·, s-c·-1 ~lhai


~ ~ n?a. G..uo e&..G h
Le>O L e
0

~ e -f:p
we.,b cf~ . k/e_ e_t ,r) a ls -o

cg-fu )-(> _ ~ 7f"'IY)Q l.:o() -fh a-:/ a (Co -c..{) ·~ l I <?_?1 on aCJ

pe•jeA --M~-1 a.,.e. c. ltr ;p f a .. ~ ;- ,,


-!he- w el ,

~ l-U!:,-er1' ,
a
() 1~
1fQ f , r
t?u «)

I I I { f L o o le.. ~ e r I t't. ...7i s-

~e_cu? e.
w /u,r{ f? ery

(fen t- <1,:, I::f W f...n a, ~ &,, ,., <.I! CJ;,

.h wed'
V aLu..fL
A cS7•/,r, cl V,e ( u R... CU>·¥),., ,4 -1-o ({d_

f._P>o (ue,,

w e,cf f.e c_ ..,., a Tu, Czio Le..

Afew H lif ~ t_;t- Cn a rne )

Afe.w HttpcPot0e.. ( 't') q 0e,, V<=i f t-/2) ·

- -w - - --
o, r() 'Y)tl'Y) I', C.,,'l) b! A-s ,_J, {--H{ p(_g, 0 /ej ~ t (1M -(Vl O.M..D ~
uJ,.(..'iVl Q fYL-lJ._

-' . C r~1,en-s~sj-,,,0~ Ca,_olL-1__· -L


_.
~cu -h~-Y 'Ye ~-n ~J-1---+-~ ~
D ,½ ,, ,"') e... uo t; e. ~ ;J P /+4p u, c t ;e..
(_~, L/ $« ..., C-,t>')' q )
, <y)~ IY)e COio Lt e . v{)( (u ~ == Use r1 '>? Qm e. .
'Y),;i M(? {p,o lci e q' "f; ?PA - /\. //1:J co · /\ rBJ er c,r )j ('I?

H ou) -lo ltJo?k uJc/h (,,r,l:.1r> E.


---
I le'":-> kc c.J ; Iii Coo /- ,' o ,, ll--'-' ~ff ,. ,nr ,,,<,Js
h
0

a#)cl t ?T> f",;, t.., Cs 9r: I;!_( {r (o,o!:_!._.e ~, /Infi'!_.r; (' &, ?'.
<7he '"nc. a .,.., ~ f../v'V>"I a ,., u.A ~6 I-I Io/ {;., ob e, C,,J{,,,;,_,

clt:v1s

"--
r c) CtJY>r/t>JQ5 u /c.o_pncr0 of ~c)ue:1> ib &~I t:Jc..,1e.
bU-<) /2--U)6 -{c, /he. cf-e_a-ve--Y r(t?roYYJ c Gttri .
'/)--J / S CA /I ,u..,f, ,m CiM & q U.-V! Hi'..e} ~
rfh,._ G,<> V es rfq~!J oJ /-( 11:p /<e1cfol,-1 a!:J)'d

( ~) &-.? ,+,,.;,,s c.e, tr.u,,F5 = af c,,, o kJ fl!, I l:P.'1


~
/I_ ,.,fJ ~ ~ l ~ .-n
o~ / ~ t _l>ae,1c_ --u lu
b= c0 s =. '"1J, Is c.e, tw. ha>? u:i .; be a cw~

wVV:..J ~ lc,u rr=li OJ Hifp~ t'-


a rY) Y"QOf) pf7fb pedi d
> V

I{ ,u-r,, (<n ame ) _ '7be Ct, o k) e ~db .J"f Wbl eJ. .r;a m<-
[ w,e.& --fn 't~e,,. e.. Uo 1:!..J'!)

C,y~ No - °{) fur<>/i,<22> VD I~ o. ituh I»?


Me.-H,od
X A-dcl ( LC; o k..i' c ) n

C/CCi 'il ( ) nit fl/,

ft, I' ( I J Ii I( i " uJ·, /1,,, /ix:.


r ri II,,,- A~ 'fJ

,.
("Jr /4

-I,~ /1I:{T' 12 C Tc.-.u (\ by e l


P,7 ~VC\ /--;; £ c1 b Add Cno k_,·e ( )
/') (3 0')(!,

o/)O)d) e. , fxpi 1ou. = A..foc.o , Adcl'-/ u,~ ( ,)

R.e&pCN1M__, G, 0 k:J' ~ · A cl~ ( /)(;1 M)e)

t&xl~u.b .

/\.Io+e_ : fo delete a pe o/S 1S~


0

n-t_ C0 e tc..:i e J

(!_~~ t-'2, Q eo c kJ €. cO~~ ·-4he. 3 Ci' «Je.. n (J en <2 crs


-+he Coe k:J -e.. cfe~ (.Oq r, t t::D e::!ie? (efe ancJ ~ ,J
U:S C'X_r t)'I e,s ~f C! 'o 5
I to Cl ~l "'.)e --l hl'I ~ ~ 0..5
~• ~
1
a.1-,-e..e, cl_j p ct S<;,e et)
1
'-'\J 1u.r, ---l-1? e c. C.i e..r) 1 .s_

.S\jh liro J e ki t& rf½~A UD'O ~ e.. ~M expr 1?l j ) t.{


<1 d~t.tll ~ 1
,. ' ••,'1 /n I 1~1 lh/

t /I I ' I , J, , ,/
1
r ·
I. r l , J '. 1 a(

(i t U ~ I J ('f/r \ I, )
(
~ ,R r I J, r I C 1/IJ
(_
l "
'
}"1( f {J ,, , ( , .'? l r 1'" \ • I? I ) ~ ,I,,I
( .. C~ >) (
(.,1 (J, ~ ',
l. •.
~
(')~,(')"~)"'()
Cl1\I)
•6''n CY) (Pr>r> r)f'A f/1'
'
. .
_ .._ l, q f' ~ ) ( 1., I" C() f1h

ID == (I /-/ ,l i )) "r-u0at

,,_,.:,i v1g ~ u';) ( -


O I\"--' / pnu c) U. et_. N, f ?t.. ? c_a f == ,f''7..-

~ p=d = +oaeJ 1 "> t:oJ <(UAr iy--_


=) ,S.-/m-t -Jh ed ~ e ~ -e VV3 4 t..,.1 ?'(('~-f-n~ v 111 l uJ2.- _

D rnJ C.ot t- .f-lrnc} -. f<.e i v<..-eht •


G="t',h,"J C" c~ t 1
Mocde
A lntovduebono dalbase

Tudoeueher ta elaltnaf doelabase, oo


io
evch lata
to use SOL to two
t te Da e7
dondceen
daltbase he
0 6to
Hoto to cse S f clal
Sour
ta
andleed u
e Catern Slate mentt
Data binding, QdJancad
Dste is Costanls,
Sq da( Souru
featuaes

elauenal
dalabase
dalabases
to
An tntvduchoop
elakal datwbase cUBes ablu
A
Each
Each
Stwre and mant
pule& dala
one ov moe eeords
table Consist
hat Cotaint
valus for a

07 9ows
Cntuins o
oo e
ne
Coteins
ow
Cach
endy.
ngle
tngle
a
Columns eAch
o moe felels

Co lumo Yepreseotog
a
Srgle a To of

data

Mast ables Ceota a pnmay key


identiies each 2ow

bad uoiquely Coosisls oof


Coosisls
able The pn'may key ofle
a Songle celumn but f cao also onSist

of two more aolumns f a pnma

key ewnsst of 2 more columns, t


e

called a Cempesc palmay y

i n adelihon to poma k Some

dalibase manaament sys uns elefns


ane
a-pmn23
These eys are
Celleelocgu kes
and hey a inplananled usng urra
key cnsteuo a poimay uu
oiqu ey uncguely cdeotuhes eacb 9ot
a table -

Hable Ca also be depoed


oth ohe 0 moe Cinclexes
t aCes
mdex poD vicde an effient evau
based on dhe values
da l fvm a table
Ao dex is
Speaeclcmn
automat cally eealsd for table's pmma
and poo pm'may ks
The tables a a dalabase ave
elalrd each olley

Eey Columns
foT: table ca@gove
o7 e Censide
having e lds Calegory D, Name L rlere
1s
o s table pofnar key
Conside a i t tablePwdude havma
hong
reldpwdutt lD Prd-pamm, Descmpt
CatgeDHee pimory key is duel
I is exomple Calage D Columo
isused 6o elalz Catageies 4 Produi
tables.

Forg kyts opl ne 0

more Coluons atable hat


to
posmany
ke anolhes table

ables ane Pelaled via


a
khe
toveigo key, he table corh forelg)
tey ejeo ved to as tureigo ey

Ea ble a od ha to ble ad7


prmay fey
is ea lee pomayy ebl .
A relahon thi p
be lwun do bles
a dafabase elale Garupoods to
elabens bsp betwao enuieh
Teprents A 4able can bave ane
to-me
One--maoy, man-
many ela umsip belwe tobls
To olefhoe a tolumn a
table,
a8 pro perlas o At, Tw most
in pa otant poopies
Columoa
Columoa9eoich
name
pavyi des ao tdesh
o7 he coluen Data ype
and
wmb spee the pe o ro
Sored mHoe columo.eath Clu mo
demeboo also, mdi calss wkedbes ov
not Hha Colum cao Crotalo nu} vaues
A ull value inelieales 4bet Hhe value
of -Ihe Colum is met koown

A Colum2 Can be depod as


t deault value 4 Colmo can also
be dehoed as ap cdtle Calam).
ddentlyd Celuienoie a numene Colum
chosevalue is guneroled automate

cwleo a vo S
adeledto 4he b t í
Testi ct he
velue at a
6,
defoe check Costaint.
Can
hold yeu

Hoto use
QL work o'rh
Te latenal database
data a

slandard
AHhoughSQL s
a

beMS s CPkelyto
langeiage,each
diakitishieb
bavets ow 6QL
meludeerteostoos& Hhe tandaad
cuwe SQL,
Socohas cwe
lanuage fbat,. he SQL
dialect
Sue

DBMS, Micoo soft


ppeEd by
dualeet:s Callac
SQ Servers
Tensaet-8Q

uey a Single Tables

Syoiex Seled Columo- Clumo-2J Pao


table-1 wheve Selechim-C'tena

0vder By CakurondAse|bee,Celro -2

As Dese
: Select Pmdut (D Name Pao duet
whee ae D pops" -d by

The vesult of he Seleed CHelemen


Is e3ult able
a o
7esult Set is
a iloita
a e a l set of os bad Coosist off
al af-lhe Columps and o s equesled
by 4heSeleed Siateanert T6 select ol be
Columo máable , use asirensk C )
u plae ofColumD Dacpe A gesut

Sed ta 4elude.Calculaled. Columns hat


caleculalèd
Dv ohenCelumns
are

the table.
movetables
Toio

Suntax
Seleek Column-list foable- ooe) Iob
table-2 On
table. columo |421
able 2. Cokuno2 bere Seleebep-
coeia ovdni By Cokioo-list]
eg Seleed Pod- ie, uoit-piu
mame
Categeses le Joio Prcduets O o g
Cat-10 Produets. CaliD Ovdn b
Catage es.
Cad 1D

Corobme dala fmm ton


Aoi .
mere tables 1oto a Sgle vesu
jo 13 a
The most Commo ype
inpeo2 This of Joio vetuums
ype
H eiy
oosfow botb tables ooly
relaled Columns maleh. These matehinq
Celumos are Speeiied t the Fro
clause ofSelecd elause
o atebk
Addupdafe aod delela data
Syntex
Add a ow

losnot
,Isidu
n seat Loto) teble-name| {Cotumo-list)
values
Values
set1o
osest toto Caagoies Cat - D, alane)

values Coo d', Spookyfd')


updatz a ow

Cupdate Geable-oame Set expressin-4


L,expiessioo a ]..here Seleeh o
Cn'tena
eg: pdala Caag4hes set Name Ca ke
where
Cat D food
Deleto rows
Seleshn-
Delete fmo tableo omeoheve
Cn t e a
here
e Delte fow Caliged e
Cnt-1D od

Lnsert, update and elelete staloests


are e d fo meoteu dat io database.

+able
Lndmclushon to ADO NeT1
Achin X Datu Objeefs i a
pina
he Wet Fen
datu aceus AP) for
hat ave
1t pmvieles the classes
cwhes
dalsbose applaG
usee levelop

Basie ADO. NE7 Objeels

Net dalT povid

Datu set

Dateteble
Adapted

Comoand

Data bst Conoecho


Senve

|Oatabas
o
ADo. NLT usos ypa af objeets
a ccess the dala a dalabase atd

() dalSef

(2.e dal poDvide7


Dal@se Caotains Gne e catateble
and NeT d a t povides Carteios

adapter) Cemmand ad Conoe cthoos

A dalseE Caotaios sores dal&

calabase So t be aessed
fmm he can

by he pplrcahoo Ne elata pvide


dala tbe
obje eda eve and updal
datu base
Toedarere data feop a databa
and. Sore dala sek table,a
mthe

dal& adapten obleds ssues Seleef a

stalemeot thed s Stored a Cammand


objeet Ale et the Command objeed

uses a obseet to Canneet


Conneedon

to dhe oalbese and elmeve dala.


Thetbe dald is passed beek to dhe
and eseh ctoses Hhe
acdapten
a table colth io the datasef .
date
ToupdalE bedalE he
dalabase he dala adap objee
ssuesan loseot, upcla 07 dele
ta lamet that is slbred iD Cammand
ohjeet The he Command objee uses
a Conoecho o lennect to he dalt
base
and apdali e olala
vemais
The dala poovide
ConveelEd t e clalãbase oy
enough tovelfeve ov cupclateA
Speeed dala Thes disanneel
E

fovm he clalabase and beiappiaf


Via he
7e
werkS coth he dalä
is refered t
dalasetE objeet.This
as. a
liscooecled datt aehi beeia

olis Cooneelel dal


ConeuY7en y ane

archi teeluee
arelinleetue deee
s Cmmeeled dala
Conoeelion to
a C o nueu
Tegure
dala.The
dala soee fo7 acessm
is theCoofGct
maio dis ad vanlage lzoo ov moe
whan
hal can ccu
wses reti ev andtben Ey
a
updalE data Jhe Seme 2D of

table is is Called Comcurcy


pwble.
By defaule Aoo. Ner uuu
op a m i s means Tbat
CuTey This

checks & cokilhe he


the Pgm See
ba
dalabase vo bat gon
cupela ld O oletelzd bai bun ehange4
Sme was Aedri eved. I4 bas
a Cemeumen y exceptso o wns and
ie cyda ion o7 dalelao Aefused.
paonis lze u't
Coneuinu
doesot check. Sea
e effeet the Pg
cohedhen a o has beas changec bepb*
an pela lias oleake ta eplaee a r
the operauos proro ceeelsco h o d tocon9
an ex
cep ltoo h i s is efenaed o c3

last lo cons
awoic)Comcuraeny 290S
Ho co to
optomrsSae meurrncg adegua

ses adalasef Co
a pmO -lb
h e 'da-la basc
o cpdalE
e deszoe
n d eruhes reua
edmevesnd
So
Xdesi3o, a pooga
me
a t a dame
Colaa
wihot
Hoo to coor oih d a l
da acdapl
NeT data proovides

Daa Reacled

Select emd Databse sn


deabee
Comneehan

Insest Deletz o0

Cypdate Crod

ADo. AlET 4 elasses

Sal Conoeehen, class


obecd s equred
A SqlCoonee boo
toestablisb aCmneeBa to a SpL Server

datubase
Po pesty

CGnnechroSldoq- Cofeans omab tha


Cnonect o a &qlserven daldbas
4 1oe ludes Svenome, dalaba
NArDe and Cog o aliso

Melho
noeeboy é a da labase
Ope- pens a

eloses a 1
clo -
2SqlCommad class

A Sal Conmro and objeedis used


Commaad against a
ereu a

SQL Serue da la b ase


Paopes
Connesöeo The Sql CanneeS abjeef
t Cmved to 1hE de lobase .
seel

Co apd lext- Texd


Prcedduse

Hhe nqme
a fov ed

Co 0drype AContan
endmena Boo

aehoo OF paasoe ter


Parameles Co

edByCarmro and
Method
Eneoile aqua
Ereczte Reades S e i C a lR e n d e
reum Tsklt au

E n e e om Enetes dhe C Od
Tepresen o.

affped

Sealas:eecula a 9
ef the dia
Emecutu esumo
Yelms
Yo elumed

Sal Porrames elass


oble
1omeho
Va

used fo ass
Sq Comanand

pes Name Pavanels


Porepelid N n
Naua oifnd a
Valu

SReade
Dala Teade provi de voly ead

toa dba
torronod Gnly
be sed updata dala
Cant
he
wth
Item Accuses 6 Colun
pei nde o name

he euTTent

closec beeleoo Valus H n t


s gb a

veade
uneenlo
nctl d a l idali
elosed
Metbeds
Raaods next ww
Rend

close
close daliveade

qDali Adap vetieve dalc


s usedto

dalabase.

operues
Seleet Cwmaod Seleel Commard oheef
Shmt
YepresenEng
Selees Gaeb
daba

Delete Camroaod

Joset Goman
pelat amma od
Metpeds
I Eneeula he Command denla ed
4 onds
bSelecd Comoand pmpes
dalased Objet
sult v a

:Ereeulz Comoands kebeoied


pdat Coroad
ut
Delu Cowmnard,
b a
Camoarl poopesb/es
pelate
90 dalcset.
Hoo to Use Sq dal Sowu

To 9et
get dal fro SqL Serve
To
clatabase, Use SOL dala Souw w

sote Creat Sq1Date sow ce Condal, d'rag


be
he Coveool 409 ata gvup of
chooSe
Toolbex Ooto lhefomTheo
So m t a dm he Cofoo/s
Corntigure Oatu
Smart T a meoy and procud

he
Arorlher ay Creet S IDataSne
by Choo te Data Sowmu Caoand
the Soraot tag meu a bmdable

Codnol klhan cwe use thas Camm and


a olialog boz u dusplayed Pacm hn
cwe Cao Seleet Datubase lcs and
pooceoo lhne

AsP Code 8ae7alid fo basie


basie

Sql Dalu Sowe camdo

asp: Sq!DataSo we DSaldb1unat


SeTVes CmneehooSting <$
Cenneebe oCongs : tallowess Cansab orn Shnng
Seleet Com maod
Select [Cat-1,
Calame) foom| Caegehes] drDER 67

Jame
laap: Sqiedata Sow a),
Basie Atm bulu
D ID fo S1DalaSo u ndav
Runet Mus 4peib
Cnnethon Sn'oa .
Cannec hon ShongThe
ProroVi dey lame : Wame of he P v
prooVd
sed to aceess he datubase.

Seleet Covmmand: 2xeed


Sql Ca mmad e ul
dalsowu t vdmee dt
data
the

T Cenneet d adalabase Foy


must Set Hhe Coeeboo Stiog popa
to aa valld ooee boo Staiog hle ca
cek
Ceale a leoonneeh oo by
the Meo Cemoeheo butoo Can usee

Cmneehoo. ASP NeT


preieusly Cmealiel

appa cab' one Sdores Con nechro g


Ct- i eweb. Crptq ile
To redor eve dat m a
dalabase, setSeleed Cromand toopen
coth a
Sa 2n To Coofgure
a selecd Cm maoc use a eug o
Co lumns
SOL Statemet 07 peuty
ton the table

da labase
Yye cho6se fo seleet he
Co lumns ant
dm a table
Ve Cheo se
he tuble o View
and Column e
and
coat
nelm eved
kle can also wse tok WHERe buto
to
SpeebSelechn Cmbema and OL0e
eY brtlro t
SpeySosung o der
ou Choo se Cusim Sq

Sea lument, the next dalog box alous


to e 8L Sdolamest and han
click eny Bwledas btoo ts build
he
To Aodel klHeRe clause clialog

box tebs hane clause


you speefy a

The klhere
for 1he Select Sta lim ent.
mere
clause Conists af one 7

Ceneli tirns tbtT Create a ConclidS


Sele e he Column, you waot
waot
Ceope he openaloa you
bo Cempanso) and e
use
dor Hhe
7h

So e ahe dal fov


Add «d
The ell'ck
Cempamson.
Th Cmdi bon to
the Iba Cst of
lhene clauue Con
Somu odala for
Cempem Sm Cao be a iteral,
Comdo d h
Va lua
of anolhin

fo a Cooe HTM eld a

07 a value Stord

sesst slah

Seleck panamelis
pre vide he
Seleet pouanme ln
klhere Clause klheo
Value3 by
s
he
we Creale hereClause
mere
Seleet
erea les 07

parame lkhs
Seleet pauame b
usecd o dene.
2lements

elarmes
Cootenns a child
Seleet Pananets
he dataSuu
er eath paame used By
Seleet 6almest
p e a eled ih a
* parameled Dehos Cu

Cmstant Valu

Corod Ponamt ter :


Dehots a perameles

thal ves ca velue fmm a Cavleo

o he
page
efies
a
prame
e y mng Peuaome
thad valus
gets 2 oo
URL wsed to u quest ap43
Perame lbo daat
TomPorame l Sefrs a

get Valu n TML


a me b
pana
Sessioo ' a amelio e P
b vealue
tbadgets
Sesenvo Stale
had
mes a
parame
Ponle loasoee :
ge a Value nm a
pola prapenl
peramef h a f
Coo ie
Paname bo m a

a Coo k e
ges b v a l u s
AHnbles do Gr pasame levs

Wame Pora me lzo nla me


p c a m e ly
pe Sal adalaspe
15 webfom Cedl
CrotonlD : 1 af be peeme l
velue t

operty Alare: lame a ke pr


Covsanhat

wt bfoo
Spples te valua ofhe peuamet

Connechoo Smog
a s p : S1Dale Source
<%$CenoechonShongs He ConoeebopSg
ID Sldsoura 2 unat Sesver

Select Command " SEKECJ* FRoM onds

kiHERe (l Catagory'd. CCategony'D) ORoeR


ey bdt ID]'

Seleed Paramefers >


asp: Contel Pasame Ter NameCatg lb
CohostD-ddl GaTeao
Poopesty l amd SeleTed val
<(seleet Paranpeteys/
PSDat Sourt 7
How to use Cuslom Sfaloests and

pov ceduats
stored
cwrth a
To Cuslo m
Ase slaleoes
SOL elala So s ce Seleet he

sta leoet p aen enlis the


kle co

Sta koent nt the text box


delete
enui seleet, Ineent, upolot ad

Steum en b
selecho9 appro
tab
lio stei
-

Cus
kle e a al so
Bu lde T allews
mesy
csma y
bauld Select Stalemept °
tou a

choos Colamns
tebles and viecws. kle ca also p e l
Coluon
d tes Ctema e a e heaeh
Soat a
Bulder
we
Steot wm
().lhe
hat ut
cialog bor
cable e u oant mc luele
select
Each Seleelzeo ta ble
at he
aisplayod daga pepe
z qury buulder
top
top
ewe acld
sela lid tobl
buildes
aulo mat cal,
the
gueny
teble
Jo ms the lwo

. To oclude a Col m
next 5
use check bo e appea
This adds Co/umn

diagram pone
he d pone
Selec he
ColumD an
sCope
Seleeh ro mki
an
spe bulder
builds
b ail a Seleet
vhe y io g/pane
bat displ ays
h
the res ult
Tolisp/ay
cck Enreiu Puny
Yesut pene

Bu Ho

Stored po ceelures coith


To uSe
a Sal d a l Souste Selecd be Stored pv Cedo-

the Select 5e Stor eel pwcece


Oph on a

a clo u Ust hort 's displaged


oDp
Date.i s Codl ls
elateait G displa
dal Soma
a hepeaunj
a data table A data Cst dspas
be datou s o a
list of akns
f To bmd
hat it's bound to
d a l a soun e e
dafa Gst to a

a
Choose Dala So u

Saneat ag oenu.

T lepoe dbe ndoma lso t

a data usé Create


be lisplayed in

One mare kcmplates.H Specaies


and what
c0 h a Covstent t display
Cororlolstowse oti spiag
To CYeate a Tumpla ehoofe

Gclit Teopla te mm Soot Tag9 meny

Coodool t display the Contoo


Theo seleet
eduoy mode
the fecoplate 9oup f aropla
aot edlit m thad Smaot a
meny.
To add text t a t o p ta e
begin Lele ca
also add Corla he aroplales. Ak
Bnishog9 lhe poo cess, choose enTecmplae
Eralediho9 Smast lag menU

klben we set a
dal Soum
a Data, Cist Cor vis ual stad'o reale
adeault cmpla t 24 cludes
bext box o eath Col um he dola
So c p ceded by he ht
Cex
he Col mo.
Commo» tnplate elemants
Difplayed befere ha
Hender Templat
iost ia lata Souce
lke lat-
ookn Template isp layed ats
date So usea

Taro bemplaë Cspla yed r each elao

h ed
Alamatog Juo lemplat: eplay tv
alturnatuve ateo n ( c dale Souw

Beper afo eampla


dala te wt)
Conhgurt Casm
aubmali cally eitplay he datt
Aelieve
Page
Cao bond any of lh Cogol
that vo bent heist Cotan dass o a
dalaso wsce.. hat wcludo, Rut box Cogol,
ciap do wYN lut Conlool Cheekbox lut

berttace bullete liit Contol. ale o


Use he QataSowee
alata soee fer
Jhe ist Caodao and lee data ceo
Cist aod lha
dott a volue
seleeted

atbetea for belog


bud the lisl
DataValueeld : Klame ef dala BoSoe wsee
cofose value &ho eule! be
frelol
Aelumed by seleetid Value popr
Broel Cootnl troplate
biod a Cootnl a teonpla a
Seleet Glit ela lä BendA Contool
Hhe
oohe na dt la to
Tbes seleck prmpesg ou
seleed Iba ßield4 bodiog oplao
to
felc to bend
and seleet dbe
liut
Bouod To

we

Cmgdoolwsual sludis gsero


Eval
kdal bunelina esprnoo
expressico
Advanced fealures S dat Sowsces
dlala Bo wce lhat Can
How lo a

baseshd
da la base
upda coclude
A al ala so s ce Can
Insest, Cpdab and elela ota ta meot s
allouos ceser aulo oaa ca ly cepda a
mlaple ccessed a
alala ad tmes
it SoSeatl
beCon copy a
a of
the
Reteve
tcla faom ledaretieve
data a
base ponvides
a e7AlA0o.
charge
de wce So ada lhe
Coscney
pso eprosae the ese
oncureoy tensis
ae op wses
ka
cheek
stalameos
lha Oelete goesate
eobonced
verons geoealor
To box. log lia
d epts State
on DekETe and
bi cheek
Sfalzonent
for updat
elab, Joset, generot caly ona auta
ot.
To ladabouod thseso
e toe
ade
by based labase da Hbe
wlsch Aetos eve dala
nowadomy read only fasbin.
crealt a dala Sawca, la
dalk dolset

se Cachungo
ASp. NeT Cathng mebod ale
Sove lta dola vets eved by a

Lt reduees dolbax
Semvey Smie
aceesS it ofto
averal penfomooa
aloSowse ode af bute

S t Date so sce Mode Qat set Salloady


Dalaset,
0The defoult is read only
aobute Oala Roader.

3abqSgLdala Souse alsbute fer ahon


Enable Caehung 4 Boolean vale had
tmelea tos cokethun achony
the dat soue The
The cdefonult Falee
Cache Ousaliin he
Caehed dala
should be

liey - 7 hu ati bt
Cache Expoa lso Po Cacbe dunoliin
he
set to ebsolut
Staolid the 0 not reset
elived a oel
data
geoo otl offer
1 this ainbuto
Caebe dlvelio l e
the
each
absolute
Qfaut is
valwe assedolee
Cache koy Ruy ale
povi les aCached
cocs -the
Module

Cish mu tse CisdVew Corlaol, pelot Gheip


data, Data lust Vieuw Copils, FomVieuo Cond
List View Cndoo ad updaTe ZisA Vjew dah

(otorduction to 6sL, bew ge and

digetal Souse Svysohane for afcale, how


t use a Sece Coneh on Jaockuchon 4
hoco fo Selap auhesu eahso
authenticaioo,
Guihn gahon hoo T legv Ctal, beco
use

o Coofqux AsP. NE7 appu Conon, bow o


depley a9 Asp Ne7 a p t cad
Intwdueh on t a udhent ca tuo

Autbentat u wed vely


uses's dentty The an
authen t' cah o hhad CaO be usec

AsP. Ne21 ppuaum

1. ulmdo ws boiecl authan l nhoo

Selup a Wndous
eqwree
use 1he use
e each
seI account

t e s h i et
Standad Secunty Jea lusu
pat-a Iha appGahu-
Qewss al

boocoses to cispla4
Cause3 the
olialog box eoka
alom
a lampt Yesl elzd

pa wse

X Ppevlid by mos boo


Ais managed
cwe acLeuo apd
Use tomelo wos
cli a,ecfo ry 8 t s e te
ceess te Autrhe lod paZ
olieg na
. Fom based autbenti cau
Code a ags
kets elevelopes
s e name 4passoe
fom hat
pcss w 0 d enternd
he aoe enep4 Paa
Seeune Cmoeeßoo
CO m e l o ws
Do esn4 e
cabor detemmus
Ppi
aleeunl
to autheru ca e
bow

eab on Passpood Atbente


Wiocloss ive auteok
E1S a Cendaa zed audbestca hy

Seavi c a effered b Micosoft.


cuse
to maipten a Smgle
lets
he Td acezs
haf a llocos
Cuser auourt
tha panuüpate klhodoos
Qny cwebsea
iUve /D The advaolage s bat be
has to maundaiy
Cse
dnly one u Sey
and pesseoood.

To
T o cuse lindocos Lve D, we
must giste au
t co1th
Microsoft to obteuo an
appucahiao
D ad hep elownloacl liocloos
ive O Autheo t cabeo SOk

Autheotcaheo vefevs to The povces


Valicdathng he identily of a useT So
d be usev Can be grante acus
t a
appu catio Cu3 e is
Ater a

authes ttcated must dM ke


ser
the
requesl2e
authenzed o ese be

proces radhog
appli calo The
to applicatu is
user a cees88

Called aucthunaalio

Authestueatio
kderhs ?
How ombas ed
1, The browser requests a Requesst 2. The server receives the
protected page. request and checks if it
includes a cookie with an
authentication ticket. If
not, the server responds
Redirect by redirecting the browser
3. The browser receives the to the login page.

redirectand requests the


login page. Request 4. The server receives the
request for the login page
and sends it to the
5. The browser displays the Login page browser,
login page. When the user
enters a name and
password, the browser
posts the information back Post 6. The login page validates
to the server. the user name and

password. If they're valid,


the login page redirects
the browser to the page
originally requested.
ASP.NET automatically
creates an authentication
7. The browser receives the Redirect
redirect and requests the ticket and sends it as a
The cookie cookie.
original page.
that contains the
authentication ticket is Request
sent back to the server. 8. The server receives the
request and determines
from the cookie that the
user is authenticated. It
9. The browser dispays the Protected page responds by sending the
requested page. requested page.
Hoto toSefup aulhesticuiso f auhonahio,
By defauit all Pages of a bs

Cap be accessed y al users coheher


bey arbe authest'caled.
o mot
Yesdmet a ccess To all
Cwe
he
o Seme ef The Payes af uwtbsite
ed to Set ep authest catioo ad
we
easiest Coay to do
authei 3abon he
that is t Cse ASP. NeT Coebst
Adninistratio Lool.

T sHart the AsP NET webste

Admbislrah eo ool, use klebsrte2


This
mmand Thi
N e Cenfiquruo
thed displays
Staats bovu Se a
Use Hhe
the tool
ome pete o to defp
setup o

Seeuity tub O this page


Create goups o use
uses aca
ereate
and
a3 ofles
kno wm

Cvalool
aceess e u7
rules thad

Ppuerbog
to lh
autheoti Ca fHoo
o set ap had
dhe uok
en
cllek
H%t he,
Steats SecunSelap uhzard

Ho to enable fomns.based aulbeu catm


cweb sih e f up
deault, a

to cusee
lklinde ws Authent calto J al
wse aLcess oun websete threugb
oto9net ths Op liao is easiest
implenest
will aCeesS
ang ohe CBeosB

the websct he
cntemet, we
do
to euthesica lu6o
mud seerro besed
cuck
use
o bas ed auhestu a lso,
o9Seleck Authent ca lso Type unk d a

Amioist-
the Seuny tab Cwebsia

ratieo oel aod Seleet Foom be Internet&

Opie.
How t Ce ale and manage les
A 70le alouws yoe do apply dhe
eSess.
Sa me a ccess ruless a
9 up of
Gach use asso caled wrth me
may
o7 mere les By defaule 9les a

disabled.
Bejere o t0e cor th l e
cebsiu ndwiosf> ohan Tool, you
u
oabie bem To do hat Ciict
able Reles Lmt t he
Seuniy
ard ben euc On Create 07 Man

Reles in.
To add a o fe Jus ekr hj
le aod cück
Add Rele &-
The cGck o
Manage . unk o
add
O emove
Lsers
fnro be vole
Hoo to Cveate and Manage users

kle Cap CLse alehsife Adminsoetp.


euck Tt
Tocl to eveale euses T elo hal sost

by enteng all he vequred 1fema


also assodol
tor a use. kle can

maree
oles o rts eath usu
One

at his Stage
more uler
Onee ewe erea l2 One 0

he by euct
Cwe CA manag t uas
anaqe csey Gok ule ca
Grro of
change o/e, dese»p
ema, Lnk
Elid Uses
P C u e t u o e
o
kle Ca chaoge voles of a user
cucknq Geit Role uiok
udes
How, to cYeal Maoage a
A access oule clekrmm colwch

user have acess to porlions af a wehs


Cve want aueas aule to
apply o a

the c o u e cweb appweatioo,8elee lh


9oo diictory fo hecweb applieabe
and aPPy the rle Each ole oesan des
ole below it
ee
useis
klben be ole and

class kooc as datapaovide?


added a bet
7eads Gnd
he Code
Centesns
and
eata fos he ' users

wntes Hhe bafe00aks cotb|


A elata povider
oles Calee a members
s oo
mebes hip
data
des bod cooak
and
datu poovi
Poovide poo Uidan
is called ole
o db ole d
Poovided1s aed t
ydefautt AsPALS4 and 2o/e oata iy
Gtore bet5 eobesbop
named Asp Netoh.
a Sal Senven Express detaba
Lndovduebjoo to S

To obers
Prevert
10 eachn
data trans iHed ver 6e
cmtened we Can use Seeune
Socke kayer), SSLis a
proto col
es e klww,het allows eleo
and Serve7 to e mmunI cale o v e r

Conpeehion klith
bov wse7 eneHpis all #he olal
that S Sent to Serverr emd decyp
a
dat 4at is rece ved fev
dhe Server

SSkis auble to
to oler me
at hs beeo
tempered orth
duing 1 m Ssien Jis also
able to vemy a a seven g

a et s obo elaims to be-

cwe he
C neeb oo startsaortt HTTPS
skada efHIP
Ogetas Sema
Certfieol.
To se &eLt iams nit data
the ient 4 Serve cuse didal secuve

Cavaca. Dgtol secure tarhfaE


Senvetwo pupeses,Fiost they establish

client
the
tdeniy ofthe Serve
v

Secerd, bey povi de the formai o


meeded o eypt data before is
aonsi4ed.
6 lefault bootoses au otg ped
Eruslid
to aceept tena cafe foorg
Sou 3fhe b cosea deesnt
drustes
3 a Cestfcala fodm a
and
led
So uiekit. wfoms ba usez
Theo
the 3en Uie Ihe Cufete.
he Cortyst
cohether
Hhe s enletmmme
ehooss
Tsveid or not. 1he Len

a ceept be eráfeate , ha Aeene

Conosche 1s estoblushed

pes of dytal ráfeate


Senven Ces&fcale- suedto doustd
Serves So cGd CompuTe cay lmnecd
D her usma2 Seur Canoeehon
clien Cer-h eafe 6a ued to
dust
Co p e l &s
so aa Serve
clieots
Ca dnah enfm be elesu

Auhens
Hoco to ged and use adigeda Seeue
Ceruh eale

Cwe cwaot t elevelop a


AsP. NErapplicalÉan thed uses SSA to
Seeare cltet Cenoechons we must
fiwt o bteio a ligetal Sene
Ceraf cale don a tusTed Gous ca
Susb os www. Verisiso Cam, oeoro.
odrst C t t Thee tmulzed Sowa
ane called Certheattso audhers7
Onee s e get- a
Carüfeaû, we

hest
Seod it pecopla coto
0 he Served

A Cerußcalo o audhonl is a

Company Hbad and anages e r a o


ss ues

seungcredt als. To verity v


the
h e
guesto v, CA
ah m. povided by
must check wrth he vegisdrat
authem t Once he Mgistoolis aulbeilg
Vedes he exes ifomab'sn, the
4he CA 'St ues the elgidal Secae uh

Snce SsL 1s buit vb ell

maje wses ane web


seavers
dzrtal cant fcae cnables Ss
Most arafcalzs ane issued b
duslad Caa&f eabon auiohe who
o nd wae oeir cwn Certh cals3
Thue eAs a owot a booroses
vendoos, ad Hhe Cerhfeste hve
beo addecto s t Populas bmosns
This pe oCartfealt ts called
Do tetseala

A ehasned ool ahfcalz


thd mberds the vecom
This
doslp Ce , dhoslg: d
Hoo to Se a SeeuTe
Cenoech
Hooto vequest a Secure Cmneshe

To e9uest
a Seeure Gmethe,

use absolute URL had Speci pea


HTTPs as potocol, Onu esthe
Conele has b eus estobüsbod,
relahve URL Cao be used to
Conhput Been eeehm To e l i

unsewre Cerovecbo k usin


Seur CsmneeBor u wse absolate
uRL hod peepes HTTP pootoca.
Lns lead . Coom par
ents eath YRL Sfore

app seh Seeheo web. Confa fle

Cofgu4taon>

Kappset
add key "AppPath
value"/localbost/ousp aoloMystooe
<lppSeh? /ofzratin
Cede Ahal vedmeve appli caben path doo
web. Cenpa hle
Dim ual As
Sb
Sbn hteps:4
Chgu ebon Manage. App Sehra *p
belo aspx
Respense. Recioeed (ul)

How to Seeur Conneeho


eAge
he
equuoes
Page Page
Senechve tnoa libo
Wse cDenta
is
make Suu dbat it
it should
Seewe Cmauh on
operebrg aa

(s s e c s e o n n e e h o o
To dotbat check
o t

Pmpea f HepReguest object


Load bwcad
P
nse

Pmtecled sus Page-Load C . . )


Not Request. ls Secure lomoethoo

Erd 3f
End Sub
anASÁGK
Dedails View Comdab)

s One
of (he most
mpoafaot Covd ol had is
sed t
mas to deteu senamo o u Can
Seleg
a ecore masten
Camdoo
Ce Comdvieuw) and Ihe selected re
is
displajed t Dedaul Vieud Coudrol,
eral
qndVies Convo)
displays mor tha dme veeord
bud Detcil Viaco
Cortool displaya
Smge veod ro darbase table.
eleileviews Cotol
supperts he
edit, nseab oleletu ad ,
pan
funehonaüg
Reg-No
Co u s e

Serpeste
Fovm Vies
ke Vie does mot have
predefned layout, but it depend
upo bemplat You can enSent,
updert, deltù and pagea
FomVieo
Fonn Vicw
klhen o Creat a

dal
Cola, and bund it to a
autm-

Sonc the leb Fowos desigmer


at caly genealu defaut Goplaler
to
coo edt thue implatr
Th we
To
we went
achieve he layouf
do hat chooe eclt Teoop late
me

Evel aod Bo
The difknee blw
fuochon ls use to bod to
Is bad eval Coglol out
Data bo uod
a Conglol osi de a
velues back to he
cp doile |he
data base .
Casp: TexBox (D-7T'nSenes Text '< Z #
Cval (Namn)
On he olher band
Us ed to biod dala to
vnsideua data Bourd Cool ond alo
cupala retha values back to
tbe dalbase
Ssp lext Bo s IDaT"unat Semvet
Hoco to Coßgue Ast. et applicabeo
Tbe coeb. Cenfig fle for Asp. NeT
applu aubo Cortenns Coofguoahes lotodn
cwua ly eed to changt tsis fle
desng deve lop ed bul also
med ony edit lse botb
depleyoet kle cao
confg fle manualy,
Some tools
Tools OUe
papose
) Websia adnio s-looho tool
Console:

klebsia Adoniostoaogtool
web basee edstor tbat
IH )s a
cogtei
allocos you to mofaa
Tbis tool ses a tabbed o
opéions. betwcen bome page
Hhad to feoidch.
and tbat Coofguoe Seeusty, Appicahog
pogea
and p vider se. h g o
Adaioistooao Too
Pous tabs of cocb
Horme TDisplags bame page
* Qunty - Alo0s gou to Coofgue
>oles, and access ules.
* Appueab on Lets Creale Cuslom
SMTP
Tapplicabar sebog
email Seppost,Coolaal debug gung aa
toa ing aod Start sbp opplabon,
Lets Coofgue povida
for ealuaes Sueb es membesbip
and ole .

0S maoa gered Con so le


ofomakog Semi (ns)
lotemet
Ronote adoiistoat on
manag for and adogioisoatoas
end ses
pnvides
with the abi Gty Seeuocly sarage
Seoves (Vesi o¡n abave)
reofe
fron wndou0s clie4 (xP e a bove)

You Coofgure toe cock. Coofg file


fmg Hhe for the, applicabog
Horne page
Mooagamert conso le . To do
1s dhad
thal coth -lbe ealues
Asp. NeT
ae availablefon the

appl cati on, bigbg


and eo double
Cooneehons pene
eiek fealise vs be Hormepage
srte Sessies qu
-ConMaagrnes Gfate
4ppicabo -Confg Arpldcatioo
foole9onbeship Configuots modeq
oaBso-Spefs
ad the Atbeot,
hengaBr Ceats Athongabon-
Cootgund eroe%- Custaro
sehg leaben Capp
Coonehon
ng
Stn Creates Gereoal yo
aMailable Jebsaoe Seves
Sebogs quoaan Conf
veston
aa appi
hl pool eaboo
Ses ea
alog di hon Appl
led then 4bon
Coid in ton buSetoet cliek
Baste
bigbughtis
cle pane,toonathen
fealuoe
coosking fon page disaplaay
t col4h
Tbe 1s manaq0 Con sole ocluales an
Centiguoaieo ehog dialsg
box -bad alewso tanfqu he
4 wosks ooly for
coeb. Coofq fle
1s baselappllcahons 7o opes
the Confquoa beo dialog boz pen
managemed Console , rgt clck hz
GesTheg
toebsik ,4 choose poope
Asp.Ner tab ¢ ellck i
cliek
Conf guoaHeo buog,
an Asp. NeT appl cabog
Hoco to
depley
-to the poocaas
As?. neg appieabog
f capyng fo dhe
develapoei ylaro
cobicb dhe
pmducBo Seove'

appli aa bog coil be

8 oays todeploy
a
There ae

Asp Nes

Xcopy de polyroest
*To
anualy opy the
the fles of os
Asp. NeT Cwebst le to Senve
XCopy earmrnand forn a Conmand poopt
Tben Use s mara qemeslConsole fo
Create a vistual cbaetoy hot s mapped
he
to the dioectoy ba gou Capied
webstte to.
To auto nole deployout, creolt a
X be Comnaod.Theo
bateb f le foo dhe Xcopy
beteb fle any
you ca eaon
sa appo
ma ke cheoges to
you theuplo cded
and to
co ant dep loy
Code
Visca
Alss do Xlony cuebste Coronoand

Pecanpiled deplgoeol
atemb ies
Depeye pieeplid
Benes
0to foc
x Deploy a
be dlooe
Can
aing asfnd.copd
aond pron
The grid view control displays data provided by a data source in a row and coloumn format
How to define fields in grid view control
grid view uses different types of elements to create and format its fields.
Sorting based on 2 or more coloumns:
To do that just use commas to separate the sort field names.
NOTE:
NOTE:
NOTE:
How to create and edit template field
DETAILS VIEW CONTROL
DetailView is one of the important control, that is mainly used in master-
detail scenario. You select the record from master control (as example
GridView) and selected record is displayed in DetailView control.

In general GridView control displays more than one record, but the
DetailsView control displays single record from database table. When you
execute your web page, DetailsView control renders an HTML table.
DetailsView control supports the edit, insert, delete and paging functionality.

It is designed to display data for a single item from a datasource.

The working of FormView control is same as DetailView control but the


default UI of FormView control is different. DetailView control displays the
records in tabular format. FormView control does not have predefined layout
but it depend upon template. According to the need of application, you can
display the data with the help of template.

You can insert, update, delete and paging the record in FormView. Adding
validation controls to a FormView is easier than DetailView control. For
displaying data, ItemTemplate is used.
Eval vs bind
The difference between Eval and Bind is that Eval function is used to bind data to control inside a DataBound
control, but it cannot update the values back to the database.
<asp:TextBox ID="txtName" runat="server" Text='<%# Eval("Name") %>'
/>
On the other hand, Bind function can be used to bind data to control inside a DataBound control and also it can
update the values back to the database.
<asp:TextBox ID="txtName" runat="server" Text='<%# Bind("Name") %>'
/>
Edit item template , insert item template

This control specifies data in a row and coloumn format just like gridview control.
The main difference is that the list view control includes an additional row for inserting a new row
into the table.
PAGING FOR LIST VIEW CONTROL
HOW TO CUSTOMIZE PAGING
HOW TO GROUP DATA IN LIST VIEW
The Login Controls:-
There are following Login controls developed by the Microsoft which are used in
ASP.NET Website as given below:-

1. Login
2. LoginView
3. LoginStatus
4. Loginname
5. PasswordRecovery
6. ChangePassword
7. CreateUserWizard

2.) The LoginView Control:-


The LoginView Control is a web server control ,Which is used to display two different
views of a web page of any website , dependending on whether the any user has logged
on to a web page as anonymous user or registered user .If the user is authenticated,the
control displays the appropriate to the person with the help of the following views
template.

▪ Anonymous Template :- This template (default of all) will be displayed when


any user just open the web page but not logged in.
▪ LoggedInTemplate:- This Template (page)will be displayed when the user in
logged in.
▪ RoleGroups:- This template will be displayed when user logged in, that is the
member of the specific role (defined role group).
You can drag and drop Loginview Control on the web page from toolbox as shown
below:-

3.) The LoginStatus Control :-


The LoginStatus control specifies whether a particular user has logged on the website or
not . When the user is not logged in,this control display the Login text as a
hyperlink.When the user is logged in ,this control display the logout text as a hyperlink.
To do this ,Login Status control uses the authentication section of the web.config file.
This control provides the following two views:-

1. LoggedIn --> It will be displayed,when the user is not Logged In.


2. Logout --> It will be displayed when the user is Logged In.
You can drag and drop this control on the web page as shown below:-
4.) The LoginName Control :-
The LoginName Control is responsible for display the names of all the authenticated
users.If no users id logged in ,then this control is not displayed on the page.
This control uses the page .User.Identity.Name namespace to return the value for the
user's name.
You can drag and drop Login Name control on the page from the toolbox as given
below:-

5.) Passwordrecovery Control:-


The Passwordrecovery control is used to recover or reset the forgotten password of a
user . This control does not display the password on the browser,but it sends the
password to the respective email address whatever you have specified at the time of
registration.
This control has included three views as given below:-

1. UserName :- It refers to the view that accepts the username of a user.


2. Question :- It accepts the security questions asked from the users.
3. Success :- It display a message to the user that retrieved password has been set to
the user.
You can easily drag and drop this control on the web a page as shown below.

6. ) CreateUserWizard control:-
This control uses the membership service to create a new user in the membership data
store.The CreateUserWizard control is provides by the CreateUserWizard class and can
be customized by using template and style properties .Using this control any user can
easily create an account and login to the web page.
You can drag and drop CreateUserWizared control on the web page as shown below:-

7.) The ChangePassword Control:-


Using this control ,user can easily change your existing password (old password) on the
ASP.NET Website.This control prompts uses to provide the current password first and
then set the new password first and then set the new password.If the old password is not
correct then new password can't be set. This is also helps to send the email to the
respective users about the new password.This control is used ChangePassword class.

You might also like