| |
| |
Introduction | |
| |
| |
Conventions Used in This Book | |
| |
| |
| |
Getting Started with ASP.NET | |
| |
| |
| |
Getting Started with ASP.NET 2.0 | |
| |
| |
What Is ASP.NET? | |
| |
| |
Installing the ASP.NET Engine, Editor, and Database System | |
| |
| |
A Brief Tour of Visual Web Developer | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Understanding the ASP.NET Programming Model | |
| |
| |
Examining the HTML Markup Portion of an ASP.NET Web Page | |
| |
| |
Examining the Source Code Portion of an ASP.NET Web Page | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Using Visual Web Developer | |
| |
| |
Creating a New Website | |
| |
| |
Opening Existing Websites | |
| |
| |
Working with Web Pages and Other Content | |
| |
| |
Customizing the Visual Web Developer Experience | |
| |
| |
Viewing, Moving, and Resizing Windows | |
| |
| |
A World of Help at Your Fingertips | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Designing, Creating, and Testing ASP.NET Web Pages | |
| |
| |
Specifying the Design Requirements | |
| |
| |
Creating the User Interface | |
| |
| |
Writing the Source Code for the ASP.NET Web Page | |
| |
| |
Testing the Financial Calculator | |
| |
| |
Examining the Source Code | |
| |
| |
Using the Debugger | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Understanding Visual Basic's Variables and Operators | |
| |
| |
The Purpose of Programming Languages | |
| |
| |
Declaring and Using Variables | |
| |
| |
Examining Visual Basic's Operators | |
| |
| |
Learning Visual Basic's Type Rules | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Managing Program Flow with Visual Basic's Control Structures | |
| |
| |
Understanding Control Structures | |
| |
| |
Exploring the Conditional Control Structure | |
| |
| |
Working with Visual Basic's Looping Control Structures | |
| |
| |
Exploring the Modularizing Control Structures: Subroutines and Functions | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Working with Objects in Visual Basic | |
| |
| |
Reexamining the Role of Classes and Objects | |
| |
| |
Creating an Object | |
| |
| |
Setting an Object's Properties | |
| |
| |
Calling an Object's Methods | |
| |
| |
Creating Event Handlers for an Object's Events | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
ASP.NET Web Controls for Displaying Text | |
| |
| |
Examining the Web Controls Designed for Displaying Text | |
| |
| |
Using the Literal Web Control | |
| |
| |
Using the Label Web Control | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Collecting and Processing User Input | |
| |
| |
| |
Web Form Basics | |
| |
| |
Gathering User Input in an HTML Web Page | |
| |
| |
Dissecting ASP.NET Web Forms | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Using Text Boxes to Collect Input | |
| |
| |
Learning About the TextBox Web Control Basics | |
| |
| |
Creating Multiline and Password Text Boxes | |
| |
| |
Examining the TextBox Web Control's Properties | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Collecting Input Using Drop-down Lists, Radio Buttons, and Check Boxes | |
| |
| |
Examining the Different Types of User Input Classifications | |
| |
| |
Examining the DropDownList Web Control | |
| |
| |
Selecting One Option from a List of Suitable Choices with RadioButton Web Controls | |
| |
| |
Using the CheckBox Web Control | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Validating User Input with Validation Controls | |
| |
| |
Examining the Need for User Input Validation | |
| |
| |
Validating User Input in an ASP.NET Web Page | |
| |
| |
Examining the RequiredFieldValidator Validation Control | |
| |
| |
Examining the CompareValidator | |
| |
| |
Using the RangeValidator | |
| |
| |
Validating Input with the RegularExpressionValidator | |
| |
| |
Aesthetic Properties for the Validation Web Controls | |
| |
| |
A Look at the Remaining Validation Controls | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Working with Databases | |
| |
| |
| |
An Introduction to Databases | |
| |
| |
Examining Database Fundamentals | |
| |
| |
Storing Structured Data | |
| |
| |
Creating a New Database | |
| |
| |
Creating Database Tables | |
| |
| |
Adding Data to the Books Table | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Accessing Data with the Data Source Web Controls | |
| |
| |
Examining the Data Source Controls | |
| |
| |
A Look at SQL, the Language of Databases | |
| |
| |
Delving into the SQL SELECT Statement | |
| |
| |
Filtering and Sorting Data from the SqlDataSource Control's Wizard | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Displaying Data with the Data Web Controls | |
| |
| |
An Overview of Data Web Controls | |
| |
| |
Displaying Data with the GridView Control | |
| |
| |
Showing One Record at a Time with the DetailsView | |
| |
| |
Paging and Sorting with the GridView | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Deleting, Inserting, and Editing Data | |
| |
| |
Updating, Deleting, and Inserting Data with the SqlDataSource | |
| |
| |
Looking at the Data Modification SQL Statements | |
| |
| |
Editing and Deleting Data with the GridView | |
| |
| |
Inserting Data with the DetailsView | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Working with Data-Bound DropDownLists, RadioButtons, and CheckBoxes | |
| |
| |
An Overview of the List Web Controls | |
| |
| |
Filtering Results Using the DropDownList | |
| |
| |
Collecting User Input with CheckBoxLists and RadioButtonLists | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Exploring Data Binding and Other Data-Related Topics | |
| |
| |
Looking at the GridView's and DetailsView's Fields | |
| |
| |
Using Wildcards in a WHERE Filter Expression | |
| |
| |
An Examination of Data Binding | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Site Navigation, User Management, and Page Layout | |
| |
| |
| |
Defining a Site's Structure and Providing Site Navigation | |
| |
| |
An Overview of ASP.NET's Site Navigation Features | |
| |
| |
Defining the Website's Structure Using a Site Map | |
| |
| |
Displaying a Breadcrumb with the SiteMapPath Control | |
| |
| |
Showing the Entire Site Structure | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Managing Your Site's Users | |
| |
| |
An Overview of User Accounts in ASP.NET | |
| |
| |
Allowing Visitors to Create New User Accounts | |
| |
| |
Logging In to the Website with the Login Control | |
| |
| |
Displaying Content Based on Authentication Status | |
| |
| |
Recovering a User's Forgotten Password | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Using Master Pages to Provide Sitewide Page Templates | |
| |
| |
An Overview of Master Pages | |
| |
| |
Creating a Master Page | |
| |
| |
Creating an ASP.NET Page That Inherits the Master Page | |
| |
| |
Providing Default Content in a Master Page | |
| |
| |
Working with a Master Page's Source Code Portion | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Building a Photo Album Web Application with ASP.NET | |
| |
| |
| |
Devising a Plan for the Photo Album Application | |
| |
| |
An Overview of the Design Process | |
| |
| |
The Photo Album Application's Design Requirements | |
| |
| |
Creating the Database Structure | |
| |
| |
Sketching Mockups for the Application's User Interface | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Workshop | |
| |
| |
| |
Building the Photo Album Application Foundation | |
| |
| |
Partitioning the Application into Manageable Tasks | |
| |
| |
Implementing the User Account-Related Pages | |
| |
| |
Creating the Photo Album Website's Home Page | |
| |
| |
Managing Categories | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
| |
Uploading and Displaying Images and Leaving Comments | |
| |
| |
Completing the Photo Album Administration Pages | |
| |
| |
Displaying the Photo Album to All Visitors | |
| |
| |
Viewing an Individual Picture and Its Comments | |
| |
| |
Defining the Site's Structure and Providing Site Navigation | |
| |
| |
Summary | |
| |
| |
Q&A | |
| |
| |
Index | |