Skip to Content
Learning ASP.NET 3.5, 2nd Edition
book

Learning ASP.NET 3.5, 2nd Edition

by Brian MacDonald, Dan Hurwitz, Jesse Liberty
July 2008
Beginner
607 pages
16h 25m
English
O'Reilly Media, Inc.
Content preview from Learning ASP.NET 3.5, 2nd Edition

Appendix D. Answers to Quizzes and Exercises

Chapter 1: Getting Started

Answers to Quiz Questions

  1. You can create a new web site by selecting File → New Web Site, or by clicking the “Create: Web Site” link on the Start page.

  2. The three views are Design view, which shows you the appearance of your page, Source view, which shows you the markup, and Split view, which shows both.

  3. The settings that are specific to each control are called properties, and you can view them in the Properties window of the IDE.

  4. The controls are kept in the Toolbox, which is on the left side of the IDE by default.

  5. There are three different ways to run your program with debugging: click Debug → Start Debugging, press F5, or click the Start Debugging icon on the toolbar.

  6. The Click event.

  7. The code for the event handler is located in the code-behind file.

  8. You can get to the code-behind file by selecting the file in the Solution Explorer, or by double-clicking the control whose default event you want to set up.

  9. Use the Label control’s Text property to set the content of the label. You’ll see that many controls have a Text property that you can set.

  10. When you click the button in Hello World, you raise the Click event. The code for the event handler is evaluated at the server, which redraws the page and sends it back to the browser, causing a noticeable flicker. In Chapter 2, you’ll see how to avoid that.

Answer to Exercise

Exercise 1-1. There is no “right” or “wrong” answer to this exercise; you’re just playing around with the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Programming Microsoft® ASP.NET 3.5

Programming Microsoft® ASP.NET 3.5

Dino Esposito
ASP.NET 2.0 Illustrated

ASP.NET 2.0 Illustrated

Alex Homer, Dave Sussman
Programming ASP.NET 3.5, 4th Edition

Programming ASP.NET 3.5, 4th Edition

Dan Maharry, Dan Hurwitz, Jesse Liberty
Professional ASP.NET 2.0 Special Edition

Professional ASP.NET 2.0 Special Edition

Bill Evjen, Scott Hanselman, Devin Rader, Farhan Muhammad, S. Srinivasa Sivakumar

Publisher Resources

ISBN: 9780596518455Errata Page