Available:*
Library | Item Barcode | Call Number | Material Type | Item Category 1 | Status |
---|---|---|---|---|---|
Searching... | 30000010115925 | TK5105.8885.A26 L68 2006 | Open Access Book | Book | Searching... |
Searching... | 30000010115926 | TK5105.8885.A26 L68 2006 | Open Access Book | Book | Searching... |
On Order
Summary
Summary
Eight minibooks cover ASP.NET basics, Web controls, using HTML and ASP, C#, Visual Basic, database programming, using the .NET Framework, and advanced ASP.NET 2 (including themes, custom server controls, and Web parts) The ideal resource for Web programming newcomers as well as the 1.5 million existing ASP developers who want a complete ready-reference that covers the new ASP.NET 2 updates More than double the size of ASP.NET 2 For Dummies (0-7645-7907-X), the latest edition of the bestselling ASP beginner book that boasts combined sales of more than 100,000 copies across all editions Written by veteran Dummies author Doug Lowe, who is renowned for his ability to explain complex topics in plain English
Author Notes
Doug E. Lowe is a senior quality consultant at Hewlett Packard's Software Engineering Systems Division, where he has developed software for computer-aided electronic design. He received a B.S. in Applied Mathematics from Michigan State University and an M.S. in Chemistry from the University of Toledo, and has taught operating-systems architecture at the graduate level.
Lowe is noted for presenting technical material in a way that is entertaining as well as informative. His "Approach 3 for Windows for Dummies" and "Approach 97 for Windows for Dummies" are among the 50 titles he has authored or co-authored. He is also a consulting editor for DOS World.
(Bowker Author Biography)
Table of Contents
Introduction | p. 1 |
About This Book | p. 2 |
How to Use This Book | p. 3 |
How This Book Is Organized | p. 3 |
Icons Used in This Book | p. 4 |
Where to Go from Here | p. 5 |
Book I ASP.NET Basics | p. 7 |
Chapter 1 Welcome to ASP.NET Programming | p. 9 |
What Is ASP.NET, and Why Is It So Great? | p. 9 |
Understanding Web Servers and Browsers | p. 12 |
Understanding Static Web Pages | p. 13 |
Understanding Dynamic Web Pages | p. 14 |
Looking at a Simple ASP.NET Application | p. 15 |
The .aspx (Markup) File for the Simple Calculator Application | p. 17 |
The Code-Behind File of the Simple Calculator Application | p. 18 |
Chapter 2 Installing Visual Studio Web Developer 2005 Express Edition or Visual Studio 2005 | p. 21 |
Looking at Visual Studio 2005 Editions | p. 21 |
Considering Visual Web Developer 2005 Express Edition | p. 22 |
Installing Visual Web Developer 2005 Express Edition | p. 22 |
Registering Visual Web Developer 2005 Express Edition | p. 27 |
Installing Visual Studio 2005 | p. 30 |
Chapter 3 Creating Your First ASP.NET 2.0 Application | p. 35 |
Understanding Visual Studio Projects | p. 35 |
Creating a New Web Site | p. 36 |
Using the Solution Explorer | p. 39 |
Working with Controls | p. 40 |
Setting Properties | p. 44 |
Setting the Page Title | p. 46 |
Looking at the Source Code | p. 47 |
Adding Some Code | p. 48 |
Running the Application | p. 51 |
Chapter 4 Understanding Postback, Events, and Code-Behind | p. 53 |
Understanding Postback | p. 53 |
Using the IsPostBack Variable | p. 54 |
Understanding Events | p. 55 |
Using the Handles Clause in Visual Basic | p. 56 |
Designating an Event Handler in C# | p. 58 |
Using C#'s Auto Event Wireup | p. 58 |
Understanding Code-Behind | p. 59 |
Using Single-File Pages | p. 60 |
Chapter 5 Creating Multipage Applications | p. 63 |
Understanding the Basics of a Multipage Application | p. 63 |
Adding Pages | p. 66 |
Redirecting to Another Page | p. 67 |
Adding Classes | p. 68 |
Using Session State | p. 71 |
Looking into Data Binding | p. 74 |
Using Master Pages | p. 75 |
The C# Version of the Shopping Cart Application | p. 79 |
The VB.NET Version of the Shopping Cart Application | p. 83 |
Chapter 6 Testing and Debugging Your ASP.NET Applications | p. 87 |
Creating a Simple Calculator Application | p. 87 |
Running an ASP.NET Application | p. 89 |
Dealing with Errors | p. 91 |
Working in Break Mode | p. 93 |
Displaying Variable Data | p. 93 |
Stepping Through a Program | p. 95 |
Setting Breakpoints | p. 96 |
Using Response. Write for Debugging | p. 97 |
Book II Web Controls | p. 99 |
Chapter 1 Using Basic Web Server Controls | p. 101 |
Using Label Controls | p. 101 |
Using TextBox Controls | p. 103 |
Using Button Controls | p. 105 |
Using CheckBox Controls | p. 107 |
Using RadioButton Controls | p. 111 |
Using Image Controls | p. 112 |
Chapter 2 Using Validation Controls | p. 115 |
Validating the Hard Way | p. 115 |
Validation Controls to the Rescue! | p. 117 |
Using the RequiredFieldValidator Control | p. 118 |
Using the CompareValidator Control | p. 120 |
Using the RangeValidator Control | p. 122 |
Using the RegularExpressionValidator | p. 123 |
Using a CustomValidator Control | p. 125 |
Using the ValidationSummary Control | p. 126 |
Using the CausesValidation and ValidationGroup Properties | p. 128 |
Chapter 3 Using List Controls | p. 131 |
Using the CheckBoxList Control | p. 131 |
Working with ListItem Elements | p. 135 |
Toiling with the RadioButtonList Control | p. 138 |
Utilizing ListBox Controls | p. 139 |
Employing DropDownList Controls | p. 141 |
Accomplishing More with List Items in Code | p. 143 |
Chapter 4 Using Advanced Web Server Controls | p. 147 |
Using the MultiView Control | p. 147 |
Utilizing the Wizard Control | p. 152 |
Working with the Calendar Control | p. 160 |
Making Use of the FileUpload Control | p. 163 |
Chapter 5 Working with User Controls | p. 165 |
Introducing User Controls | p. 165 |
Creating a User Control | p. 167 |
Adding a User Control to a page | p. 169 |
Adding Properties to a User Control | p. 170 |
Putting User-Control Properties to Work | p. 173 |
Book III HTML | p. 175 |
Chapter 1 HTML Basics | p. 177 |
XHTML Rulez! | p. 177 |
VWDE's Support for XHTML | p. 181 |
Editing Code in Source View | p. 190 |
Editing Pages in Design View | p. 194 |
Formatting Text | p. 198 |
Chapter 2 Creating Tables | p. 201 |
Some Basic Table Talk | p. 202 |
Creating Tables in the Designers | p. 207 |
Creating Tables Programmatically | p. 212 |
Creating a Table-Based Framework | p. 217 |
Chapter 3 Working with Forms | p. 221 |
Understanding Forms | p. 221 |
Creating a Form | p. 223 |
Working with Text Boxes | p. 225 |
Working with Buttons | p. 229 |
Working with Check Boxes and Radio Buttons | p. 232 |
Using Drop-Down Lists and List Boxes | p. 233 |
Checking Form Submissions with ASP.NET | p. 237 |
Setting the Tab Order | p. 238 |
Chapter 4 Using Styles and Style Sheets | p. 241 |
Understanding Styles | p. 241 |
Working with Styles in Visual Studio 2005 and Visual Web Developer | p. 246 |
Using Span and Div for Styles and Positions | p. 257 |
Creating and Applying Styles in Code | p. 261 |
Chapter 5 Using Client-Side Script | p. 267 |
Sampling Client-Side Script on Microsoft.com | p. 267 |
Embedding Script in an ASP.NET Page | p. 271 |
Using Client-Side Scripts in ASP.NET | p. 281 |
Client-Side Script and Validation Controls | p. 287 |
How Auto-Postback Uses Client-Side Script | p. 289 |
Using Client-Side Callbacks | p. 291 |
Book IV C# | p. 301 |
Chapter 1 C# Programming Basics | p. 303 |
Dealing with Keywords | p. 303 |
Working with Statements | p. 304 |
Working with Blocks | p. 306 |
Creating Identifiers | p. 307 |
Crafting Comments | p. 307 |
Introducing Object-Oriented Programming | p. 308 |
Using .NET Framework Classes | p. 311 |
Declaring Variables | p. 312 |
Initializing Variables | p. 315 |
Working with Built-in Data Types | p. 316 |
Working with Strings | p. 320 |
Working with Arithmetic Operators | p. 323 |
Dividing Integers | p. 325 |
Combining Operators | p. 326 |
Using the Unary Plus and Minus Operators | p. 327 |
Using Increment and Decrement Operators | p. 328 |
Using the Assignment Operator | p. 329 |
Using Compound Assignment Operators | p. 331 |
Chapter 2 Doing Things Conditionally in C# | p. 333 |
Using Simple boolean Expressions | p. 333 |
Using if Statements | p. 335 |
Mr. Spock's Favorite Operators (the Logical Ones, of Course) | p. 343 |
Pulling the Ol' Switch-er-oo | p. 347 |
Chapter 3 Going Around in Circles (Or, Looping in C#) | p. 351 |
Your Basic while Loop | p. 351 |
Breaking Out of a Loop | p. 353 |
Looping Forever | p. 354 |
Using the continue Statement | p. 355 |
Understanding do-while Loops | p. 356 |
The Famous for Loop | p. 358 |
Nesting Your Loops | p. 365 |
Chapter 4 Using Methods and Exceptions | p. 367 |
The Basics of Making Methods | p. 367 |
A Simple Example | p. 368 |
Methods that Return Values | p. 369 |
Using Methods that Take Parameters | p. 371 |
Understanding Exceptions | p. 373 |
Catching Exceptions | p. 374 |
Catching Different Exception Types | p. 375 |
Using the Exception Message | p. 376 |
Using a finally Block | p. 376 |
Chapter 5 Getting into Object-Oriented Programming | p. 377 |
What Is Object-Oriented Programming? | p. 377 |
Understanding Objects | p. 379 |
The Life Cycle of an Object | p. 382 |
Working with Related Classes | p. 383 |
Declaring a Class | p. 385 |
Using Fields | p. 386 |
Creating Properties | p. 387 |
Using Methods | p. 389 |
Creating Constructors | p. 390 |
Using this | p. 392 |
Working with Static Members | p. 393 |
Chapter 6 Working with Inheritance | p. 397 |
Understanding Inheritance | p. 397 |
Creating Derived Classes | p. 400 |
Overriding Methods | p. 401 |
Protecting Your Members | p. 402 |
Using this and base in Your Derived Classes | p. 403 |
Inheritance and Constructors | p. 404 |
Casting Up and Down | p. 405 |
Determining an Object's Type: The is Operator | p. 406 |
Poly What? | p. 407 |
Book V Visual Basic | p. 409 |
Chapter 1 Mastering the Basics of Visual Basic | p. 411 |
Looking at Classes, Structures, and Modules | p. 411 |
Working with Source Files | p. 412 |
Creating Sub Procedures | p. 413 |
Working with Statements | p. 414 |
Creating Identifiers | p. 415 |
Adding Comments to Your Code | p. 416 |
Declaring Variables | p. 416 |
Working with Data Types | p. 417 |
Working with Strings | p. 420 |
Working with Arithmetic Operators | p. 422 |
Combining Operators | p. 423 |
Using Assignment Statements | p. 424 |
Using Assignment Operators | p. 425 |
Chapter 2 Controlling Your Programs | p. 427 |
Using If Statements | p. 427 |
Using Conditional Expressions | p. 433 |
Getting Logical | p. 434 |
Using the Select Case Statement | p. 436 |
Working with For/Next Loops | p. 438 |
Chapter 3 Working With Procedures, Exceptions, and Arrays | p. 443 |
Using Sub Procedures | p. 444 |
Working with Functions | p. 445 |
Getting Finicky about Parameters | p. 446 |
Understanding Exceptions | p. 448 |
Using Arrays | p. 450 |
Chapter 4 Exploring Object-Oriented Programming | p. 455 |
Introducing Object-Oriented Programming | p. 455 |
Creating Objects from Classes | p. 458 |
Declaring Classes | p. 458 |
Using Shared Members | p. 464 |
Chapter 5 Demystifying Inheritance in VB.NET | p. 467 |
Understanding Inheritance | p. 467 |
Understanding Inheritance Hierarchies | p. 469 |
Creating a Derived Class | p. 469 |
Overriding Methods | p. 470 |
Using Protected Members | p. 471 |
Using the MyBase Keyword | p. 472 |
Using Casting with Inheritance | p. 472 |
Determining an Object's Type | p. 474 |
Confronting Polymorphism | p. 474 |
Book VI Database Programming | p. 477 |
Chapter 1 Accessing Data with ADO.NET | p. 479 |
Understanding the Basics of Relational Databases | p. 480 |
Working with Databases Using SQL | p. 485 |
Piecing Together SQL Statements | p. 494 |
Connecting to Data with ADO.NET | p. 495 |
Issuing Database Commands | p. 498 |
Displaying Data on a Web Page | p. 501 |
Retrieving Data from a Table | p. 503 |
Adding Security to Your SQL Statements - Read This! | p. 504 |
Chapter 2 Displaying and Editing Data for the Web | p. 507 |
Writing Data to a Page with a Label | p. 507 |
Binding to Data | p. 509 |
Repeating Through a Result Set | p. 518 |
Creating a Data-Entry Page | p. 523 |
Chapter 3 Displaying and Editing with the GridView Control | p. 529 |
Setting Up the AdventureWorks Database | p. 529 |
Creating a GridView Control | p. 530 |
Formatting the Display | p. 532 |
Editing and Deleting Data with a GridView | p. 534 |
Sorting and Paging the Data in Your Grid | p. 540 |
Customizing the Columns in a Grid | p. 542 |
Chapter 4 Displaying and Editing Detail Data | p. 551 |
Introducing the DetailsView and FormView Controls | p. 552 |
Displaying a Record with a DetailsView Control | p. 552 |
Displaying Record Details with a FormView Control | p. 566 |
Chapter 5 Advanced Data Retrieval | p. 575 |
Ditching the Eval Method | p. 575 |
Binding to Different Kinds of Data | p. 578 |
Advanced Usage of Repeater Controls | p. 584 |
Chapter 6 Reading XML and Generic Data | p. 591 |
Putting Together Some XML | p. 591 |
Transforming XML into a Formatted Table | p. 594 |
Displaying XML in a TreeView Control | p. 600 |
Accessing Generic Data with an ObjectDataSource Control | p. 604 |
Book VII Using the .NET Framework | p. 609 |
Chapter 1 Handling Strings | p. 611 |
Formatting Strings | p. 611 |
Handling Special HTML Characters in Strings | p. 619 |
Splitting and Combining Strings | p. 620 |
Converting to Strings with the ToString Method | p. 623 |
Converting Strings to Numbers | p. 625 |
Piecing Together Strings with a StringBuilder | p. 626 |
Chapter 2 Manipulating Dates and Times | p. 629 |
Getting the Current Date and Time | p. 629 |
Reading the Components of a DateTime Structure | p. 630 |
Streaming a DateTime Structure | p. 632 |
Handling Local Times Versus Universal Times | p. 634 |
Calculating with Dates | p. 637 |
Parsing a Date-Time String | p. 642 |
Chapter 3 Storing Objects in Specialized Collections | p. 647 |
Iterating Through a Collection | p. 647 |
Using the ArrayList Class | p. 651 |
Using the Hashtable Class | p. 657 |
Using the Stack Class | p. 660 |
Using the Queue Class | p. 662 |
Collecting Strings | p. 664 |
Ordering Associations with the OrderedDictionary | p. 665 |
Chapter 4 Building Strongly Typed Collections with Generic Classes | p. 667 |
Understanding the Name Game | p. 668 |
Using the Generic List Class | p. 668 |
Working with the Generic LinkedList Class | p. 670 |
Employing the Generic Dictionary Class | p. 676 |
Using the Generic SortedDictionary Class | p. 679 |
Using the Generic Stack Class | p. 679 |
Working with the Generic Queue Class | p. 681 |
Book VIII Advanced ASP.NET Programming | p. 683 |
Chapter 1 Security: Using Login Controls | p. 685 |
Understanding Authentication and Authorization | p. 685 |
Implementing Forms Authentication | p. 686 |
Peering into the Application Programming Interface (API) | p. 709 |
Chapter 2 Using Profiles | p. 715 |
Understanding Profiles | p. 715 |
Enabling Anonymous User Profiles | p. 716 |
Building the Profile-Based Web Page | p. 721 |
Using Profiles with Authenticated Users | p. 726 |
Maintaining the Profiles Database | p. 729 |
Using a Custom Profile Provider | p. 732 |
Chapter 3 Site Navigation | p. 739 |
Understanding Site Navigation | p. 739 |
Using a Web.sitemap File | p. 740 |
Using the TreeView Control | p. 744 |
Using the Menu Control | p. 756 |
Using the SiteMapPath Control | p. 764 |
Chapter 4 Working with Themes | p. 771 |
Understanding Site Themes | p. 771 |
Creating an Opening Theme | p. 772 |
Letting Users Choose a Theme | p. 777 |
Applying a Theme Programmatically | p. 780 |
Storing the Theme in a Profile | p. 782 |
Dos and Don'ts for Themes | p. 783 |
Shifting Definitions to Styles | p. 783 |
Overriding Themes and Who's the Boss | p. 784 |
Where to Get Themes | p. 787 |
Chapter 5 Building Portals with Web Parts | p. 789 |
Understanding Portals | p. 789 |
An Example Web Portal | p. 790 |
Understanding the Parts of Web Parts | p. 795 |
Creating a Simple Web Part | p. 796 |
Letting the User Move Web Parts Around | p. 805 |
Connecting Web Parts Together | p. 809 |
Connecting Web Parts Dynamically | p. 820 |
Using the Editor Controls | p. 827 |
Letting Users Select Their Web Parts | p. 829 |
Chapter 6 Creating and Consuming Web Services | p. 833 |
Understanding Web Services | p. 834 |
Creating a Web Service | p. 837 |
Consuming a Web Service | p. 846 |
Serving a Larger Helping of Data | p. 856 |
Securing a Web Service | p. 860 |
Index | p. 863 |