Sams Teach Yourself ASP.NET 3.5 in 24 Hours: Complete Starter Kit

Sams Teach Yourself ASP.NET 3.5 in 24 Hours: Complete Starter Kit

by Scott Mitchell

View All Available Formats & Editions

Sams Teach Yourself ASP.NET 3.5 in 24 Hours

Scott Mitchell

Starter Kit

DVD includes Microsoft Visual Web Developer 2008 Express Edition

In just 24 sessions of one hour or less, you will be up and running with ASP.NET 3.5. Using a straightforward, step-by-step approach, each lesson builds upon a real-world foundation forged in both

See more details below


Sams Teach Yourself ASP.NET 3.5 in 24 Hours

Scott Mitchell

Starter Kit

DVD includes Microsoft Visual Web Developer 2008 Express Edition

In just 24 sessions of one hour or less, you will be up and running with ASP.NET 3.5. Using a straightforward, step-by-step approach, each lesson builds upon a real-world foundation forged in both technology and business matters, allowing you to learn the essentials of building dynamic, data-driven web applications from the ground up.

Step-by-step instructions carefully walk you through the most common questions, issues, and tasks.

Q&As, quizzes, and exercises at the end of each lesson help you build and test your knowledge.

By the Way, Did You Know?, and Watch Out! boxes point out shortcuts and solutions.

Learn how to…

  • Design and create ASP.NET web pages
  • Use Microsoft Visual Web Developer to quickly and professionally build ASP.NET websites
  • Collect input from users visiting your web pages
  • Display database data through a web page
  • Edit, insert, delete, sort, and page through database data from an ASP.NET page
  • Build a website that supports user accounts
  • Use Ajax to design interactive web user interfaces

As editor and main contributor to, a popular ASP.NET resource website, Scott Mitchell has authored more than a thousand articles on Microsoft web technologies since 1998. In addition to his vast collection of online articles, Scott has written six previous books on ASP and ASP.NET: Sams Teach Yourself Active Server Pages 3.0 in 21 Days (Sams); Designing Active Server Pages (O’Reilly); ASP.NET: Tips, Tutorials, and Code (Sams); ASP.NET Data Web Controls Kick Start (Sams); Sams Teach Yourself ASP.NET in 24 Hours (Sams); and Sams Teach Yourself ASP.NET 2.0 in 24 Hours (Sams). Scott has also written a number of magazine articles and is a regular columnist for Microsoft’s MSDN Magazine.

DVD Includes:

  • Microsoft Visual Web Developer 2008 Express Edition

On the Web:

  • Register your book at for access to author code, examples, updates and corrections as they become available.

Category: Microsoft Programming/ASP.NET

Covers: ASP.NET 3.5

User Level: Beginning—Intermediate

Read More

Product Details

Publication date:
Sams Teach Yourself Series
Edition description:
DVD-ROM Included
Product dimensions:
7.00(w) x 9.10(h) x 1.40(d)

Read an Excerpt


As the World Wide Web continues its meteoric growth, websites have matured from simple collections of static HTML pages to data-driven dynamic web applications. For example, websites such as eBay or are much more than a collection of HTML pages—they are complex applications that happen to be accessed through the Internet. Although many competing technologies exist for building data-driven websites, this book shows how to use the latest version of Microsoft's popular ASP.NET technology for creating web applications.

ASP.NET web applications are composed of individual ASP.NET web pages. As we will see in numerous examples throughout this book, these ASP.NET pages can display HTML, collect user input, and interact with databases. ASP.NET pages contain a mix of both HTML and source code. It is the source code of an ASP.NET page that allows for the more advanced features, such as accessing data from a database, or sending an email. The source code of an ASP.NET web page can be written in any one of a number of programming languages. For this book we will be using Microsoft's Visual Basic programming language. Don't worry if you've never programmed in Visual Basic, or even if you have never programmed at all. Starting with Hour 5, "Understanding Visual Basic's Variables and Operators," we spend three hours examining programming language concepts and the Visual Basic syntax.

To ease ASP.NET web page development, Microsoft provides a free development editor, Visual Web Developer, which is included in this book's accompanying CD. Visual Web Developer simplifies creating both the HTML and source codeportions of ASP.NET pages. The HTML for an ASP.NET web page can be quickly created by using the Designer, which is a What You See Is What You Get (WYSIWYG) graphical editor. With the Designer, you can drag and drop various HTML elements onto an ASP.NET web page, moving them around with a few clicks of the mouse. Likewise, Visual Web Developer offers tools and shortcuts that help with creating an ASP.NET page's code.Audience and Organization

This book is geared for developers new to ASP.NET, whether or not you've had past experience with HTML or programming languages. By the end of this book you'll be able to create and deploy your own dynamic, data-driven web applications using ASP.NET.

This book's 24 hours are divided into four parts. Part I introduces you to ASP.NET, HTML, Visual Web Developer, and Visual Basic. Hour 1, "Getting Started with ASP.NET 3.5," begins with an overview of ASP.NET and then walks you through installing the .NET Framework, Visual Web Developer, and other necessary components. Hour 3, "Using Visual Web Developer," showcases Visual Web Developer, which is the powerful development editor you'll be using throughout this book to create ASP.NET web pages. Hours 5, 6, and 7 examine the syntax and semantics of the Visual Basic programming language.

ASP.NET offers a variety of user interface elements for collecting user input, including text boxes, check boxes, drop-down lists, and radio buttons. In Part II you will see how to collect and process user input. Hour 10, "Using Text Boxes to Collect Input," examines using single-line, multi-line, and password text boxes, while Hour 11, "Collecting Input Using Drop-Down Lists, Radio Buttons, and Check Boxes," examines alternative user input controls.

Part III shows how easy it is to build data-driven websites with ASP.NET. Starting in Hour 13, "An Introduction to Databases," we begin our look at building websites that interact with databases. Typically, data-driven websites enable visitors to view, update, delete, and insert data into the database from an ASP.NET page. In Hour 15, "Displaying Data with the Data Web Controls," you will learn how to display database data in a web page. Hour 16, "Deleting, Inserting, and Editing Data," examines how to edit, insert, and delete data.

Part IV highlights tools provided by ASP.NET and Visual Web Developer that help with building professional, easy-to-use websites. In Hour 20, "Defining a Site Map and Providing Site Navigation," you'll see how to define a website's navigational structure and display menus, treeviews, and breadcrumbs. Hour 22, "Using Master Pages to Provide Sitewide Page Templates," examines master pages, which enable web designers to create a web page template that can be applied to all pages across the site.Conventions Used in This Book

This book uses several design elements and conventions to help you prioritize and reference the information it contains:


Note - By the Way boxes provide useful sidebar information that you can read immediately or circle back to without losing the flow of the topic at hand.


Tip - Did You Know? boxes highlight information that can make your Visual Basic programming more effective.


Caution - Watch Out! boxes focus your attention on problems or side effects that can occur in specific situations.


New terms appear in a semibold typeface for emphasis.

In addition, this book uses various typefaces to help you distinguish code from regular English. Code is presented in a monospace font. Placeholders—words or characters that represent the real words or characters you would type in code—appear in italic monospace. When you are asked to type or enter text, that text appears in bold monospace. Menu options are separated by a comma. For example, when you should open the File menu and choose the New Project menu option, the text says "Select File, New Project."

Some code statements presented in this book are too long to appear on a single line. In these cases, a line-continuation character is used to indicate that the following line is a continuation of the current statement. Furthermore, some code listings include line numbers. These numbers are used to refer to specific lines of code in the text and are not part of the code syntax.

I hope you enjoy reading this book as much as I enjoyed writing it.

Happy Programming!

Scott Mitchell

© Copyright Pearson Education. All rights reserved.

Read More

Customer Reviews

Average Review:

Write a Review

and post it to your social network


Most Helpful Customer Reviews

See all customer reviews >