Example: Date Evaluator
This example creates an ASP.NET page that calculates the difference in days between two dates. Figure 12-4 shows the finished application in use.
Figure 12-4. This ASP.NET Web application calculates the difference between two dates. The calendar displays are Calendar Web server controls.
Creating a Visual Web Page Design
To create this application, start Visual Studio, close any open projects, and then proceed as follows:
Choose New from the File menu and then choose Project.
When the New Project dialog box appears, select the ASP.NET Web Application template, specify a location of http://localhost/DateEval, and then click OK. ...
Get Faster Smarter Beginning Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.