SAMS Teach Yourself ASP.NET in 24 Hours

Book description

Sams Teach Yourself ASP.NET in 24 Hours Complete Starte Kit provides the unbeatable combination of well-known author and prgrammer Scott Mitchell and Sams' best-selling series. This book teaches non-programmers how to utilize the powerful built-in ASP.NET controls while using the free Web authoring toold created by Microsoft--Web Matrix. The barrier to entry for this book is very low. Readers need only have Windows 2000 (Professional) or Windows XP. All the other necessary tools are provided on the accompanying CD.

Table of contents

  1. Copyright
  2. About the Author
  3. Acknowledgments
  4. We Want to Hear from You!
  5. Introduction
  6. Getting Started with ASP.NET
    1. Getting Started with ASP.NET
      1. What Is ASP.NET?
      2. ASP.NET System Requirements
      3. Installing the .NET Framework
      4. Installing the ASP.NET Web Matrix Project
      5. Installing a Web Server
      6. Summary
      7. Q&A
      8. Workshop
    2. Understanding the ASP.NET Programming Model
      1. Examining the HTML Markup Portion of an ASP.NET Web Page
      2. Examining the Source Code Portion of an ASP.NET Web Page
      3. A Look at ASP.NET HTML Controls
      4. A Look at ASP.NET Web Controls
      5. Summary
      6. Q&A
      7. Workshop
    3. Creating Our First ASP.NET Web Page
      1. Specifying the Design Requirements
      2. Creating the User Interface
      3. Writing the Source Code for the ASP.NET Web Page
      4. Testing the Financial Calculator
      5. Summary
      6. Q&A
      7. Workshop
    4. Dissecting Our First ASP.NET Web Page
      1. Understanding How the Web Controls Are Rendered
      2. Examining when the Events of a Web Control Fire
      3. Adding an Event Handler for a Web Control's Event
      4. Summary
      5. Q&A
      6. Workshop
    5. Visual Basic .NET Variables and Operators
      1. The Purpose of Programming Languages
      2. The Importance of Knowing How to Program
      3. Declaring and Using Variables
      4. Examining Visual Basic .NET's Operators
      5. Learning Visual Basic .NET's Type Rules
      6. Summary
      7. Q&A
      8. Workshop
    6. Visual Basic .NET Control Structures
      1. Understand Control Structures
      2. Exploring the Conditional Control Structure
      3. Working with Visual Basic .NET's Looping Control Structures
      4. Exploring the Modularizing Control Structures: Subroutines and Functions
      5. Summary
      6. Q&A
      7. Workshop
    7. Working with Objects in Visual Basic .NET
      1. Reexamining the Role of Classes and Objects
      2. Creating an Object
      3. Setting an Object's Properties
      4. Calling an Object's Methods
      5. Examining the .NET Framework Documentation
      6. Summary
      7. Q&A
      8. Workshop
    8. Asp.net web controls for displaying text
      1. Examining the Web Controls Designed for Displaying Text
      2. Using the Literal Web Control
      3. Using the Label Web Control
      4. Summary
      5. Q&A
      6. Workshop
  7. Collecting and Processing User Input
    1. Web Form Basics
      1. Gathering User Input in an HTML Web Page
      2. Dissecting Web Forms
      3. Summary
      4. Q&A
      5. Workshop
    2. Using Textboxes to Collect Input
      1. Learning the TextBox Web Control Basics
      2. Creating Multiline and Password Textboxes
      3. Examining the TextBox Web Control's Properties
      4. Summary
      5. Q&A
      6. Workshop
    3. Collecting Input by Using Drop-down Lists, Radio Buttons, and Checkboxes
      1. Examining the Different Types of User Input Classifications
      2. Examining the DropDownList Web Control
      3. Selecting One Option from a List of Suitable Choices with RadioButton Web Controls
      4. Using the CheckBox Web Control
      5. Summary
      6. Q&A
      7. Workshop
    4. Validating User Input with Validation Controls
      1. Examining the Need for User Input Validation
      2. Validating User Input in an ASP.NET Web Page
      3. Examining the RequiredFieldValidator Validation Control
      4. Examining the CompareValidator
      5. Using the RangeValidator
      6. Validating Input with the RegularExpressionValidator
      7. Aesthetic Properties for the Validation Web Controls
      8. A Look at the Remaining Validation Controls
      9. Summary
      10. Q&A
      11. Workshop
  8. Working with Databases
    1. An Introduction to Databases
      1. Examining Database Fundamentals
      2. Storing Structured Data
      3. Installing and Setting Up Microsoft SQL Server Desktop Engine (MSDE)
      4. Creating a New Database
      5. Creating Database Tables
      6. Adding Data to the Customers Table
      7. Summary
      8. Q&A
      9. Workshop
    2. Understanding SQL, the Language of Databases
      1. An Overview of SQL
      2. Using the SQL SELECT Statement
      3. Viewing SQL Queries Results through the Web Matrix Project
      4. Accessing Database Data from an ASP.NET Web Page
      5. Constructing SQL Queries by Using the Web Matrix Project's Code Builder Wizards
      6. Summary
      7. Q&A
      8. Workshop
    3. Displaying Data with the DataGrid Web Control
      1. Displaying Database Data in an ASP.NET Web Page
      2. Getting Started with the DataGrid Web Control
      3. Specifying the Columns That Appear in the DataGrid
      4. Examining the DataGrid's Aesthetic Properties
      5. Learning More about the DataGrid
      6. Summary
      7. Q&A
      8. Workshop
    4. Examining Further DataGrid Examples
      1. Using a DataGrid to Display Information about a Particular Customer
      2. Formatting the DataGrid's Data
      3. Using the HyperLink Column
      4. Summary
      5. Q&A
      6. Workshop
    5. Working with Data-Bound DropDownList, RadioButton, and CheckBox Web Controls
      1. Binding Database Data to a DropDownList Web Control
      2. Using the RadioButtonList Web Control
      3. Examining the CheckBoxList Web Control
      4. Summary
      5. Q&A
      6. Workshop
  9. Advanced Data Display with the DataGrid
    1. Allowing the User to Sort the Data in a DataGrid
      1. Making a High-Level Overview of DataGrid Sorting
      2. Specifying That a DataGrid Is to Be Sortable
      3. Obtaining the Database Data in Properly Sorted Order
      4. Sorting the Data when a Sortable Column's Header Hyperlink Is Clicked
      5. Testing the ASP.NET Web Page
      6. Summary
      7. Q&A
      8. Workshop
    2. Paging Through the DataGrid's Data
      1. A High-Level Overview of DataGrid Paging
      2. Configuring the DataGrid to Support Paging
      3. Getting the Data to Page Through
      4. Displaying a Different Page of Data
      5. Testing the ASP.NET Web Page
      6. Summary
      7. Q&A
      8. Workshop
    3. Editing the Data in a DataGrid
      1. Examining the Steps Required for Providing Editing Support
      2. Adding the Edit, Update, Cancel Button Column to the DataGrid
      3. Using the SELECT Data Method Code Builder to Generate the GetCustomers() Function
      4. Understanding the EditCommand, UpdateCommand, and CancelCommand Event Handlers
      5. Using the UPDATE Data Method Code Builder
      6. Completing the Source Code for the dgCustomers_Update Event Handler
      7. Completing and Testing the EditDataGrid.aspx ASP.NET Web Page
      8. Summary
      9. Q&A
      10. Workshop
  10. Building a Guestbook Web Application with ASP.NET
    1. Devising a Plan for the Guestbook Application
      1. Specifying the Guestbook's Features and Functionality
      2. Deciding on the User Interface
      3. Storing the Guestbook Entries
      4. Summary
      5. Q&A
      6. Workshop
    2. Allowing Users to Add Guestbook Entries
      1. Implementing the User Interface
      2. Examining the Source Code
      3. Testing the AddEntry.aspx ASP.NET Web Page
      4. Summary
      5. Q&A
      6. Workshop
    3. Displaying the Guestbook's Contents
      1. Implementing the User Interface
      2. Examining the Source Code Portion
      3. Testing the ViewGuestbook.aspx ASP.NET Web Page
      4. Summary
      5. Q&A
      6. Workshop
    4. Sending E-Mail when a New Guestbook Entry Is Added
      1. Displaying the E-Mail Address as a Mailto Hyperlink
      2. Sending E-Mail upon a New Guestbook Entry
      3. Summary
      4. Q&A
      5. Workshop
  11. Conclusion
  12. What's on the CD-ROM
    1. Windows Installation Instructions
  13. License Agreement
    1. Microsoft .NET Framework 1.1 Redistributable and Software Development Kit, Microsoft SQL Server 2000 Desktop Engine, and Web Matrix
  14. Index

Product information

  • Title: SAMS Teach Yourself ASP.NET in 24 Hours
  • Author(s): Scott Mitchell
  • Release date: May 2003
  • Publisher(s): Sams
  • ISBN: 9780672325434