Build Your Own ASP.NET 3.5 Website Using C# & VB

Read Build Your Own ASP.NET 3.5 Website Using C# & VB Online

Authors: Cristian Darie,Zak Ruvalcaba,Wyatt Barnett

Tags: #C♯ (Computer program language), #Active server pages, #Programming Languages, #C#, #Web Page Design, #Computers, #Web site development, #internet programming, #General, #C? (Computer program language), #Internet, #Visual BASIC, #Microsoft Visual BASIC, #Application Development, #Microsoft .NET Framework

BOOK: Build Your Own ASP.NET 3.5 Website Using C# & VB
3.54Mb size Format: txt, pdf, ePub

BUILD YOUR OWN

ASP.NET 3.5

WEB SITE

USING C# & VB

BY
CRISTIAN DARIE

&
WYATT BARNETT

3RD EDITION

THE ULTIMATE ASP.NET BEGINNER’S GUIDE

Summary of Contents

Preface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xxi

1. Introducing ASP.NET and the .NET Platform . . . . . . . . . . . . . . . . . . . . . . . . . . 1

2. ASP.NET Basics
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25

3. VB and C# Programming Basics
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45

4. Constructing ASP.NET Web Pages
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
95

5. Building Web Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157

6. Using the Validation Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227

7. Database Design and Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263

8. Speaking SQL
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
307

9. ADO.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347

10. Displaying Content Using Data Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417

11. Managing Content Using Grid View and Details View
. . . . . . . . . . . . . . .
445

12. Advanced Data Access
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
487

13. Security and User Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549

14. Working with Files and Email . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595

15. ASP.NET AJAX
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
635

A. Web Control Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 657

B. Deploying ASP.NET Web Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697

Index
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
707

Licensed to [email protected]

BUILD YOUR OWN

ASP.NET 3.5 WEB

SITE USING C# & VB

BY
CRISTIAN DARIE

& WYATT BARNETT

3RD EDITION

Licensed to [email protected]

iv

Build Your Own ASP.NET 3.5 Web Site Using C# & VB

by Cristian Darie and Wyatt Barnett

Copyright © 2008 SitePoint Pty. Ltd.

Expert Reviewer
: Wyatt Barnett

Editor
: Georgina Laidlaw

Managing Editor
: Chris Wyness

Index Editor
: Russell Brooks

Technical Editor
: Andrew Tetlaw

Cover Design
: Alex Walker

Cover Image
: Lucas Chan

Printing History
:

First Edition: April 2004

Second Edition: October 2006

Third Edition: September 2008

Notice of Rights

All rights reserved. No part of this book may be reproduced, stored in a retrieval system or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical articles or reviews.

Notice of Liability

The author and publisher have made every effort to ensure the accuracy of the information herein. However, the information contained in this book is sold without warranty, either express or implied. Neither the authors and SitePoint Pty. Ltd., nor its dealers or distributors, will be held liable for any damages to be caused either directly or indirectly by the instructions contained in this book, or by the software or hardware products described herein.

Other books

Undercurrent by Pauline Rowson
Perfect Regret ( BOOK 2) by Walters, A. Meredith
Barbara by Jorgen-Frantz Jacobsen
A Timeless Romance Anthology: Spring Vacation Collection by Josi S. Kilpack, Annette Lyon, Heather Justesen, Sarah M. Eden, Heather B. Moore, Aubrey Mace
A Lycan's Mate by Chandler Dee
Rexanne Becnel by Where Magic Dwells
Love Lies Bleeding by Remmy Duchene
And One Last Thing... by Molly Harper