3024-Chap18 - 18. DYNAMIC WEB PAGES: DATA INPUT, OUTPUT,...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
18. DYNAMIC WEB PAGES: DATA INPUT, OUTPUT, AND PAGE FLOW Last chapter: how to create static web pages using HTML. et’s now turn our attention to ynamic eb pages Let s now turn our attention to dynamic web pages. In this chapter, we’ll see how we can (i) create web pages to accept user input and provide output, (ii) transfer data between web pages, and (iii) use master pages for header and footer sections. Again, we’ll show some generic examples, then apply the aterial to our Anna’s Books web site all using WD 2010 John P. Shewchuk ISE 3024 Course Notes 18 – 1 material to our Anna s Books web site, all using VWD .
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ll of the generic examples and Anna’sBooksf i leswe All of the generic examples and Anna s Books files we will develop in this chapter can be found in the folder AnnasBooksWeb . This folder (zipped) is available on Scholar: Scholar: Resources Application Files Chapters 16-19: Web-based Databases p 2010 John P. Shewchuk ISE 3024 Course Notes 18 – 2
Background image of page 2
18.1 Web Forms for User Input To make useful Web applications, we need some way to ollect user input In ASPNET this is done via eb forms collect user input. In ASP.NET, this is done via Web forms . Let’s begin our study of this by making a very simple form. Right-click the project folder ( C:\. ..\AnnasBooks\ ) in the olution Explorer window and select Add New Item. .. . So ut o p o e do a d se ect dd e te Then, in the Add New Item dialog box, select Web Form . change the name to WebForm1.aspx . ensure the language is Visual Basic , and Place code in a separate file is unchecked. 2010 John P. Shewchuk ISE 3024 Course Notes 18 – 3 p click Add .
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
witch to esign iew and perform the following: Switch to Design view and perform the following: • Type “Web Form #1: Simple User Input”, then hit the down arrow key ( ). y( ) • Type “Enter temperature (degrees F): ” the oolbox eft side of application window) nd e • In the Toolbox (left side of application window), find the text box Web control ( ). Click on the element and drag the cursor until it just after the colon in the second line you typed, then release. A text box will appear as follows: 2010 John P. Shewchuk ISE 3024 Course Notes 18 – 4
Background image of page 4
ow find the Button Web control ( the • Now find the Button Web control ( ) in the Toolbox . Click on this and drag the cursor until it appears after the textbox. A button appear as follows: • In the Properties window, scroll down to find Text and change the value from Button to GO . The button will change as follows: 2010 John P. Shewchuk ISE 3024 Course Notes 18 – 5
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
inally select the rst line of text then select Bold • Finally, select the first line of text, then select Bold from the formatting toolbar: ou’ve just created your first Web form! You ve just created your first Web form!
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/16/2010 for the course ISE 3024 taught by Professor Staff during the Spring '08 term at Virginia Tech.

Page1 / 62

3024-Chap18 - 18. DYNAMIC WEB PAGES: DATA INPUT, OUTPUT,...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online