O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exercises

23.3 (WebTime Modification) Modify the WebTime example to contain drop-down lists that allow the user to modify such Label properties as BackColor, ForeColor and Font-Size. Configure these drop-down lists so that a postback occurs whenever the user makes a selection—to do this, set their AutoPostBack properties to true. When the page reloads, it should reflect the specified changes to the properties of the Label displaying the time.

23.4 (Page Hit Counter) Create an ASP.NET page that uses session tracking to keep track of how many times the client computer has visited the page. Set the HttpSessionState object’s Timeout property to 1440 (the number of minutes in one day) to keep the session in effect for one day into the future. Display ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required