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ords setv^\NSbXMLpencAm0ąVdk(WASP-N
N_
NZP"vŁNN`Kb
]RgXMLKb]\HTTP"vQą[lŹbcbł[ XML payload"vżv^RgNŁŹNŹzżęR"vŚ[bąN0
bN(WvQ-NcOR`"v~ńbcontractżR0Contract;N(uegćĘęYUOŚ(uweb service "v0ąV
dk`OSN_ą[f"v OŁŹ*Ncontract0RvQNŁząp
NąNvQNŁząp_NSNvĄcł[`O"vŁząpŹLz0
bN"vQŁz\OąNN*N_ gŁć"vOP[cOąNN|R"vŚ(u ASP+sS ASP.NET "vOP[NNc
O"vweb service/fAQvQNASP.NETŁząpR>NŁŹ*NŁząp(WgN)YQ"v@b ge"vOP[0ąVdkŁNŁz
ąpSNó
ŁŹN
gĄRv^NSNł[ŁŹNweb servicezĉ[NN/fN)YN!kŹ/fN*N\eN!kS
QŁzfe"vŁNOP["v"ĄcRh0
ŁŹ7hegł[N(u7begNNĄl g_QąNOmȉhVbwebuŚbSbńNS"vŁŹNN`NNvĄc
Źweb service1\SNżłNTQąN?
/f"vFO/fŁ\/f web service"v}Y"vŹofŁebN\OńĆ0RłNTQś[E
N/f@b gOo`
"v;`ŚT0bNf~:NąNżONNNOmȉcOąN(WOmȉhV-N>f:yhtml"vąe_FO/fYśg`"vT\OO4Ob`
lQłS"vvQN]\ONXT"vNNŹzbzŹ^Ś(uŁŹNOo`ePvMR"vb/gś[(W/f(Wąeż:NR"v0XML
b/g"vżNuO_NNŹ
_@b2khsNUOpencb:NSż0ąVdk`OSN)R(uxmlRś^fY"vweb service
NżONNSN(uYyąe_Ś(uzŹ^bńNbcpenc0Xml"vnx/fNN:_ gR"v]wQN_NSN.^RNN"gś^
fYy{|"v"^(uzŹ^0Xmlb/g_NŁ~ó[7bcOąNfY"v.^R1uNNNT7hSN_pencŚTOo`@bNN
NSNZPfY"vN`0
1uN gąNN
NŁŹNb/g`O
NN[^Nó[7bzśWNOmȉhV"v"^(uzŹ^-NŚ(u7%"
gĄR0`OŹSN
(WN*Nnf"v6Bb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śW,g
NAQ`OPN*N
5
E{|śQHrir 6R\OśQT _fYMQ9ć5uP[echDćeżwww.epubcn.com
żQpeŁ7hO(uISAPIŹnhV0bNcĘS"v_YOP[YfbcSession StateI{]\Oż/f(WŁ*Nż~+Rś[
s"v0dkYę[TURL"v]\O_N/f(WŁŹ*Nż~+Rś[s"v0OYbN"vYó[7b~8^:NNN"v(u7bc
O *N '` S "v URL P financial institution Łz ąp 1\ S N :N N "v ~Ś ó[ c O
www.financialinstitution.com/scottŁŹ7h"vURL:NN*N
TSSCOTT"v(u7bąV:NNN
Nó`R
ś^*Yf>f"vć"_@bNP(uę[Tb/gcOTyT7h"v
NSĆ"vURL`OSN(WASP.NET
Nś[sŁŹ
7h"vźRż0
&^ g"/scott" URLś[E
NASP.NETlŹbcbNS"v0Wąe/fT
/f"vąVdk(Wś[E
ŹLMR`OO gNNćNxćg"/scott" ŁRlŹbcbN*Nś[E
0W@W"vuŚbś[
E
gbL"v/fN*N_nf"vuŚb0ŁŹyąe_SNO_@b g"v(u7bż_0R*N'`S0bN gN*N!jWW-N"vN*N
APISN:N`OćłQŁŹ*NŚŚ0(WŁŹ*NŚŚ
NbN_N gN*NibU\ąp0(W ASP"vePbN gN*NSZP
Global.asa"vi_NSN[IN"^(u_Y"^(uÓ~_gSession _YSession Ó~_gI{NN0(W
ASP.NET-NbNAQ`\ISAPIŹnhVźRż ReQGlobal.asa-NąVdkYśg`ó`~~ę[TURL
eP`Ouó
NQN*N!jWWąN`OęS(WGlobal.asa-N[IN1\łćYąN0
bNZP"vćSNąp/fRRcؚ[hQ4ls^v^NAQf:Nup;m"vń(WŹS`O(uASP"veP`
;N(uIISeg"gś^`"vńźRżŁŹyńś[E
NOVćNT SAM(WASP.NET-NbN\[hQ!jWW>e
eQISAPIŹnhV-NąVdkYśg`ó`(WN*Nmain frame b(W`O gNNusernames/passwords
"vpenc^-Nv^N/f`Oęń]ZPŁŹyńe`OSN(WGlobal.asa-NQeQłvsQ"vOo`b(WN*NNŁ*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^"ve"v
ś[O06qTAQe"v"^(uzŹ^Ś[błvsQ"vNĄRTe"vzŹ^Ąc@wŹL0
ŻOcŁŹ7h"vN*NS`'`:g6RO_`O
N_-NeNUO:N(u7b]\O"v
gĄR0bN\OR`0WubN*Ne"vŹ
z_YĄcSe"vBl"vŹzŚ[bS_MRŹL"v@b gBl6qTbN\ Rd
"vŹz0(WŁŹ7h"vŹz-N
7
E{|śQHrir 6R\OśQT _fYMQ9ć5uP[echDćeżwww.epubcn.com
:NąNcؚHes|~ś[E
N\OąNRESET"v]\O0FO/fŁŹ*NŹz-N`O
NOwĄ{tNXT"vr^m0`O"vó[
7b_N
NOaɉ0RNUOSSNNOń:NUkNNN`żŹL"vŁŹ7h}Y
gĄRhVŹ(WŹL0(uŁŹ7h"vąe
_`O1\SN_^8^ؚ"vS`'`0
dkYbN(WSession State
N_N gąNNN9eŹSession State
NćQŚT`O"vćNxŹL(WT
N*NŹz-N0NSN\O:NNy
gĄRŹL(WNS:ghV
N_NSN\O:NNy
gĄRŹL(Wte*NWEB
gĄRhVń-N
"vgNS:ghV
NvQN"vMRz:ghVSNqQN
gĄR0
Session StateęSżX[>e(WNS:ghV
NT
N
N/f"vYśg"vŻSN(WYS:ghV
NŻOYu0Session StateSN(WYS:ghV
NX[P_NS
N gYS:ghV"vMRzSżŁNX[POo`0
b/fN*N(u7bbck(WżNS:ghVb"vSession StateYu(WŁŹS:ghV
NYśgbNN!kż
ćSNS:ghVSession State-N"vpencSNqQNT
/f"vŁŹy]\Oąe_/fWEBń~gxQW"v]\Oąe_0N*N(u7b`OSNż:ghVAI{NO?Q`OS
Oż:ghVB`O"vSession StateŻOYu(WćSYNSrz"v:ghV
N0Session StateeSNŹL(Wb
N"vSession State provider
Nb_NSNŹL(WSQL Server
NbbN gNyąe_SNSQL
Serverb:NSessionOo`"v
gĄRhV0FO/fMRz"vŁŹ$NS:ghV_NSN/fYS:ghVżSNżT7h
"vSession State0
ŁŹ7hwegbNSNŹŁŹyąe_qQNpencąN0
/f"vcknx0FO/f`OSNó`aŚNće`Ob gŁŹySession State,N`O"vASPćNx
N(WN*NŹz-NŹ
L"vSession Stateąe`O"vASPzŹ^G0RNbĄNHN7h"vŚŚzŹ^)]n0bN~bkąN`O"vćNxŹ
L0bNĄhKm0RgyDćnombś0bN@bMęn"vNNN`OYN\eN!k G0RŚŚe`O@b g
"vSessionO6q/f[hQ"v0ąV:N`O\`O"vSession StateŻOX[(WćSYNSrz"v:ghV
NąN0
Yśg`OęS gNS:ghV`O_NSN)R(uSession State"vŁŹyyrąp`OSNNŹL"vŹzN`O"vćN
xŹL"vŹz
NTąVdkęSŹz0RegeNN1\SNż(W[hQŻOńbŹz-N"vSession State0
ckYbNRMbc0R"vSession Stategę"vąQ*N}YY/f1 S`'`0`O
N(ućQb_`O"v"^
(uzŹ^)]nbN*N(u7bpenc"N1YŁŹ7h"vN`ŃSu02 ,{ŚN*N}YY/fs(W`O"v"^(uzŹ^
N_ćQ@\
P
NNS:ghV0Yśg`OO(uąNSession State `O"vnxSN\`O"v"^(uibU\0RfYS"v:ghV
NŁŹ7h
8
E{|śQHrir 6R\OśQT _fYMQ9ć5uP[echDćeżwww.epubcn.com
1\w"vĄl gĄNHNagNżYP
6R`OąN_N1\/f`O
N_ćQb_`O"v"^(uzŹ^żY(WY'YVQbżY:N
Y\(u7bcOck8^
gĄRŁŹ7h"vŚŚ0
,TąN
Nb"vćbN}YPZPąN$Ny
NT"vN`N*N/f ASP.NETcOąNYe"vźRżŚT'`ż
NNSNEQR)R(uŁŹNe"vyrąpćSYN*Nąeb/f(WŁŹNźRżŚT'`ż"vTbASP.NETZPąNYŚY
"v]\OO_ŁŹNyr_ŚTźRżŃS%cąNf'Y"v\O(u0
/fŁŹ7h"v
ł[begYśgb]~ gąNN*NASP"vWEBŁząpYśgN]~:NbcOąNna"vÓ~śgb
Nó`ćQ
9eSzŹ^-N"vNUONYśgb\Łząp"vte*NFhśgfe0Re"vASP.NET
Nb{|sT@wb"vŁząp_fY"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y0R>\ż/fż~'`"vYt!jW
bSN(WASP.NET-NO(ufe"v;ęŹsQ|O(ucO"vfYe
gĄRhV~NcOkASPzŹ^fY"vźR
ż0
12
E{|śQHrir 6R\OśQT _fYMQ9ć5uP[echDćeżwww.epubcn.com
nxś[/fŁŹ7h"vASP.NETwąNbN'Yę"v"v_ŃSe`OSN(WT7h"vŻsXN_ŃSO ASP+uŚ
bŚ(u"vDLLv^NSN[hQ"vO(u06qł['YYpe"v_ŃSegg'Y"v6eĘvegęNNcO"vcaching
źRż0
bNżtćcachingźRżł[NhĆQ"vwebuŚb"vę'`ó[7bz"vcachingSNO_uŚb__
ęs
gĄRhVz"vcachingX[PąNNN]~ŃŹ"vćNxSNcż"vŚ^0
bNNb>NN*Ncaching"vOP[N*N(Wż~"vFU^ŁŹ/fN*N.UCD"vQ
NFU^(WN"v;NuŚb
N`OR>NąNN|R"vFUT0ąVdk`OO(uąNpenc^X[PFUTOo`0N,gżpenc^e
NSMQ0WO ge^Ź0FO/fS_`OO(ucachingeNNżŹ"vOo`\OYu(W
caching-N0S_Bl"vOo`(WcachingKNQĄh"}"vePcaching-N"vuŚb\O:NźSuŚbŹśQąVdk
`O
N_(Wżpenc^1\SN_pencąV:NNN]~(Wcaching-NąN0.NETFhśgONvŃvĆcaching
-N"vuŚbYśgŁŹNuŚbłvsQ"vpenc^"vOo`ŃSuąNSSN1\OzsSfeŁŹNuŚb0ąVdk`O
N_b_
_
N0Rge"vpencOo`0Źcaching"vnźRż`OŹSNncaching"veŚ^ĉ[N(WY
eQ[gfecaching-N"vQą[`O_NSN(Wcaching-NX[uŚb"vąpQpe0;`KNŹcaching
b/g`Oś[E
N:N`OŁząp"v(u7bcOąN__Oo`"vSż'`0(W,g(ć
NNś[E
NvĄcS"v/fub}Y
"vHTMLuŚbNMQąNN|R"vuŚbub"vŹz0
caching\wck.^RQŁz"v_ŃSNXTŚteQŁz"v'`żNĘS_"vłv"^ó[7b"vBl0
/f"v0ś[E
N`OSNw0RŁŹ7h"v`b_---QŁz
gĄRhVkyź"SNłv"^fY"vąpQpeąV:N(u7b'YŁR
"vBlż="(Wcaching-N0
N_ŃSNXT"v҉Ś^egwYśgNN(WQ,{N*NASP.NETzŹ^eNNOG0RęTN'Y"vV
bł[`"vŻa0RTĘ`NASP0RASP.NETv^Ąl g
NS>ć"vś
ćx0NNęS/f(WNNĆ~
N g@b
N
T0S_6q gY"v/f_wćŁla"v0OYbNŹS8^(uASPNVB SCRIPTQzŹ^S_bNó`Rś^
N*Nrecord setł[aŚ"vePbN
N_
NSETN*NSęI{Nrecord set0(WASP.NET-NĄl gSET
ŁŹ*NSpevĄc1\/fSęI{NADO records setł[aŚ0@bN(WASPNASP.NETKNN gNN\
"vl"v]_ŁŹN\"vl]_9h,g
NOq_T0RuŚb"v'`żFO/fYśg`O\ASPzŹ^y
i0RASP.NET
Ne`OŁlaŁŹN\"v]_0ś[E
NNASPŹy0RASP.NET"vćNxę/f_\"v
N_Qą\te*N
zŹ^ćNxy
iŁŹ$Nś[E
N/fSNv^X["v0ąVdk`O
N_:_6R\`O"vQŁz"vzŹ^zsSy
i0RASP.NET
N
`OSN(We"v]\O-Nnę(ue"vASP.NETb/g0
13
E{|śQHrir 6R\OśQT _fYMQ9ć5uP[echDćeżwww.epubcn.com
bó``ON6qSNP`ONMRŁ7hXf`O@b g"vpenc{|W0`ON6qSNO(uServer.CreateObject,
`ON6qSNO(u DIM RS[INN*Nrecord setł[aŚ`ON6qSNO(uDIM RS AS NEW ADO
record setŁŹyąe_ł[T
ŁŹęS/fbN"vNy b(WbNg\ę"vy
iż~+Ręb`Oś[E
N
N(uQą ASP N ASP.NET"v
:S+R0`ON6qSNO(u DIM RS "vąe_v^N(uŁŹyąe_Rś^NpencĘSłvsQ"vł[aŚ0ŁŹ$NKN"v;N
:S+R/fN*N/f(uVB SCRIPTRś^"vł[aŚćSN*N/f(uVBRś^"vł[aŚ0
ŁŹHN`ONs(W/f]~9eS0RNyb g{|W"v_ŃS틊s^S
NąN
`O"v_ł[bN gpenc{|WąN0bNs(Wf%NżYżwb/fSębNs(WSN\
NT"vNirwbstring0 integer0a data setąVdkbNSN
f}Y0Wżc6RQX["vO(u0
ĄcNegbN"^o:yNNćNx(uNćĘę
Nb@b"vNNN0
}Y"v0bN"v,{N*NŚŚ/fy
iŚŚ0ŁŹ/fN*NxQW"vASPćNx"vuŚbbN\Npenc^-NSśQpe
nc>e0Rh-N0bNegwNNŁŹNćNxbN
HQ[INąNbN"vconnection ŚTbN"v record set b
NRś^ąNŁŹNł[aŚbN(uSETsQ.W[nbN"vrecord set I{Nconnection"vgbL0ĄcNeg/f
N*NDO WHILE _Żs\penc^-N"vOo`>f:y(WuŚb
N0
<%
Dim con, rs
Set con = Server.CreateObject("ADODB.Connection")
con.Open
"Provider=SQLOLEDB;server=(local);database=Northwind;UID=sa;PWD=;"
Set rs = con.Execute("SELECT ContactName, City FROM Customers")
%>
14
E{|śQHrir 6R\OśQT _fYMQ9ć5uP[echDćeżwww.epubcn.com
ContactName |
City |
<%
Do While Not rs.EOF
%>
<%=rs("ContactName")%> |
<%=rs("City")%> |
<%
rs.MoveNext
Loop
%>
YśglŹ0R.NETFhśgNN\ę"vy
i]\O0bNSNwęTNN]~9eSąNęTN
N
NżO(uąN0bN(WSet con = Server.CreateObject("ADODB.Connection")ŚTSet rs =
con.Execute("SELECT ContactName, City FROM Customers")-N@bO(u"vsetKN{|"vsQ.W[NS
N
YŹąN0
FO/f(WŁŹębcśQ"v/f(WNb"vćNx-NbN(Wrs("ContactName")ŚTrs("City")"vóSąŹm RąNN*N
^\'`Value0N"vśW,g+TIN/fbNSN_c[Lbc[R"vś[E
N g_\"vSS`OSNw0RASPNASP.NETćNxKNąQNNN7hĄl gĄNHNyr+R'Y"vSS0
<%
Dim con, rs
con = Server.CreateObject("ADODB.Connection")
con.Open("Provider=SQLOLEDB;server=(local);database=Northwind;UID=sa;PWD=;")
rs = con.Execute("SELECT ContactName, City FROM Customers")
%>
15
E{|śQHrir 6R\OśQT _fYMQ9ć5uP[echDćeżwww.epubcn.com
ContactName |
City |
<%
Do While Not rs.EOF
%>
<%=rs("ContactName").Value%> |
<%=rs("City").Value%> |
<%
rs.MoveNext
Loop
%>
ŁŹ/f_8T_N"vŁNSETsQ.W[ScąNVALUEsQ.W[_eQćNx,gś[E
NĄl gĄNHNS
SąVdkęS`OwwŹśQÓ~śg`O1\OŃSsNNśW,g
N/fN"v0FO/fASP.NET/fŹL(W.NETFhśg
NN"vuŚbibU\
T/f.ASPXS_6qbN(WuŚb_NSNś[sCACHE"vźRżęS
NŹ(WŁŹ*NzŹ^-NĄl
g(u0RbąN0YśgbN\
Nb"vś[OŹNekńmeQNSv^NQą"^(u.NETFhśgŚTASP.NETFhśg@bcO"v
NNf:NżO)R"vKbk0OY(umanaged providersegSpencŁHNbN\NeQNbŁŹ*NNO0b
NO6q]\O(WSQL 7.0
N"vNorthWindpenc^-N0
..%4cOąNN*NęKbk/fSQL managed provide[SNvĄcŹĄc0RSQL
N_penc
16
E{|śQHrir 6R\OśQT _fYMQ9ć5uP[echDćeżwww.epubcn.com
N_ŹOLEDBŁŹ7h"vNŁŹyąe_~Źś[ćń[/f'Y'YcؚąNżŚ^0bNSNwNNNb"v
ćNx,NNO(uŻ~ą|"vVB
N/fVBsQ"v0FO/fŹśQ"vÓ~śgąQNNN7h0bNZP"vN`/fimport N
N namespaces , System.DataŁŹ7hbN1\O ggśW,g"vpencYtżRNĘS_ł[ SQL
managed providerżżR"v SQL namespace0ŁŹNćNx"vŚ_N7hŁebNO(uC#egYtśWN..%4śg"g"vTy{|^s(WbN@b0R"v(WVB-N"v.NET{|^
NC#-N"v{|^wQ głvT"vŚŁŹ$NKN"vnx/fTNyŚ/fN"v0ł[NQASP.NET"vzŹ^ŁŹ$Nyąelż/f_}Y"v0=\Ą{gN{|SżO gNN
NTFO/fb
NSNNNO9eąQ*N"v0Wąe1\SN\VBćNx_y
ibC#ćNx0
ś[E
NYćNx\
NO9eSNvŻOYuNeg 0OYSQL connection W[&{2NęS9eSNąpąp
SQL select statement W[&{2N
NO gĄNHN9eS0(WŁŹębN:_ŚNNł[Nconnection W[&{2N
bN
NćQO(u ADO provider
NćQO(uSQL OLEDB\O:NADO provider,ąV:NbNO(uąNSQL
managed providerąVdkbNc!PO(uSQL7.0N
N"vHr,gNżŁ~bNf}Y"v'`ż0bNRś^N
*Ndata set(uNŻOX[bN"vpencNĘSTegż"vÓ~śg0bN(uSQLDataSetCommandĄh"}SELECT
"vÓ~śgv^ŹVuŚb\NNceQ0Rdata set-NbN}T
TŁŹ*Nh:NCustomers0ąVdkbNs(W g
N*Ndata setł[aŚNS+TąNN*NCustomersh0Yśg"vŻbNSN ReQfY"vhŚTfY"v
sQ|0NADO records set
NT"v/fbNs(WSNYtf'Y"vN`bNSN\te _'YhRbr^
*N\hNNKN"vsQ|SŻOc
NSŁŹyąe_ g)RNf'Y"vzŹ^"^(u_ŃS0.
.
ĄcNegbNó揹QLćNxvĄc>f:yNASP data grid serverżcNłvsQ"vćNx0ASP data grid
server"v\O(u/fcON*NgśW,g"vh0bNZP"v/UN"vNNN`/fJTɋNbN(W
gĄRhVzŹLN
N/f
gĄRhVz"vżcN0ĄcNegbNnthe border[Ś^:N
ąV:N
Nb"vOP[-Nborder="0"0dkY
bNe RąNN*N^\'`N(ueg9eSitems"v̀ofr0N(ueghĆ(WASPh-N
NThN:SR0S_6q`OQ_Y"vćNx(u_Żs"vąe_9eSkN*NyŚv"v̀ofr(WŁŹębN{SNN]\O
ęS/fh_ŁŹ*N^\'`0Nhs"vri_/fEmppr0
AlternatingItemStyle-BackColor="#CCCCCC"
BorderWidth="0"
/>