Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (1.84 MB, 18 trang )
Session 1
ASP.NET and Web Forms
Exploring ASP.NET / Session 1 / 2 of 18
Objectives
Explore Active Server Pages
State the Drawbacks and advantages of
ASP
Explain the features of ASP.NET
Explain the Features of Web Forms
State the differences between pages
created in Web Forms and Editors
Exploring ASP.NET / Session 1 / 3 of 18
Active Server Pages
<HTML><BODY>
<CENTER><I><FONT COLOR="HOTPINK" size = 5>
<%If Time >= #12:00:00 AM# And Time < #12:00:00 PM#
Then%>
"Now the time is between 12:00 am and 12:00 pm"
<%Else%>
" Now the time is between 12:00 pm and 12:00 am"
<%End If%>
</FONT></I></CENTER>
</BODY></HTML>
Executed on server
Exploring ASP.NET / Session 1 / 4 of 18
Processing of ASP file