![]() |
Asp.net 2.0 Demystified |
A SELF-TEACHING GUIDE
- No formal, TRAINING in ASP.NET 2.0 needed
- Lots of EXAMPLES Illustrating application of CONCEPTS
- CONCISE and THOROUGH, with minimal jargon
- COMPLETE with chapter-ending QUIZZES and final EXAM
Jim Keogh is on the faculty of Columbia University and Saint Peter's College
in Jersey City, New Jersey. He developed the e-commerce track at Columbia
University. Keogh has spent decades developing applications for major Wall
Street corporations and is the author of more than 65 books including J2EE: The
Complete Reference, Java Demystijied, JavaScript Demystijied, Data Structures
Demystijied, XML Demystijied, and others in the Demystified series.
Introduction
Most of us have gone online to check our bank account, pay bills, or place an order
from an e-commerce web site, and we were probably amazed at how these companies
were able to display our personal information on their web pages.
Within seconds of entering our user ID and password we can view our records
on the screen. This seems like a miracle considering the amount of time you
spend creating your web page. At first you might think they have an army of web
builders quickly looking up your information in their databases and then creating
a customized web page for you. That's not practical, so there might be a secret
method they use-and there is.
Web developers us ASPNET to perform tasks normally performed by employees
to serve the needs of their customers, such as:
Verifying that the person is a customer
Understanding the needs of the customer
Retrieving the customer's information from the company's database
Building a web page
Transmitting the customized web page containing customer information to
the customer
ASPNET is server-side software used to create interactive, dynamic web sites
that can interface with databases that are also used by other corporate systems such
as accounting, order entry, and shipping systems.
If you want to learn how to build high traffic web sites, then you've purchased the
right book because ASPNET has been adopted by some of the most popular, high
demand sites on the Internet.
The Home Shopping Network uses ASP.NET to process orders from thousands
of customers every day. Microsoft uses ASP.NET for their web site to meet the
needs of their customers 24 hours a day, seven days a week.
You might be a little apprehensive learning ASP.NET, especially if you are
a web developer and not a computer programmer. ASP.NET can be mystifying;
however, it becomes demystified as you read ASPNET 2.0 Demystijied because
your knowledge of HTML is used as the foundation for learning to write ASP.NET
dynamic web pages.
As you'll see when you write your first ASP.NET application, each element of
ASP.NET is introduced by combining a working web page with just the ASP.NET
element you need. You already know 90 percent of the code that creates the web
page because it is HTML. The remaining 10 percent of the code is ASP.NET, which
is clearly explained in every chapter.
Like many developers, you probably learn by doing. You'll like reading
ASRNET 2.0 Demyst@ed because it uses a hands-on approach to teaching
ASP.NET. You can copy examples illustrated in this book from our web site and
experiment with each ASPNET concept presented in this book. Load the web page
and see the effect of ASP.NET. Copy the ASP-NET and reload the web page and
see how the web page reacts without the ASP.NET. You can then incorporate the
ASP.NET into your own web page and move on to the next topic.
By the end of this book you'll be able to make your own classy web site that will
leave even the sophisticated web surfer in awe and web developers scratching their
heads, asking, "How did he do that?"
A Look Inside
ASP.NET can be challenging to learn unless you follow the step-by-step approach
that is used in this book. Topics are presented in the order in which many developers
like to learn them, starting with basic components and then gradually moving on to
those features found on classy web sites.
Each chapter follows a time-tested formula that first explains the topic in an
easy-to-read style and then shows how it is used in a working web page that you can
copy and load yourself. You can then compare your web page with the image of the
web page shown in the chapter to be assured that you've coded the web page
correctly. In addition, each chapter also includes a practice quiz and answer section.
There is little room for you to go wrong.
Screenshot
Product details
Price
|
|
---|---|
File Size
| 18,050 KB |
Pages
|
289 p |
File Type
|
PDF format |
ISBN
| 0-07-22614 1-2 |
Copyright
| 2005 by The McGraw-Hill Companies |
Table of Contents
Introduction
CHAPTER 1 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
CHAPTER 2 The ASP.NET Web Page
HTML and XHTML: A Short Review
Kick-starting Visual Web Developer
Tools o f 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
CHAPTER 3 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.N ET Web Page Application
Looking Ahead
Quiz
Answers
CHAPTER 4 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
CHAPTER 5 Conditional Statements
Conditional Statements
The If ... Then Statement
The If ... Then Statement i n 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
CHAPTER 6 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
CHAPTER 7 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
CHAPTER 8 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
CHAPTER 9 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
CHAPTER 10 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
CHAPTER 11 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
CHAPTER 12 Binding Data to Controls
Data Binding Basics
The Repeater Control
A Closer Look at Templates
Drop-Down List
Radio Button
Check Box
List Box
Hyperlin ks
Quiz
Answers
APPENDIX A Final Exam
APPENDIX B Answers to Final Exam
Index
●▬▬▬▬▬❂❂❂▬▬▬▬▬●
●▬▬❂❂▬▬●
●▬❂▬●
●❂●