E-Book Overview
ASP.NET For Developers focuses on teaching the reader ASP.NET using Visual Basic.NET in the most concise, straightforward manner possible. The book presents key concepts for using ASP.NET and VB.NET to efficiently create useful applications. The book contains specific, practical shortcuts and examples based on the extensive experiences of the authors, especially Amundsen's ground floor involvement with IBUYSPY.com.
E-Book Content
Michael Amundsen Paul Litwin
ASP.NET for Developers
ASP.NET for Developers
ASSOCIATE PUBLISHER
Copyright © 2002 by Sams Publishing
ACQUISITIONS EDITOR
All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein. International Standard Book Number: 0-672-32038-x
Linda Engelman
Neil Rowe
DEVELOPMENT EDITORS Laurie McGuire Kevin Howard
MANAGING EDITOR Charlotte Clapp
PROJECT EDITOR Elizabeth Finney
Library of Congress Catalog Card Number: 00-105163
COPY EDITOR
Printed in the United States of America
Ned Snell
First Printing: December 2001
INDEXER
04 03 02
4
3
2
1
Eric Schroeder
Trademarks
PROOFREADER
All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.
Ralph Arvesen
Active Server Pages is a trademark of Microsoft Corporation.
Kelly Ramsey
TECHNICAL EDITOR TEAM COORDINATOR Lynne Williams
MEDIA DEVELOPER
ASP.NET is a trademark of Microsoft Corporation.
Dan Scherf
Warning and Disclaimer
INTERIOR DESIGNER
Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of programs accompanying it.
Karen Ruggles
COVER DESIGNER Aren Howell
PAGE LAYOUT Tricia Bronkella Rebecca Harmon Brad Lenser Cheryl Lynch Michelle Mitchell
Overview Introduction 1
PART I
UNDERSTANDING
THE
.NET ENVIRONMENT
1
Introducing .NET 9
2
Understanding the .NET Framework
3
What's New with ASP.NET?
PART II
7
17
25
VISUAL BASIC .NET QUICKSTART
37
4
Understanding Visual Basic .NET Syntax and Structure 39
5
Working with Numbers, Strings, Dates, and Arrays in Visual Basic .NET 67
6
Using Namespaces and Assemblies with Visual Basic .NET 97
PART III
BUILDING WEB PAGES
WITH
ASP.NET
107
7
Understanding ASP.NET Web Forms
109
8
Creating Simple Web Pages with the HTML Server Controls 127
9
Creating Interactive Forms with Web Form Server Controls