Web Application Overview - PowerPoint PPT Presentation

1 / 200
About This Presentation
Title:

Web Application Overview

Description:

Proxy Server. Proxy Server. Web Application. HTML. Web Architecture. Web Application. ASP ... Web Browser. Common Gateway Interface (CGI) Web Server. Response Object ... – PowerPoint PPT presentation

Number of Views:73
Avg rating:3.0/5.0
Slides: 201
Provided by: Ouan
Category:

less

Transcript and Presenter's Notes

Title: Web Application Overview


1
Web Application Overview ASP.NET
  • ????????????????????????????204200 Browser-Based
    Application Development

2
Web Application
  • HTML
  • Web Architecture
  • Web Application
  • ASP
  • Web Database
  • ASP.NET

3
(No Transcript)
4
(No Transcript)
5
(No Transcript)
6
World Wide Web
library.sut.ac.th
www.sut.ac.th
My Computer
Name Server
www.thairath.com
7
World Wide Web
8
World Wide Web
library.sut.ac.th
www.sut.ac.th
My Computer
Name Server
www.thairath.com
9
World Wide Web
library.sut.ac.th
www.sut.ac.th
My Computer
Name Server
www.thairath.com
10
World Wide Web
  • Telephone

Caller
Operator
Receiver
11
World Wide Web
  • Computer

????????????
??????????????????
Computer
Name Saver
?????????????????????????
12
(No Transcript)
13
World Wide Web
  • Computer

www.sut.ac.th
203.158.4.30
Computer
Name Saver
www.sut.ac.th (203.158.4.30)
14
(No Transcript)
15
World Wide Web
library.sut.ac.th
www.sut.ac.th
My Computer
Name Server
www.thairath.com
16
World Wide Web
www.sut.ac.th
17
World Wide Web
  • Web Server Web Browser

www.sut.ac.th
18
World Wide Web
  • Web Server Web Browser

HTML
www.sut.ac.th
Request
19
????????????
  • World Wide Web
  • HTML (Hypertext Mark-up Language)
  • ????????????????????????????????????

20
HTML
lt????????gt ?????????? lt/????????gt ltIgt ??????????
lt/Igt
21
HTML
lt????????????1gt ?????????? lt/????????????1gt ltH1gt
?????????? lt/H1gt
22
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt/BODYgt lt
/HTMLgt
23
??????????????? ASP
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltIMG
SRC"images/SUTLogo.JPG"gt ltBRgt
ltBgtHello Boldlt/BgtltBRgt ltIgtHello
Italiclt/IgtltBRgt Hello ASP 1 1
2 lt/BODYgt lt/HTMLgt
24
??????????????? ASP
www.sut.ac.th
Web Browser
Internet Information Server
25
??????????????? ASP
Web Browser
Web Server
App. Engine
Database
26
??????????????? ASP
Web Browser
Web Server
App. Engine
Database
27
Web Application
  • HTML
  • Web Architecture
  • Web Application
  • ASP
  • Web Database
  • ASP.NET

28
Web Architecture
Web Browser
Host
Web Server
29
Web Architecture
  • Apache Web server
  • Apache Tomcat
  • Internet Information Server
  • Netscape Web Server

30
Web Architecture
Web Browser
Host
Web
FTP
Mail
31
Web Architecture
Client
Host
Web
Browser
FTP
Mail
32
Web Architecture
Web Browser
Host
Web
203.158.1.82 203.158.4.3080 First Page
FTP
Mail
33
Web Architecture
Web Browser
Host
203.158.1.82 203.158.4.3080 First Page
Web
80
FTP
21
Mail
25
34
Web Architecture
Web Browser
Host
203.158.1.82 index.html default.asp
Web
80
FTP
21
Mail
25
35
Web Architecture
Web Browser
Host
203.158.1.82 index.html default.asp
Web
80
FTP
21
Mail
25
36
Web Architecture
Web Browser
Host
Web
80
FTP
21
Mail
25
37
Proxy Server
38
Proxy Server
39
Web Application
  • HTML
  • Web Architecture
  • Web Application
  • ASP
  • Web Database
  • ASP.NET

40
Form
Web Browser
Web Server
203.158.1.82 203.158.4.3080 First Page
41
Form
Web Browser
Web Server
203.158.1.82 index.html default.asp
42
Form
Web Browser
Web Server
Request Object
43
Form
Web Browser
Web Server
Response Object
44
Form
45
Form
46
Form Elements
  • File Field
  • Text Area
  • Drop Down
  • Listbox
  • Textbox
  • Password
  • Radio Button
  • Checkbox

47
Common Gateway Interface (CGI)
48
Common Gateway Interface (CGI)
49
Common Gateway Interface (CGI)
50
Common Gateway Interface (CGI)
Web Browser
Web Server
Request Object
51
Common Gateway Interface (CGI)
Web Browser
Web Server
Response Object
52
Common Gateway Interface (CGI)
  • printf(ltHTMLgt)
  • printf(ltBODYgt)
  • printf(Hello CGIltBRgt)
  • printf(1 1 d, 11)
  • printf(lt/BODYgt)
  • printf(lt/HTMLgt)

53
Common Gateway Interface (CGI)
54
Common Gateway Interface (CGI)
Web Browser
Web Server
Response Object
55
Common Gateway Interface (CGI)
  • printf(ltHTMLgt)
  • printf(ltBODYgt)
  • printf(Hello CGIltBRgt)
  • printf(1 1 d, 11)
  • printf(lt/BODYgt)
  • printf(lt/HTMLgt)

56
Common Gateway Interface (CGI)
Web Browser
Web Server
ltHTMLgt ltBODYgt Hello CGIltBRgt 112 lt/BODYgt lt/HTML
gt
57
Common Gateway Interface (CGI)
58
Common Gateway Interface (CGI)
  • C/C
  • Perl

59
Common Gateway Interface (CGI)
  • sum 1 1
  • print ltHTMLgt
  • print ltBODYgt
  • print Hello PerlltBRgt
  • print 1 1 sum
  • print lt/BODYgt
  • print lt/HTMLgt

60
Common Gateway Interface (CGI)
61
Web Application
  • HTML
  • Web Architecture
  • Web Application
  • ASP
  • Web Database
  • ASP.NET

62
??????????????? ASP
Web Browser
Web Server
App. Engine
63
??????????????? ASP
Web Browser
Web Server
App. Engine
64
??????????????? ASP
  • HTML

ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
Response.Write("Hello ASP")
gt lt/BODYgt lt/HTMLgt
65
Common Gateway Interface (CGI)
  • sum 1 1
  • print ltHTMLgt
  • print ltBODYgt
  • print Hello PerlltBRgt
  • print 1 1 sum
  • print lt/BODYgt
  • print lt/HTMLgt

66
??????????????? ASP
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP")
gt lt/BODYgt lt/HTMLgt
67
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP")
gt lt/BODYgt lt/HTMLgt
ASP Engine
68
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP")
gt lt/BODYgt lt/HTMLgt
ASP Engine
69
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP")
gt lt/BODYgt lt/HTMLgt
ASP Engine
70
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP")
gt lt/BODYgt lt/HTMLgt
ASP Engine
71
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/Bgt ltIgtHello Italiclt/Igt Hello
ASP lt/BODYgt lt/HTMLgt
ASP Engine
72
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt
Hello ASP lt/BODYgt lt/HTMLgt
ASP Engine
73
??????????????? ASP
Web Browser
Web Server
Example Hello Bold Hello Italic Hello ASP
ASP Engine
74
??????????????? ASP
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP")
gt lt/BODYgt lt/HTMLgt
75
Web Server
  • HTML

ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt/BODYgt lt
/HTMLgt
76
Web Server
77
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt/BODYgt lt
/HTMLgt
78
??????????????? ASP
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP ltBRgt")
Response.Write("11" 11)
gt lt/BODYgt lt/HTMLgt
79
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP ltBRgt")
Response.Write("11" 11)
gt lt/BODYgt lt/HTMLgt
ASP Engine
80
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP ltBRgt")
Response.Write("11" 11)
gt lt/BODYgt lt/HTMLgt
ASP Engine
81
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP ltBRgt")
Response.Write("11" 11)
gt lt/BODYgt lt/HTMLgt
ASP Engine
82
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt lt
Response.Write("Hello ASP ltBRgt")
Response.Write("11" 11)
gt lt/BODYgt lt/HTMLgt
ASP Engine
83
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt
Hello ASPltBRgt 1 1 2 lt/BODYgt lt/HTMLgt
ASP Engine
84
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt
Hello ASPltBRgt 1 1 2 lt/BODYgt lt/HTMLgt
ASP Engine
85
??????????????? ASP
Web Browser
Web Server
Example Hello Bold Hello Italic Hello ASP 1 1
2
ASP Engine
86
??????????????? ASP
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
Response.Write("Hello ASP ltBRgt")
Response.Write("11" 11)
gt lt/BODYgt lt/HTMLgt
87
??????????????? ASP
Web Browser
Web Server
Request Object
88
??????????????? ASP
Web Browser
Web Server
Response Object
89
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltIMG
SRC"images/SUTLogo.JPG"gt ltBRgt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt Hello
ASP ltBRgt 112 lt/BODYgt lt/HTMLgt
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltIMG
SRC"images/SUTLogo.JPG"gt ltBRgt
ltBgtHello Boldlt/BgtltBRgt ltIgtHello
Italiclt/IgtltBRgt lt Response.Write("Hello
ASP ltBRgt") Response.Write("11" 11)
gt lt/BODYgt lt/HTMLgt
90
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltIMG
SRC"images/SUTLogo.JPG"gt ltBRgt ltBgtHello
Boldlt/BgtltBRgt ltIgtHello Italiclt/IgtltBRgt Hello
ASP ltBRgt 112 lt/BODYgt lt/HTMLgt
91
??????????????? ASP
Web Browser
Web Server
92
Form ASP
93
Form ASP
94
Form ASP
Web Browser
Web Server
Request Object
95
Form ASP
96
Form ASP
97
Form ASP
  • lthtmlgt
  • ltbodygtltform action"demo_simpleform.asp"
    method"post"gtYour name ltinput type"text"
    name"fname" size"20"gtltinput type"submit"
    value"Submit"gtlt/formgtltdim fnamefnameRequest
    .Form("fname")If fnameltgt"" Then     
    Response.Write("Hello " fname "!ltbr
    /gt")      Response.Write("How are you
    today?")End Ifgt
  • lt/bodygt
  • lt/htmlgt

98
Form ASP
99
Form ASP
  • lthtmlgtltdim carscarsRequest.Form("cars")gtltb
    odygtltform action"demo_radiob.asp"
    method"post"gtltpgtPlease select your favorite
    carlt/pgt

100
Form ASP
  • ltinput type"radio" name"cars"ltif
    cars"Volvo" then Response.Write("checked")gtvalu
    e"Volvo"gtVolvolt/inputgtltbr /gtltinput
    type"radio" name"cars"ltif cars"Saab" then
    Response.Write("checked")gtvalue"Saab"gtSaablt/inp
    utgtltbr /gtltinput type"radio" name"cars"ltif
    cars"BMW" then Response.Write("checked")gtvalue
    "BMW"gtBMWlt/inputgt

101
Form ASP
  • ltbr /gtltbr /gtltinput type"submit" value"Submit"
    /gtlt/formgtltif carsltgt"" then  
    Response.Write("ltpgtYour favorite car is " cars
    "lt/pgt")end ifgtlt/bodygtlt/htmlgt

102
??????????????? ASP
Web Browser
Web Server
Request Object
103
Form ASP
  • lthtmlgt
  • ltbodygtltform action"demo_simpleform.asp"
    method"post"gtYour name ltinput type"text"
    name"fname" size"20"gtltinput type"submit"
    value"Submit"gtlt/formgtltdim fnamefnameRequest
    .Form("fname")If fnameltgt"" Then     
    Response.Write("Hello " fname "!ltbr
    /gt")      Response.Write("How are you
    today?")End Ifgt
  • lt/bodygt
  • lt/htmlgt

104
??????????????? ASP
Web Browser
Web Server
Request Object
105
??????????????? ASP
Web Browser
Web Server
Form actiondemo fnamejohn
  • lthtmlgt
  • ltbodygtltform action"demo_simpleform.asp"
  • fnameRequest.Form("fname")
  • lt/bodygt
  • lt/htmlgt

106
??????????????? ASP
Web Browser
Web Server
lthtmlgt ltbodygtltformgt lt/formgtlt dim
fnamefnameRequest.Form("fname")If fnameltgt""
Then      Response.Write("Hello " fname
"!ltbr /gt")      Response.Write("How are you
today?")End If gt lt/bodygt lt/htmlgt
Response Object
107
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltFORM gt lt/FORMgt Hello
JohnltBRgt How are you today? lt/BODYgt lt/HTMLgt
lthtmlgt ltbodygtltformgt lt/formgtlt dim
fnamefnameRequest.Form("fname")If fnameltgt""
Then      Response.Write("Hello " fname
"!ltbr /gt")      Response.Write("How are you
today?")End If gt lt/bodygt lt/htmlgt
108
??????????????? ASP
Web Browser
Web Server
ltHTMLgt ltBODYgt ltFORM gt lt/FORMgt Hello
JohnltBRgt How are you today? lt/BODYgt lt/HTMLgt
109
??????????????? ASP
Web Browser
Web Server
110
??????????????? ASP
Web Browser
Web Server
Request Object
111
??????????????? ASP
Web Browser
Web Server
Response Object
112
Common Gateway Interface (CGI) C/C
  • printf(ltHTMLgt)
  • printf(ltBODYgt)
  • printf(Hello CGIltBRgt)
  • printf(1 1 d, 11)
  • printf(lt/BODYgt)
  • printf(lt/HTMLgt)

113
Common Gateway Interface (CGI) - Perl
  • sum 1 1
  • print ltHTMLgt
  • print ltBODYgt
  • print Hello PerlltBRgt
  • print 1 1 sum
  • print lt/BODYgt
  • print lt/HTMLgt

114
ASP
  • ltHTMLgt
  • ltBODYgt
  • Hello ASPltBRgt
  • lt Response.Write(1 1 11) gt
  • lt/BODYgt
  • lt/HTMLgt

115
PHP
  • ltHTMLgt
  • ltBODYgt
  • Hello ASPltBRgt
  • lt? echo 1 1 . 11) ?gt
  • lt/BODYgt
  • lt/HTMLgt

116
Web Application
  • HTML
  • Web Architecture
  • Web Application
  • ASP
  • Web Database
  • ASP.NET

117
ASP Database
Web Browser
Web Server
ASP Engine
118
ASP Database
Web Browser
Web Server
ASP Engine
Database
119
ASP Database
Web Browser
Web Server
ASP Engine
Components
ASP Script
Oracle
ADO
Data Provider
SQL
Access
FoxPro
120
ASP Database
Web Browser
Web Server
ASP Engine
Database
121
ASP Database
Web Browser
Web Server
ASP Engine
Database
122
????????????????????????
Web Browser
Web Server
ASP Engine
Database
123
????????????????????????
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
124
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
125
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
126
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
127
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
128
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt
129
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt 10002 ??????????? ltBRgt
130
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt 10002 ??????????? ltBRgt 10003
??????????? ltBRgt
131
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt 10002 ??????????? ltBRgt 10003
??????????? ltBRgt 10004 ???????????? ltBRgt
132
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt 10002 ??????????? ltBRgt 10003
??????????? ltBRgt 10004 ???????????? ltBRgt 10005
?????????????????? ltBRgt
133
????????????????????????
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
134
????????????????????????
lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
135
????????????????????????
136
????????????????????????
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
137
????????????????????????
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
138
????????????????????????
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
139
????????????????????????
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
140
????????????????????????
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
141
????????????????????????
Web Browser
Web Server
Set conServer.CreateObject("ADODB.Connection") co
n.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateOb
ject("ADODB.Recordset") Set rsBookscon.Execute(st
rSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing
ASP Engine
Database
142
????????????????????????
Web Browser
Web Server
Set conServer.CreateObject("ADODB.Connection") co
n.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateOb
ject("ADODB.Recordset") Set rsBookscon.Execute(st
rSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing
ASP Engine
Database
143
????????????????????????
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
144
????????????????????????
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt
10001 ??????? ltBRgt 10002 ??????????? ltBRgt
10003 ??????????? ltBRgt 10004 ????????????
ltBRgt 10005 ?????????????????? ltBRgt
lt/BODYgt lt/HTMLgt
ASP Engine
Database
145
????????????????????????
Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt
10001 ??????? ltBRgt 10002 ??????????? ltBRgt
10003 ??????????? ltBRgt 10004 ????????????
ltBRgt 10005 ?????????????????? ltBRgt
lt/BODYgt lt/HTMLgt
ASP Engine
Database
146
????????????????????????
Web Browser
Web Server
Example Hello Bold Hello Italic 10001 ???????
10002 ??????????? 10003 ??????????? 10004
???????????? 10005 ??????????????????
ASP Engine
Database
147
????????????????????????
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
148
Web Application
  • HTML
  • Web Architecture
  • Web Application
  • ASP
  • Web Database
  • ASP.NET

149
.NET Framework
Programming Code
Components
Complied to native code
Operating System
Execute
DLL, EXE, etc.
User
  • Programming

150
.NET Framework
Programming Code
Components
Complied to byte code
Java Virtual Machine
Compiled into native code Executes
Java Class/Java Applet
User
  • Java

151
.NET Framework
Programming Code
Programming Code
Complied to byte code
Complied to native code
Class/Applet
exe, dll, etc.
User
User
  • Java

152
.NET Framework
.NET Code
.NET Class library
Complied to assembly
common language runtime (CLR)
Compiled into native code Executes
DLL (in MSIL)
User
153
.NET Framework
Programming Code
Programming Code
Complied to assembly
Complied to native code
Java Class/Java Applet
exe, dll, etc.
User
User
154
.NET Framework
Programming Code
Programming Code
Programming Code
Complied to byte code
Complied to native code
Complied to assembly
Java Class/Java Applet
exe, dll, etc.
Java Class/Java Applet
User
User
User
155
ASP.NET
.NET Code
.NET Class library (ASP.NET)
Complied to assembly
common language runtime (CLR)
Compiled into native code Executes
DLL (in MSIL)
User (Server)
156
ASP.NET
.NET Code
.NET Class library (ASP.NET)
Complied to assembly
common language runtime (CLR)
Compiled into native code Executes
DLL (in MSIL)
Web Browser
User (Server)
157
Web Form
  • HTML Windows Form

158
Web Application
  • HTML
  • Web Architecture
  • Web Application
  • ASP
  • Web Database
  • ASP.NET

159
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
160
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
161
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
162
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt
163
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt 10002 ??????????? ltBRgt
164
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt 10002 ??????????? ltBRgt 10003
??????????? ltBRgt
165
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt 10002 ??????????? ltBRgt 10003
??????????? ltBRgt 10004 ???????????? ltBRgt
166
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
book_id book_name author publisher price
10001 ??????? ??????? ??????? 250.00
10002 ??????????? ????? ??????? 250.00
10003 ??????????? ????? ??????? 220.00
10004 ???????????? ?????? ??????? 300.00
10008 ?????????????????? ???? ????? 100.00
10001 ??????? ltBRgt 10002 ??????????? ltBRgt 10003
??????????? ltBRgt 10004 ???????????? ltBRgt 10005
?????????????????? ltBRgt
167
ADO.NET
  • ADO

ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
168
ADO.NET
  • ADO

lt Set conServer.CreateObject("ADODB.Connection")
con.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateO
bject("ADODB.Recordset") Set rsBookscon.Execute(s
trSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing gt
169
ADO.NET
  • ADO

170
ADO.NET
  • ADO

ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
171
ADO.NET
  • ADO

Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
172
ADO.NET
  • ADO

Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
173
ADO.NET
  • ADO

Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
174
ADO.NET
  • ADO

Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
175
ADO.NET
  • ADO

Web Browser
Web Server
Set conServer.CreateObject("ADODB.Connection") co
n.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateOb
ject("ADODB.Recordset") Set rsBookscon.Execute(st
rSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing
ASP Engine
Database
176
ADO.NET
  • ADO

Web Browser
Web Server
Set conServer.CreateObject("ADODB.Connection") co
n.Open "DriverSQL Server SERVERMYCOM
DATABASElibraryUIDuser01PWDpassword" strSQL
"SELECT FROM book" Set rsBooksServer.CreateOb
ject("ADODB.Recordset") Set rsBookscon.Execute(st
rSQL) Do While Not rsBooks.Eof Response.Write
rsBooks.Fields("book_id") " " Response.Write
rsBooks.Fields("title") "ltBRgt" rsBooks.MoveNext
Loop con.Close Set conNothing
ASP Engine
Database
177
ADO.NET
  • ADO

Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
ASP Engine
Database
178
ADO.NET
  • ADO

Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt
10001 ??????? ltBRgt 10002 ??????????? ltBRgt
10003 ??????????? ltBRgt 10004 ????????????
ltBRgt 10005 ?????????????????? ltBRgt
lt/BODYgt lt/HTMLgt
ASP Engine
Database
179
ADO.NET
  • ADO

Web Browser
Web Server
ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt
10001 ??????? ltBRgt 10002 ??????????? ltBRgt
10003 ??????????? ltBRgt 10004 ????????????
ltBRgt 10005 ?????????????????? ltBRgt
lt/BODYgt lt/HTMLgt
ASP Engine
Database
180
ADO.NET
  • ADO

Web Browser
Web Server
Example Hello Bold Hello Italic 10001 ???????
10002 ??????????? 10003 ??????????? 10004
???????????? 10005 ??????????????????
ASP Engine
Database
181
ADO.NET
  • ADO

ltHTMLgt ltBODYgt ltH1gtExamplelt/H1gt ltBgtHello
Boldlt/BgtltBRgt ltBgtHello Italiclt/BgtltBRgt lt
ASP Block ???? book_id ??? title
gt lt/BODYgt lt/HTMLgt
182
ADO.NET
  • ADO ADO.NET

RecordSet






DataSet






183
ADO.NET
  • Connection
  • Command
  • DataReader
  • DataSet
  • DataAdapter

184
ADO.NET
  • ADO ADO.NET

SqlDataAdaper SelectCommandUpdateCommandInsertC
ommandDeleteCommand
DataSet






SQL






185
ADO.NET
186
ADO.NET
  • Connection
  • Command
  • DataReader
  • DataSet
  • DataAdapter

187
ADO.NET
  • ADO ADO.NET

RecordSet






DataSet






188
SQLHelper and OleDbHelper
dbEmployee
Determine Database
Connect to the Database
dbEmployee
Execute Command
SELECT FROM employee
Use Data
empid empname address
B4700001 ????? 23/12 ???? 7 ?.??????? ?.??????
B4700002 ??????????? 222 ?.??????? ?.????? ?.??????
B4700003 ????? 111 ?????????????? 1 ?.???????
B4700004 ???? 99 ????????????? ???????????
Close Connection
189
SQLHelper and OleDbHelper
Determine Database
dbEmployee
SELECT FROM employee
Execute Command
empid empname address
B4700001 ????? 23/12 ???? 7 ?.??????? ?.??????
B4700002 ??????????? 222 ?.??????? ?.????? ?.??????
B4700003 ????? 111 ?????????????? 1 ?.???????
B4700004 ???? 99 ????????????? ???????????
Use Data
190
DataBinding
  • WebForm Controls
  • TextBox
  • Label
  • DropDownList
  • DataGrid
  • DataList
  • RadioButtonList
  • CheckBoxList
  • etc.

191
DataBinding
192
DataBinding
  • string ConnectionString "ProviderMicrosoft.Jet.
    OLEDB.4.0Data SourceC\\Inetpub\\wwwroot\\e-Comm
    erce\\MyStore.mdb"
  • string SqlStatement "SELECT FROM car"
  • DataSet ds new DataSet()
  • ds OleDbHelper.ExecuteDataset(ConnectionString,
    CommandType.Text, SqlStatement)
  • ds.Tables0.TableName Car

193
DataBinding
  • Label

TextBox1.Text ds.Tables"Car".Rows0"make".
ToString()
194
DataBinding
  • Label

Label1.Text ds.Tables"Car".Rows0"make".To
String()
195
DataBinding
  • DropDownList

DropDownList1.DataSource
ds DropDownList1.DataTextField
"make" DropDownList1.DataBind()
196
DataBinding
  • DataGrid

DataGrid1.DataSource ds DataGrid1.DataBi
nd()
197
DataBinding
  • RadioButtonList

RadioButtonList1.DataSource
ds RadioButtonList1.DataTextField
"make" RadioButtonList1.DataBind()
198
?????????????????? 5
199
Web Application
  • HTML
  • Web Architecture
  • Web Application
  • ASP
  • Web Database
  • ASP.NET
  • ASP.NET 2.0

200
ASP.NET 2.0
  • Web Form Controls
  • SqlDatasource Data Control
  • Security
  • Application State
  • Master Page
  • Web Part
Write a Comment
User Comments (0)
About PowerShow.com