Summary


In this hour we saw how to create our first useful ASP.NET web page. We started by outlining the features we wanted to include in our ASP.NET web page, including the output and needed inputs. We then briefly discussed what the user interface should look like.

Next, we implemented the user interface by completing the HTML portion of the ASP.NET web page. With Visual Web Developer, this was simply a matter of typing in the TextBox labels and dragging and dropping the needed TextBox, Button, and Label Web controls onto the page.

After the HTML portion, the source code portion was entered. The code to perform the calculation was inserted in an event handler for the Compute Monthly Cost Button's Click event. This had the effect of having the entered code executed whenever the user clicked the Compute Monthly Cost button.

Following the design and development stages, we tested the ASP.NET web page by visiting it with a Web browser and entering some values for the three TextBoxes. This hour concluded with discussion of the source code portion of the ASP.NET page.




Sams Teach Yourself ASP. NET 2.0 in 24 Hours, Complete Starter Kit
Sams Teach Yourself ASP.NET 2.0 in 24 Hours, Complete Starter Kit
ISBN: 0672327384
EAN: 2147483647
Year: 2004
Pages: 233

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net