| |
| |
Introduction | |
| |
| |
| |
An Inside Look at ASP.NET | |
| |
| |
The Static over Static Web Pages | |
| |
| |
Serving Up Static Web Pages: Are You Being Served? | |
| |
| |
The Pros and Cons of Static Pages | |
| |
| |
Dynamic Web Pages: Viagra for Web Sites | |
| |
| |
Parles-tu Visual Basic .NET? | |
| |
| |
The Pros and Cons of Dynamic Pages | |
| |
| |
Are You Ready for Some ASP.NET? | |
| |
| |
Building an ASP.NET Web Page | |
| |
| |
Publishing Your ASP.NET Web Page | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
The ASP.NET Web Page | |
| |
| |
HTML and XHTML: A Short Review | |
| |
| |
Kick-Starting Visual Web Developer | |
| |
| |
Tools of the Trade | |
| |
| |
The Moment of Truth: Creating Your First ASP.NET Web Page | |
| |
| |
Testing Your ASP.NET Web Page | |
| |
| |
Writing HTML Code Yourself: Watch Out! | |
| |
| |
Digging into the Source Code | |
| |
| |
Object-Oriented Programming: A Class Act | |
| |
| |
Events: I'll Wait for Your Call | |
| |
| |
Defining the Source Code Portion | |
| |
| |
HTML Server Controls | |
| |
| |
Web Controls | |
| |
| |
HTML Server Controls vs. Web Controls | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Building an ASP.NET Web Page Application | |
| |
| |
Designing an ASP.NET Web Page Application | |
| |
| |
Design Phase | |
| |
| |
Development Phase | |
| |
| |
Testing | |
| |
| |
Implementation | |
| |
| |
Maintenance | |
| |
| |
Designing Your First ASP.NET Web Application | |
| |
| |
Client Side | |
| |
| |
Server Side | |
| |
| |
Developing Your First ASP.NET Web Application | |
| |
| |
Server-Side Development | |
| |
| |
Running an ASP.NET Web Page Application | |
| |
| |
Implementing an ASP.NET Web Page Application | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Variables and Expressions in ASP.NET | |
| |
| |
Values and Variables | |
| |
| |
Values | |
| |
| |
Variables | |
| |
| |
Declaring a Variable | |
| |
| |
Initializing a Variable | |
| |
| |
Scope | |
| |
| |
Assigning a Value to a Variable | |
| |
| |
Operators and Expressions | |
| |
| |
Parts of an Expression | |
| |
| |
Multiple Operations | |
| |
| |
Types of Operators | |
| |
| |
Order of Operations | |
| |
| |
Concatenation | |
| |
| |
Constants | |
| |
| |
Casting: Converting Data Types | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Conditional Statements | |
| |
| |
Conditional Statements | |
| |
| |
The If...Then Statement | |
| |
| |
The If...Then Statement in Action | |
| |
| |
The If...Then...Else Statement | |
| |
| |
The If...Then...Elseif Statement | |
| |
| |
If...Then...Elseif...Else Statement | |
| |
| |
The Nested If...Then Statement | |
| |
| |
The Case Statement | |
| |
| |
A Variation of the Case Statement | |
| |
| |
Loops | |
| |
| |
The For Loop | |
| |
| |
A Variation of the For Loop | |
| |
| |
The Do While Loop | |
| |
| |
The Do Loop While Loop | |
| |
| |
The Do Until Loop | |
| |
| |
The Do Loop Until Loop | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Arrays | |
| |
| |
What Is an Array? | |
| |
| |
Declaring an Array | |
| |
| |
Initializing an Array | |
| |
| |
Array Elements | |
| |
| |
Looping the Array | |
| |
| |
Adding an Array Element | |
| |
| |
Multidimensional Arrays | |
| |
| |
Declaring a Multidimensional Array | |
| |
| |
Referencing a Multidimensional Array | |
| |
| |
Arrays and the Array Class | |
| |
| |
How Many Elements Are There in the Array? | |
| |
| |
There Are Methods to Our Madness | |
| |
| |
Array Using Different Data Types | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Subroutines and Functions | |
| |
| |
Dividing Your Application into Subroutines and Functions | |
| |
| |
Subroutine Versus Function | |
| |
| |
Creating a Subroutine | |
| |
| |
Calling a Subroutine | |
| |
| |
Subroutines and Parameters | |
| |
| |
Passing Parameters | |
| |
| |
Multiple Parameters | |
| |
| |
Passing Multiple Arguments | |
| |
| |
Functions | |
| |
| |
Return Value | |
| |
| |
Calling a Function | |
| |
| |
Passing an Array | |
| |
| |
Returning an Array from a Function | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Drop-Down Lists, Radio Buttons, Check Boxes | |
| |
| |
Drop-Down Lists | |
| |
| |
Creating a Drop-Down List Box | |
| |
| |
Accessing the Selected Item from a Drop-Down List Box | |
| |
| |
Radio Buttons | |
| |
| |
Creating a Radio Button | |
| |
| |
Accessing the Selected Radio Button | |
| |
| |
Check Boxes | |
| |
| |
Creating a Check Box | |
| |
| |
Accessing a Check Box | |
| |
| |
Selecting Check Boxes from Within Your Application | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Databases | |
| |
| |
An Overview | |
| |
| |
Data, Database, and Tables | |
| |
| |
Relating Tables | |
| |
| |
Designing Your Database | |
| |
| |
The Process | |
| |
| |
Identifying Information | |
| |
| |
Change Information into Data | |
| |
| |
Define Data | |
| |
| |
Organize Data into Groups | |
| |
| |
Identify Columns Used to Identify a Row of Data | |
| |
| |
Indexes | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Interacting with Databases | |
| |
| |
The ADO.NET Connection | |
| |
| |
Namespaces and Classes | |
| |
| |
Opening a Connection to a DBMS | |
| |
| |
Creating a Database and Tables | |
| |
| |
Sending a Query to the DBMS | |
| |
| |
Were Any Rows Returned? | |
| |
| |
Retrieving a Specific Row | |
| |
| |
Query Parameters | |
| |
| |
Inserting a Row | |
| |
| |
Updating a Row | |
| |
| |
Deleting a Row | |
| |
| |
Stored Procedures | |
| |
| |
Creating a Stored Procedure | |
| |
| |
Calling a Stored Procedure | |
| |
| |
Passing Parameters to a Stored Procedure | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
SQL | |
| |
| |
Tables | |
| |
| |
Indexing | |
| |
| |
Inserting a Row | |
| |
| |
Selecting Data from a Table | |
| |
| |
Relational Operators | |
| |
| |
Updating Tables | |
| |
| |
Deleting Data from a Table | |
| |
| |
Joining Tables | |
| |
| |
Calculating Columns | |
| |
| |
Grouping and Ordering Data | |
| |
| |
Looking Ahead | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Binding Data to Controls | |
| |
| |
Data Binding Basics | |
| |
| |
The Repeater Control | |
| |
| |
A Closer Look at Templates | |
| |
| |
Drop-Down List | |
| |
| |
Radio Button | |
| |
| |
Check Box | |
| |
| |
List Box | |
| |
| |
Hyperlinks | |
| |
| |
Quiz | |
| |
| |
Answers | |
| |
| |
| |
Final Exam | |
| |
| |
| |
Answers to Final Exam | |
| |
| |
Index | |