Online Sample Chapters
Introduction to Visual Studio .NET
Introduction to Visual Studio .NET
Table of Contents
(NOTE: Each chapter concludes with a Summary.)
Introduction.
I. INTRODUCTION TO MICROSOFT .NET AND ASP.NET.
1. Getting Started with the Sample Application. Preparing for the Sample Application.
Installing the Examples.
Before You Get Started.
Introducing the Sample Application.
The Main Page.
The Login Page.
The Products Page.
The Employees and Orders Page.
The Employees (Stored Procedures) Page.
The Sales by Category Page.
The Edit Products Page.
The Product Details Page.
The Categories Page.
The Category Detail Page.
The Employee Information Page.
The Employee Maintenance Page.
The Change Password Page.
Using the Debugger.
Handling Errors.
Using the Framework Classes.
Using Other ASP.NET Controls.
Using the Mobile Internet Toolkit.
Using State Management.
Introducing Visual Basic .NET Language Basics.
2. Introduction to Microsoft .NET. .NET and XML.
Overview of the .NET Framework.
The Common Language Runtime.
The .NET Classes.
Common Language Specification.
Intermediate Language.
Services in .NET.
Common Type System and Standard Data Types.
Types of Applications You Can Build.
Windows Applications.
Web Applications.
XML Web Services.
Class Libraries.
Types of Applications You Can Build.
Windows Applications.
Web Applications.
XML Web Services.
Class Libraries.
Migrating to .NET.
Migration Tools.
Reasons to Migrate.
Benefits of Using the .NET Framework.
What's in It for Users.
What's in It for Developers.
What's in It for Managers.
3. Introduction to Visual Studio .NET. Configuring Visual Studio .NET.
The My Profile Page.
Visual Studio Start Page.
Creating a New Project.
Project Templates.
Visual Studio Integrated Development Environment (IDE).
Toolbox Window.
Solution Explorer Window.
Class View Window.
Server Explorer Window.
Properties Window.
Object Browser Window.
Task List Window.
Using Help.
Dynamic Help Window.
Contents Window.
Index Window.
Search Window.
Types of Windows.
Tool Windows.
Document Windows.
Using the Editor.
Using IntelliSense to Enter Code.
Splitting the Editing Window.
Finding Text.
Replacing Text.
Finding Text in All Project Files.
Replacing Text in All Project Files.
Searching for Symbols.
Incremental Searching.
Using Bookmarks to Locate Code.
Commenting/Uncommenting Blocks of Code.
Dragging and Dropping Text.
Word Wrapping.
Toggling Full Screen Mode.
Tabbing Between Windows.
Managing the Clipboard Using the Clipboard Ring.
Going Back.
Creating Macros.
4. Overview of .NET Framework Classes. .NET Framework Namespaces.
The System Namespace.
A System.GC (Garbage Collection) Example
The System.Data Namespace.
The SqlClient and OleDb Namespaces.
The System.Data Classes.
A Data-Handling Example.
The System.IO Namespace.
A System.IO Example.
The System.Text Namespace.
A System.Text Example.
The System.Collections Namespace.
A System.Collections Example
The System.Web.Services Namespace.
A System.Web.Services Example.
The System.Xml Namespace.
A System.Xml Example.
5. Introduction to Internet Programming. Internet Basics.
HTML Basics.
HTML Elements.
Creating Web Sites Before ASP.NET.
Using HTML to Create Sites.
Using ASP.
Web Sites Created Using ASP.NET.
Creating a New ASP.NET Application.
6. Introduction to ASP.NET. Overview of ASP.NET.
Web Forms.
XML Web Services.
Introducing Web Form Controls.
HTML Controls.
Web Form Server Controls.
Field Validator Controls.
How Web Forms Work.
Internet Information Server (IIS) Objects.
The Response Object.
The Request Object.
The Session Object.
The Application Object.
The Server Object.
The global.asax File.
Creating User Controls.
Creating the Northwind Solution.
7. Working with ASP.NET and VB .NET. Event-Handling Basics.
Interacting with the Server.
How Event Handling Works.
Data Types.
Option Strict.
Conversion Functions.
Constructing Text Using the String.Format Method.
Creating Your Own Procedures.
Creating Classes.
Applying What You Learned.
8. Validation Controls. Requiring Data Entry.
Checking a Range.
Validating Expressions.
Creating Your Own Validation.
Summarizing Validation Messages.
Comparing Values.
9. Debugging in Visual Studio .NET. Using the Debugger.
Three Modes of Existence.
Finding the Debug Toolbar.
Invoking the Debugger.
Stepping over Code.
Entering Break Mode.
The Stop Statement.
Introducing the Debugging Tools.
Using Breakpoints.
Breakpoints Toolbar.
Setting the Next Statement to Execute.
Useful Versus .NET Debugging Tools.
Watching Variables Using Your Mouse.
Watch Window.
Adding Watch Values Using QuickWatch.
Call Stack Window.
Using the Command Window.
Other Useful Debugging Windows.
Using the Debug Class.
The Assert Method.
The WriteLineIf Method.
Conditional Compilation.
Declaring a File-Level Compiler Constant.
Using Conditional Compilation Constants.
Declaring a Global Compiler Constant.
II. DATA HANDLING.
10. Introduction to ADO.NET. Using ADO.NET Classes.
ADO.NET Namespaces.
Getting Started with ADO.NET.
Using a DataAdapter to Fill a DataSet.
Using a DataReader Object.
Benefits of ADO.NET.
11. Data Binding on Web Forms. Creating a Sample Page.
Creating and Configuring a DataSet.
Displaying Your Data.
Adding the Grid.
Populating the DataGrid with Data.
Filling a DropDownList Control with Data.
Using the DropDownList Control to Filter by Categories.
12. Error Handling. The Promise of Structured Exception Handling.
Using Exception Handling.
The Base Case: No Error Handling at All.
Adding a Simple Try/Catch Block.
Determining What Happened.
Working with Specific Exceptions.
The Exception Hierarchy.
Throwing Exceptions.
Error-Handling Options.
Using the Throw Keyword.
Searching for Handlers.
Passing Error Information.
Running Code Unconditionally.
Creating an Error Page.
13. ADO.NET Connection and Command Objects. Providing ADO.NET Connection Information.
Using ADO.NET Connection Objects.
Adding Code to Retrieve and Display Data.
Investigating the CategoryAvgPrice Procedure's Code.
Updating Data Using a Command Object.
To Close or Not to Close?
14. Working with Data. Using the DataReader Object.
Using a DataReader to Fill a DropDownList Control.
Filtering the Grid Based on Supplier ID
Retrieving Datasets Generically.
Using the GetDataSet Procedure.
Working with Relations in a Dataset.
Investigating the Relation-Handling Code.
Building the Relational DataSet.
Filtering the Grid Based on the Relation.
15. Using Stored Procedures with ADO.NET. Setting Up the Sample Stored Procedures.
Adding Stored Procedures to the Database.
Loading the DataHandlerSqlClient Class.
Modifying Global.asax.
The OleDb Namespace and Stored Procedures.
Retrieving a List of All Employees.
Adding an Employee.
Deleting an Employee.
The SqlClient Namespace and Stored Procedures.
16. Using the DataGrid Control. Adding Features to the DataGrid Control.
Loading the DataGrid Control with Data.
Formatting the DataGrid Control.
Creating the Columns.
Hooking Up the Data.
Loading the DataGrid Control.
Formatting Numeric Columns.
Enabling Paging.
Customizing the Pager.
Selecting a Row.
Sorting Columns.
17. Editing Data Using the DataGrid Control. Project Setup.
Investigating the ProductsEdit Page.
Editing Data Using Links.
Adding a Hyperlink Column.
Editing Data on the Detail Page.
Editing Data on the Grid.
Beginning the Editing.
Saving the Data.
Cancelling the Edit.
Adding a Template Column.
Adding and Deleting Rows.
Adding a New Row.
Deleting a Row.
18. Using the Repeater Control. How Does the Repeater Control Work?
Displaying Data.
Binding Data in Templates.
Hooking Up the Data.
Creating a Repeater.
Adding the Header and Footer Templates.
Adding the Data-Retrieval Code.
Adding the ItemTemplate Element.
Adding a Hyperlink.
More Advanced Repeater Features.
Creating the Detail Page.
Creating the ItemTemplate Element.
The AlternatingItem Template.
Adding the ItemCommand Event Procedure.
19. Using the DataList Control. Project Setup.
Adding the Control's Data Source.
Adding the Full ItemTemplate.
Using the DataList Control's Properties.
Adding the EditItemTemplate Section.
Using the LinkButton Control Properties
Adding Event-Handling Code.
III. WEB DEVELOPMENT TECHNIQUES.
20. Using Crystal Reports. Creating a Report.
Viewing the Report.
Creating a Report Viewer Page.
Displaying the Report.
Selecting Specific Rows.
21. Creating User Controls. Creating a Header Control.
Creating a Navigation Control.
Creating More Complex User Controls.
Creating Properties.
Overriding the DataBind Method.
Using the Control.
Under the Hood.
Defining and Raising Events.
Allowing for Automatic Postback.
Retrieving the Selected Item.
Reacting to the Event.
22. Rich ASP.NET Controls. The CheckBoxList and RadioButtonList Controls.
The Calendar Control.
Initializing the Calendar.
The AdRotator Control.
Filtering the AdRotator Control.
The Literal Control.
The PlaceHolder Control.
23. State Management in ASP.NET. State Management Techniques in Brief.
The Session and Application Objects.
Cookies.
Hidden Input Fields.
Embedded URL Parameters.
The StateBag Class.
SQL Server.
Using the Session Object.
The Session and Application Objects.
Cookies.
Hidden Input Fields.
Embedded URL Parameters.
The StateBag Class.
SQL Server.
Using Cookies.
Permanent Cookies.
Issues with Cookies.
Using the ViewState Property.
Using the StateBag Object.
State Bag Issues.
Cookieless Sessions.
ASP.NET State Service.
Using a Separate State Server Machine.
Issues with the ASP.NET State Service.
Automatic SQL Server State Management.
Issues with Automatic SQL Server State Management
24. Introduction to Web Security. Forms-Based Authentication.
Denying Anonymous Users.
Authenticating Employees.
Logging Out.
Supporting Authorization.
Using Web.Config.
Managing Authorization Dynamically.
Role-Based Authorization.
Using Identities and Principals.
Adding Support for Role-Based Authorization.
25. Creating Mobile Web Applications. Introducing the Microsoft Mobile Internet Toolkit.
Testing Mobile Pages.
Handling Mobile Requests.
Controls Supplied by MMIT.
Creating a Page for Mobile Devices.
Creating the Page and First Two Forms.
Displaying Cities.
Navigating to the City Form.
Different Views.
Working with the ObjectList Control.
Setting Up Fields in the ObjectList Control.
Filling the ObjectList Control with Data.
Adding a Custom Command.
Adding Validation Controls
26. Development and Deployment Techniques. Development Techniques.
Creating a Class Library.
Adding a Reference.
Accounting for Namespaces.
More on Namespaces.
Managing Assembly Information.
Deploying ASP.NET Applications.
XCOPY Deployment.
Windows Installer Deployment
IV. WEB SERVICES.
27. Introduction to XML. The Power of XML.
What About HTML?
XML's Helpers
Getting Started with XML.
XML Element Rules.
XML Document Structure.
XML Schema.
28. Introduction to XML Web Services. Web Service Requirements.
XML Web Services Then and Now.
Doing XML Web Services the Hard Way.
Doing XML Web Services the Easy Way.
Web Services in Action.
29. Creating and Consuming XML Web Services. Creating a Simple XML Web Service.
Testing the Web Service.
Consuming a Web Service.
Creating a Client Application.
Creating a Useful Web Service.
Returning a DataSet from a Web Service.
30. Investigating Web Service Consumers. Consuming a Web Service Synchronously.
The Sample Web Service.
Calling the Web Service.
What's Going On?
Consuming a Web Service Asynchronously.
Adding the Method Call.
What's Going On?
31. Securing Web Services. Security Mechanisms.
Using Secure Sockets Layer (SSL).
Using IIS.
Using ASP.NET.
Windows Integrated Authentication.
Authentication Modes.
Authorization of Users.
Custom SOAP Authentication.
Creating a SOAP Header Class.
Calling the SOAP Method.
Client Certificates.
IP Address Restriction.
V. APPENDIX.
Appendix A. Programming Standards. Setting Up Your Environment.
Computer Setup.
Visual Studio .NET Options.
Option Strict.
Naming Conventions.
Naming Variables.
Naming Controls and Menus.
Naming ADO.NET Objects.
Coding Conventions.
Naming Data Structures.
Naming Procedures.
Commenting Your Code.
Indentation.
Index.
Preface
The major benefit you will derive from reading this book is that you will be led, step by step, through the creation of a real-world-style business Web application that takes advantage of many of the new capabilities provided by the .NET platform. After reading this book, you will be able to program .NET applications using ADO.NET, Web Forms, and Web Services. Most of the books on the market do not address a real-world application, and most do not ever use a step-by-step approach. This book uses this approach so you can learn what you need in order to get your job done quicker and more efficiently. This will make your investment in this book pay off right from the beginning chapters.
What Is the Purpose of This Book?
The purpose of this book is to show you how to use ASP.NET and Visual Studio .NET to build real-world business applications on the Web. We will show the practical applications of ASP.NET by illustrating how to build a client/server application using Web Forms and Web Services. Emphasis will be on good programming standards and practices. You will be taken from an introduction of the Visual Basic .NET language to intermediate topics through a step-by-step approach. This lets you try out the practices being set forth in this book.
What This Book Isn't
Given the challenge of writing about a huge technology like Microsoft's .NET platform, we made specific decisions about what and what not to cover. With that in mind, this book is most definitely not a reference manual, and it is not a rehash of the Microsoft documentation. It is, however, a great place to start digging into the features and power of ASP.NET. The book is also not a resource on advanced features--you'll find many other books that explain the things you'll want to dig into after you've learned the basics. We deliberately avoided topics that you don't need to know right away. Instead, we focused on topics you'll need right away to begin your exploration of ASP.NET and Web development using the .NET platform.
Who Should Read This Book?
This book is designed for anyone who wants to learn how to create a business application using ASP.NET, HTML, and Internet Information Services (IIS). Throughout this book, you will be introduced to the concepts of the Microsoft .NET Framework, how to create a Web application using SQL Server, ASP.NET, ADO.NET, and Web Services, as well as good programming principles.
Prerequisites
This book is designed for programmers who need to know how to program a Web application. If you are a programmer and/or Web designer who has some experience with VBScript or ColdFusion, you will get a lot out of this book. Even if you're not, there is enough in here to get you started. To get the most out of this book, it is recommended that you have experience using a programming language such as Visual Basic 6.0. Some experience with Visual Basic .NET would be helpful, but it's not required. You should also be familiar with relational database concepts and have access to the Northwind sample database that comes with SQL Server and Access. You must be familiar with Windows 2000, or later, and have access to Windows NT, Windows 2000, or Windows XP to effectively use this book. Familiarity with IIS is also recommended, because this book will assume you know how to set up virtual directories in IIS.
Assumptions
You will need several tools at your disposal so you can try out the many exercises contained in this book. Here is a list of the tools you should have on your computer:
- Microsoft SQL Server 7.0 or later or Microsoft Access
- The Northwind sample database, which comes with SQL Server and Access
- Microsoft Windows 2000, or XP
- Microsoft .NET Common Language Runtime (CLR) Framework SDK
- Microsoft Visual Studio .NET
- Microsoft Mobile Internet Toolkit (optional)
Getting and Running .NET
The .NET Framework and the Visual Studio .NET IDE can both be purchased from many vendors, including directly from Microsoft. Although the .NET Framework will run on Microsoft Windows XP, Windows 2000, Windows NT 4.0, Windows 98 second edition, and Windows Millennium Edition (Windows Me), you'll need to have Windows NT with Service Pack 6, Windows 2000, Windows XP, or Windows .NET Server in order to develop applications. Microsoft Internet Explorer 6.0 or later is required. For server-side installs, Microsoft Data Access Components 2.7 is required. You need at least a PII 450MHz processor with a minimum of 128MB of RAM and at least 800Yen600 resolution.
You will find that you need at least a PIII 650MHz processor with 384MB of RAM or better to be really productive. The more memory you have, the better off you will be. Given the choice, adding memory should have a higher priority than upgrading your processor.
Making the Most of This Book
To download the examples discussed in this book, and to find updates and fixes, visit our Web site, http://www.pdsa.com/aspnetjumpstart. Because this book focuses on building an application that looks and feels like a simple business-oriented Web site, you'll get the flavor of the types of issues that will affect every ASP.NET developer. Rather than focusing on features or technology, we've focused on tasks and solutions. Although there may be other ways to accomplish some of the techniques we've proposed in this book, given the examples shown here, you'll have a running head start toward building your own sites and applications.
We suggest that you work your way through this book, from start to finish. There may be some chapters along the way that cover material you're already familiar with (for example, the chapters on HTML and XML). In that case, skim on past. Don't worry about missing out on steps in building the sample application--we've included, along with the sample application, a finished version of the application after each chapter. If you skip a chapter, you can simply copy the contents of the finished version for the chapter into your working folder. (See Chapter 1, "Getting Started with the Sample Application," for more details.) In a perfect world, after working through the examples in each chapter, you would take the time to review the documentation on the objects and techniques covered and then add your own functionality to the application.
0672323575P04222002
Index
A
- Active Server Pages (ASP), creating Web applications
- Add New Item dialog box
- Add Project Output Group dialog box
- Add Reference button
- Add Reference dialog box
- Add Web Form command (Project menu)
- Add Web Reference dialog box
- Add Web User Control command (Project menu)
- adding
- AlternatingItem template to Repeater control
- data source to DataList control
- displaying the Name field for each row of data
- hooking up data binding
- Data-Retrieval code to Repeater control
- DataGrid control
- EditItemTemplate to DataList control
- employees, stored procedures
- event-handling code to DataList control
- CancelCommand events
- EditCommand events
- UpdateCommand events
- ExecuteScalar method to DataHandler.vb (employee validation)
- GetDataReader method
- Header and Footer templates to Repeater control
- hyperlink columns
- hyperlinks to Repeater control
- ItemCommand event procedure to Repeater control
- ItemTemplate element to Repeater control
- ItemTemplate to DataList control
- setting control properties
- setting data binding properties
- LoginValid procedure (employee validation)
- references
- rows (DataGrid control editing)
- Web references to consumed XML Web Services
- AddLink procedure
- AddMode Session variables
- AddPrimaryKey procedure (DataSet objects)
- AddRelation procedure (DataSet objects)
- address restriction, Web services security
- Address tab (New Breakpoint dialog box)
- AddTwoNumbers link, testing created XML Web Services
- AddTwoNumbers method
- ADO.NET (collective set of data classes)
- benefits
- interoperability
- performance
- programmability
- scalability
- classes
- Command objects
- CommandBuilder objects
- Connection objects
- DataAdapter objects
- DataReader objects
- DataSet objects
- DataTable objects
- DataView objects
- Command objects, updating data
- Connection objects
- adding code to retrieve and display data
- OleDbConnection
- SqlConnection
- DataAdapter objects
- DataReader objects
- filling a DropDownList control
- filtering grid based on supplier ID
- retrieving DataSet objects
- working with relations in a DataSet object
- namespaces
- System.Data.OleDb
- System.Data.SqlClient
- objects, naming conventions (programming standards)
- stored procedures
- OleDb namespace
- setting up sample stored procedures
- SqlClient namespace
- AdRotator control
- filtering
- MMIT (Microsoft Mobile Internet Toolkit)
- advanced features of Repeater control
- adding the AlternatingItem template
- adding the ItemCommand event procedure
- creating the Detail page
- creating the ItemTemplate element
- AdvertisementFile property (AdRotator control)
- AllowPaging property (DataGrid control)
- AllowSorting property (DataGrid control)
- AlternatingItem template, adding to Repeater control
- Anonymous Access and Authentication control
- anonymous users, denying (forms-based authentication)
- Application Object
- ASP.NET IIS object
- state management
- applications
- components
- deployment techniques
- Windows Installer technology
- XCOPY deployment
- event-handling procedures
- button control events
- CheckChanged events
- e parameter
- Page_Load events
- SelectedIndexChanged events
- sender parameter
- .NET Framework
- class libraries
- Web applications
- Windows applications
- XML Web services
- sample application
- adding controls using flow layout
- adding existing pages
- ASP.NET controls
- building the sample project
- Categories page
- Category Detail page
- Change Password page
- debugger
- Edit Products page
- Employee Information page
- Employee Maintenance page
- Employees and Orders page
- Employees (Stored Procedures) page
- finished versions of projects
- flow layout versus grid layout
- folder structure
- Framework classes
- handling errors
- handling virtual roots
- installing the examples
- loading projects
- login page
- main page
- Mobile Internet Toolkit
- Product Details page
- products page
- Sales by Category page
- setting up debugging
- state management
- typing code
- using existing projects
- Visual Basic .NET language basics
- threads
- XML Schema
- XML Web Services
- ArrayList objects (System.Collection namespace)
- ASP (Active Server Pages), creating Web applications
- ASP.NET
- controls, sample application
- creating the Northwind Solution
- creating Web applications
- adding code to buttons
- Login Forms
- Crystal Reports
- creating a report
- viewing a report
- data binding
- creating a sample page
- displaying data
- deployment techniques
- Windows Installer technology
- XCOPY deployment
- IIS objects
- Application Object
- Request Object
- Response Object
- Server Object
- Session Object
- List-bound server controls
- Repeater control
- advanced features
- binding data in templates
- creating a Repeater
- displaying data
- hooking up the data
- rich controls
- state management
- Application object
- ASP.NET State Service
- cookieless sessions
- cookies
- embedded URL parameters
- hidden input fields
- Session object
- SQL server
- StateBag class
- ViewState property
- user-created controls
- Web Forms
- events
- Field Validator controls
- HTML controls
- Server controls
- Web services security
- XML Web Services
- assembly information, management
- Assert method (Visual Studio .NET Debug class)
- AsyncCallback class, Web Service method call back, delegates
- asynchronous consumption of XML Web Services
- adding the method call
- AsyncCallback class, delegates
- BeginUnitsInStock procedure
- HandleCallback procedure ("end" procedure)
- IasyncResult class
- TestAsync class ("start" procedure)
- attributes, XML
- authentication (Web security)
- client certificates
- forms-based authentication
- denying anonymous users
- validating employees
- IP address restriction
- Microsoft Passport
- modes
- SOAP authentication
- calling the SOAP method
- creating a SOAP header class
- Windows authentication
- Windows Integrated Authentication
- authorization element (forms-based authentication)
- authorization of users (Web security)
- dynamic management, role-based authorization
- Web services security
- Web.config
- Auto Format dialog box
- AutoGenerateColumns property (DataGrid control)
- AutoGenerateFields property (MMIT ObjectList control)
- AutoPostBack property (DropDownList control)
- Autos window (Visual Studio .NET)
B
- banded report designers
- BeginUnitsInStock procedure, Web Service method call back
- benefits
- ADO.NET
- interoperability
- performance
- programmability
- scalability
- .NET Framework
- developers
- managers
- users
- binding data
- creating a sample page
- displaying data
- adding DataGrid control
- applying DropDownList control to filter categories
- filling DropDownList control with data
- populating DataGrid control
- templates, Repeater control
- bookmarks, locating code with Visual Studio. NET Editor
- br tag
- Break All tool (Visual Studio .NET Debug toolbar)
- Break Mode (Visual Studio .NET)
- Breakpoint Condition dialog box
- Breakpoint Hit Count dialog box
- Breakpoint Properties dialog box
- Breakpoints tool (Visual Studio .NET)
- Breakpoints toolbar, buttons
- Breakpoints window
- setting conditional attributes
- specifying a hit count
- Breakpoints/Immediate tool (Visual Studio .NET Debug toolbar)
- Browser property (Request object)
- btnClick_Click procedure
- btnRaise_Click procedure
- building relational DataSets
- bulleted lists
- button control events (event-handling procedures)
- ButtonColumn properties (DataGrid control)
- buttons
- Add Reference
- Breakpoints toolbar (Visual Studio .NET)
- Delete Employee
- Edit, editing data with DataGrid control
- ButtonType property (Properties dialog box)
- bytecodes
C
- Calendar control
- initializing the calendar
- MMIT (Microsoft Mobile Internet Toolkit)
- Call Stack window (Visual Studio .NET), displaying procedures up to
current location
- calling methods, XML Web Services
- asynchronously
- synchronously
- CancelCommand events, event-handling code for DataList control
- canceling edits, DataGrid control editing
- Catch blocks, error handling
- Categories page (sample application)
- Category Detail page (sample application)
- CategoryAvgPrice procedure (ADO.NET Connection objects)
- CategoryID value
- CategoryLoad procedure
- CategoryName field
- Cells property
- Change Password page (sample application)
- CheckChanged events (event-handling procedures)
- checking a range, RangeValidator control
- demonstration of use
- Display property
- properties
- City Forms, creating a page for mobile devices (MMIT)
- class libraries
- Class View window, Visual Studio .NET IDE
- classes
- ADO.NET
- Command objects
- CommandBuilder objects
- Connection objects
- DataAdapter objects
- DataReader objects
- DataSet objects
- DataTable objects
- DataView objects
- coding conventions (programming standards)
- System.Collections namespace
- ArrayList
- CollectionBase
- creating Customer objects
- DictionaryBase
- SortedList
- System.Data classes
- data-handling sample
- DataSet
- DataTable
- DataView
- System.IO classes
- File
- StreamReader
- StreamWriter
- System.IO namespace
- System.XML namespace
- Visual Basic .NET, creating
- LoginInfo class
- String class
- Click event
- client applications, creating for consumed XML Web Services
- client certificates, Web Services security
- client-side events, HTML controls
- Clipboard
- Clipboard Ring, managing the Visual Studio .NET Clipboard
- managing Visual Studio .NET Editor
- Clone method
- Close method
- closing Connection objects
- CLR (Common Language Runtime)
- CLS (Common Language Specification)
- code
- entering in Visual Studio .NET, IntelliSense
- debugging Visual Studio .NET
- Step Into tool
- Step Over tool
- code-behind files
- coding conventions (programming standards)
- commenting code
- data structures
- classes and structures
- conditional compilation constants
- constants
- enumerations
- exceptions in Try/Catch blocks
- interfaces
- indentations
- procedures
- CollectionBase objects (System.Collection namespace)
- columns
- adding hyperlink columns (editing data with DataGrid control)
- creating DataGrid control columns
- numeric, formatting DataGrid control
- sorting (DataGrid control)
- COM (Component Object Model)
- combo boxes
- comma-delimited text files
- Command control (MMIT)
- Command objects (ADO.NET)
- ExecuteReader method
- updating data
- Command window (Visual Studio .NET), performing simple
calculations
- CommandArgument
- CommandBuilder objects (ADO.NET)
- CommandName
- commenting code
- coding conventions (programming standards)
- Visual Studio .NET Editor
- comments, XML
- Common Language Runtime, (CLR)
- Common Language Specification, (CLS)
- CompareValidator control, comparing control data values
- adding Password Change form to your project
- Operator property
- properties
- compilation, conditional (Visual Studio .NET). See conditional
compilation
- Component Object Model, (COM)
- computer setup
- conditional attributes, setting in Breakpoints window (Visual Studio
.NET)
- conditional compilation (Visual Studio .NET)
- constants
- declaring a file-level compiler constant
- declaring a global compiler constant
- configuring
- DataSets
- Data Adapter Configuration Wizard
- generating the typed DataSet
- retrieving data
- Visual Studio .NET
- My Profile Page
- Visual Studio Start Page
- Connection objects (ADO.NET)
- adding code to retrieve and display data
- CategoryAvgPrice procedure
- closing Connection objects
- OleDbConnection
- SqlConnection
- ConnectStringBuild procedure
- constants
- coding conventions (programming standards)
- Visual Studio .NET conditional compilation
- constructing text, String.Format method (VB .NET data types)
- consuming XML Web Services
- adding the Web reference
- calling the Web Service method
- creating client applications
- Container class
- container controls (MMIT)
- Container.DataItem property
- Contents window (Visual Studio .NET)
- control events
- controls
- ASP.NET
- sample application
- user-created controls
- Web Forms
- custom controls
- List-bound server controls
- MMIT
- container controls
- image display controls
- list and selection controls
- miscellaneous controls
- text display controls
- transfer controls
- validation controls
- naming conventions (programming standards)
- miscellaneous controls
- Windows applications
- user controls
- DataDropDownList controls
- defining and raising events
- header controls
- navigation controls
- versus custom controls
- validation
- CompareValidator control
- CustomValidator control
- RangeValidator control
- RegularExpressionValidator control
- RequiredFieldValidator control
- ValidationSummary control
- Controls property (PlaceHolder control)
- conventions for coding (programming standards)
- commenting code
- data structures
- classes and structures
- conditional compilation constants
- constants
- enumerations
- exceptions in Try/Catch blocks
- interfaces
- indentations
- procedures
- conventions for naming (programming standards)
- ADO.NET objects
- controls and menus
- miscellaneous controls
- Windows applications
- variables
- data type prefixes
- Hungarian notation
- scope prefixes
- conversion functions (VB .NET data types)
- cookies, state management
- cookieless sessions
- issues
- permanent cookies
- CountOrders procedure
- Country Forms, creating a page for mobile devices (MMIT)
- CreateText shared method (File class)
- creating
- class libraries
- Customer objects
- DataGrid control columns
- Detail page, Repeater control
- error pages
- ItemTemplate element, Repeater control
- macros, Visual Studio .NET Editor
- Northwind Solution, ASP.NET
- projects in Visual Studio .NET
- Class View window
- Object Browser window
- Properties window
- Server Explorer window
- Solution Explorer window
- Task List window
- templates
- Toolbox window
- Repeaters
- Data-ItemTemplate element
- Data-Retrieval code
- Header and Footer templates
- hyperlinks
- reports (Crystal Reports)
- sample pages for data binding
- SOAP header class
- user controls
- DataDropDownList controls
- header controls
- navigation controls
- Visual Basic .NET classes
- LoginInfo class
- String class
- Visual Basic .NET procedures
- ConnectStringBuild procedures
- Function procedures
- Sub procedures
- Web applications
- Web Services, System.Web.Services namespace
- XML Web Services
- GetAllInventory method
- GetInventory method
- returning a DataSet
- UnitsInStock method
- Crystal Report Gallery
- Crystal Reports
- creating a report
- viewing a report
- displaying the report
- Reporter Viewer page
- selecting specific rows
- CrystalReportViewer control
- creating a Report Viewer page (Crystal Reports)
- SelectionFormula property
- CType functions (VB .NET data type conversion function)
- Currency data type (VB6)
- CurrentPage property (DataGrid control)
- Custom Binding Expression text box
- custom commands, ObjectList control (MMIT)
- Custom Constants text box
- custom controls versus user controls
- Customer objects, creating with System.Collection namespace
- customErrors element
- customizing validation (CustomValidator control)
- demonstration of use
- properties
- ServerValidate procedure
D
- data
- adding data source to DataList control
- displaying the Name field for each row of data
- hooking up data binding
- binding in templates, Repeater control
- displaying Repeater control
- editing with DataGrid control
- adding and deleting rows
- adding a template column
- adding versus editing
- canceling the edit
- DataView objects
- Edit button
- EditCommand event
- links
- modifying UpdateCommand procedure
- project setup
- saving data
- SmartNavigation
- filling ObjectList control (MMIT)
- handling with ADO.NET classes
- hooking up DataGrid control data
- CategoryLoad procedure
- modifying Page Load procedure
- hooking up Repeater control
- loading DataGrid control
- requiring data entry, RequiredFieldValidator control
- retrieving
- ADO.NET Connection objects
- DataReader objects
- updating ADO.NET Command objects
- Data Adapter Configuration Wizard, creating and configuring a
DataSet
- data binding
- adding to TextBox control (Toolbox window)
- creating a sample page
- displaying data
- adding DataGrid control
- applying DropDownList control to filter categories
- filling DropDownList control with data
- populating DataGrid control
- Data Formatting Expression text box
- Data Link Properties dialog box
- Data page (Standard Report Expert dialog box)
- data services (.NET Framework), ADO.NET
- data structures, coding conventions (programming standards)
- classes and structures
- conditional compilation constants
- constants
- enumerations
- exceptions in Try/Catch blocks
- interfaces
- Data tab
- New Breakpoint dialog box
- Toolbox window
- data types
- .NET Framework
- prefixes (variable-naming)
- Visual Basic .NET
- conversion functions
- Option Strict directive
- String.Format method
- Data-Retrieval code, adding to Repeater control
- DataAdapter objects (ADO.NET)
- DataBind method
- DataGrid object
- Repeater control
- DataBinder objects
- DataBinder.Eval method
- DataColumn objects
- DataDropDownList controls, creating
- methods
- overriding the DataBind method
- properties
- Register directive
- testing the control
- DataGrid control
- adding (displaying data for data binding)
- AllowPaging property
- AllowSorting property
- AutoGenerateColumns property
- creating columns
- editing data
- adding and deleting rows
- adding a template column
- adding versus editing
- canceling the edit
- DataView objects
- Edit button
- EditCommand event
- links
- modifying UpdateCommand procedure
- project setup
- saving data
- SmartNavigation
- enabling paging
- formatting
- hooking up data
- CategoryLoad procedure
- modifying Page Load procedure
- loading
- populating (displaying data for data binding), Page_Load event
procedure
- returning a DataSet in XML Web Services
- selecting rows
- sorting columns
- DataHandler class
- Imports statement
- loading
- DataHandler.GetDataSet method
- DataItem property
- DataList control
- adding the data source
- displaying the Name field for each row of data
- hooking up data binding
- adding the EditItemTemplate
- adding event-handling code
- CancelCommand events
- EditCommand events
- UpdateCommand events
- adding the ItemTemplate
- setting control properties
- setting data binding properties
- LinkButton control properties
- CommandArgument property
- CommandName property
- project setup
- properties
- DataListBind procedure
- DataListLoad procedure
- DataReader objects (ADO.NET)
- filling a DropDownList control
- GetDataReader method
- loading suppliers
- filtering grid based on supplier ID
- retrieving data
- working with relations in a DataSet object
- AddPrimaryKey procedure
- AddRelation procedure
- building relational DataSets
- DataRelation objects
- DataSet objects
- ADO.NET
- relations
- AddPrimaryKey procedure
- AddRelation procedure
- building relational DataSets
- retrieving
- DataSetIndex property (DataGrid control)
- DataSets, creating and configuring (data binding)
- Data Adapter Configuration Wizard
- generating the typed DataSet
- retrieving data
- DataSource property
- DataTable objects
- ADO.NET
- System.Data class
- DataTextField property (DropDownList control)
- DataValueField property (DropDownList control)
- DataView objects
- ADO.NET
- EditItemIndex property
- handling data for DataGrid control editing
- RowFilter method
- RowFilter property
- System.Data class
- datEmps Properties dialog box
- Debug class (Visual Studio .NET)
- Assert method
- WriteLineIf method
- Debug toolbar (Visual Studio .NET)
- Break All tool
- Breakpoints/Immediate tool
- Hexadecimal Display tool
- invoking the Debugger
- Restart tool
- Show Next Statement tool
- Start tool
- Step Into tool
- Step Out tool
- Step Over tool
- Stop Debugging tool
- Stop statements
- debugging in Visual Studio .NET
- conditional compilation
- constants
- declaring a file-level compiler constant
- declaring a global compiler constant
- Debug class
- Assert method
- WriteLineIf method
- Debug toolbar
- Break All tool
- Breakpoints/Immediate tool
- Hexadecimal Display tool
- invoking the Debugger
- Restart tool
- Show Next Statement tool
- Start tool
- Step Into tool
- Step Out tool
- Step Over tool
- Stop Debugging tool
- Stop statements
- modes of existence
- Break mode
- Design mode
- Run mode
- tools for debugging
- Autos window
- Breakpoints
- Call Stack window
- Command window
- Disassembly window
- Immediate window
- Locals window
- Me window
- Modules window
- QuickWatch
- Registers window
- Threads window
- Watch window
- declaration, XML
- delegates, AsyncCallback class
- Delete Employee button
- DeleteCommand event handler
- deleting
- employees, stored procedures
- rows (DataGrid control editing)
- demonstrations
- CustomValidator control
- RangeValidator control
- RegularExpressionValidator control
- RequiredFieldValidator control
- denying anonymous users (forms-based authentication)
- deployment techniques (ASP.NET applications)
- Windows Installer technology
- XCOPY deployment
- inappropriate scenarios for XCOPY deployment
- testing deployment of sample site
- Design mode (Visual Studio .NET)
- Detail page
- creating, Repeater control
- editing data (DataGrid control)
- developer benefits, .NET Framework
- development techniques
- accounting for namespaces
- adding a reference
- creating a class library
- managing assembly information
- DeviceSpecific control (MMIT)
- DHTML (Dynamic HTML)
- dialog boxes
- Add New Item
- Add Project Output Group
- Add Reference
- Add Web Reference
- Auto Format
- Breakpoint Condition
- Breakpoint Hit Count
- Breakpoint Properties
- Data Link Properties
- datEmps Properties
- Find
- Find Symbol
- Generate DataSet
- grdCatSales Properties
- hypProductDetails DataBindings
- lblName DataBindings
- New Breakpoint
- New Project
- Property Builder
- Property Pages
- Replace
- Replace in Files
- Standard Report Expert, Data page
- txtProductDetails DataBindings
- DictionaryBase objects (System.Collection namespace)
- digital signatures
- Direction property
- Directory Security tab
- Disassembly window (Visual Studio .NET)
- Display property (RangeValidator control)
- DisplayGroupTree property (CrystalReportViewer control)
- displaying
- data (data binding)
- adding DataGrid control
- applying DropDownList control to filter categories
- filling DropDownList control with data
- populating DataGrid control
- Repeater control
- reports (Crystal Reports)
- DisplayMode property (ValidationSummary control)
- document structure, XML
- Document Type Definition. See DTD
- Document windows (Visual Studio .NET)
- Domain Name Service
- dragging and dropping text, Visual Studio .NET Editor
- DropDownList control
- filling, DataReader objects
- SelectedIndexChanged event
- Value property
- DTD (Document Type Definition)
- Dynamic Help window (Visual Studio .NET)
- Dynamic HTML, (DHTML)
- dynamic management, authorization of users, role-based
authorization
E
- e parameters (event procedures)
- EDI (Electronic Data Interchange)
- Edit button, editing data with DataGrid control
- Edit Products hyperlink
- Edit Products page (sample application)
- EditCommand events
- editing data with DataGrid control
- DataView objects
- SmartNavigation
- event-handling code for DataList control
- EditCommand procedure
- editing data (DataGrid control)
- adding and deleting rows
- adding a template column
- adding versus editing
- canceling the edit
- DataView objects
- Edit button
- EditCommand event
- links
- modifying UpdateCommand procedure
- project setup
- saving data
- SmartNavigation
- EditItemIndex property (DataView object)
- EditItemTemplate, adding to DataList control
- Editor (Visual Studio .NET)
- commenting/uncommenting blocks of code
- creating macros
- dragging and dropping text
- finding text
- "Go Back" locations
- incremental searching
- IntelliSense
- locating code with bookmarks
- managing the Clipboard
- replacing text
- searching for symbols
- splitting the Editing window
- tabbing between windows
- toggling Full Screen mode
- word wrapping
- Electronic Data Interchange, (EDI)
- elements
- HTML
- bulleted lists
- combo and list boxes
- hyperlinks
- images
- input types
- line breaks
- numbered lists
- tables
- XML
- containing other elements
- containing text
- naming rules
- embedded URL parameters, state management
- EmpAddOleDb procedure
- EmpDelete procedure
- EmpLoad procedure
- Employee Information page (sample application)
- Employee Maintenance page (sample application)
- employee validation (forms-based authentication)
- adding an ExecuteScalar method to DataHandler.vb
- adding the LoginValid procedure
- Log Out links
- EmployeeAdd procedure
- EmployeeDelete procedure
- EmployeeList procedure
- Employees and Orders page (sample application)
- enabling paging, DataGrid control
- "end" procedure (HandleCallback), Web Service method call
back
- EndUnitsInStock procedure, Web Service method call back
- entering code, Visual Studio .NET, IntelliSense
- enumerations, coding conventions (programming standards)
- Err.Raise method
- error handling
- adding a Try/Catch block
- base case (no error handling at all)
- creating an error page
- exceptions
- retrieving error information
- throwing exceptions
- error-handling options
- passing error information
- running code unconditionally
- searching for handlers
- Throw keyword
- Visual Basic .NET versus Visual Basic 6
- errors, sample application
- Eval method (DataBinder objects)
- event-handling procedures
- adding event-handling code to DataList control
- CancelCommand events
- EditCommand events
- UpdateCommand events
- application
- button control events
- CheckChanged events
- e parameter
- Page_Load events
- SelectedIndexChanged events
- sender parameter
- interacting with the server
- Click event
- SelectedIndexChanged event
- EventArgs class
- events
- ASP.NET Web Forms
- defining and raising user controls
- event-handling procedures
- application
- interacting with the server
- Exception class (error handling)
- exception handling. See error handling
- ExecuteNonQuery method
- ExecuteReader method
- ExecuteScalar method
- ExecuteSQL method
- Exists method (File class)
- Expires property
- expressions, validating with RegularExpressionValidator control
- demonstration of use
- properties
- Extensible Markup Language. See XML
- Extensible Stylesheet Language Transformation, (XSLT)
F
- Field Validator controls, ASP.NET Web Forms
- fields
- My Profile Page (Visual Studio .NET)
- ObjectList control
- Fields property (ObjectList control, MMIT)
- File objects (System.IO class)
- File tab (New Breakpoint dialog box)
- File.Open method
- Fill method (DataAdapter object)
- FillCity procedure
- FillCountry procedure
- FillCustomers procedure
- filling DropDownList control
- filtering
- AdRotator control
- categories with DropDownList control (displaying data for data
binding)
- grids based on supplier ID, DataReader objects
- Find dialog box
- Find method
- Find Symbol dialog box
- Find Symbol Result window
- FindByValue method (editing data with DataGrid control)
- flow layout
- folder structure, sample applications
- Footer templates, adding to Repeater control
- Form control (MMIT)
- Format method (String class VB .NET)
- FormatResults procedure
- formatting, DataGrid control
- Forms (Windows)
- forms-based authentication
- denying anonymous users
- FormsAuthentication class
- validating employees
- adding an ExecuteScalar method to DataHandler.vb
- adding the LoginValid procedure
- Log Out links
- Framework classes, sample application
- Full Screen mode (Visual Studio .NET), toggling
- Function procedures (VB .NET)
- Function tab (New Breakpoint dialog box)
G
- Generate DataSet dialog box
- generating typed DataSet (creating and configuring a DataSet)
- GenericPrincipal object, adding support for role-based
authorization
- GetAllInventory method, creating XML Web Services
- GetChildRows method
- GetDataReader method, adding
- GetDataSet procedure
- GetInventory method, creating XML Web Services
- GetRelationalDataSet procedure
- "Go Back" locations (Visual Studio .NET Editor)
- grdCatSales Properties dialog box
- grdProducts_EditCommand procedure
- grid layout versus flow layout (sample application)
- GridLoad procedure (DataGrid control)
- grids, filtering based on supplier ID
H
- HandleCallback procedure ("end" procedure), Web Service method
call back
- handlers, searching for, throwing exceptions
- Handles clause
- Click event
- sender parameter
- HandleSort procedure (DataGrid control)
- handling mobile requests (MMIT)
- header class (SOAP), creating
- header controls, creating
- Header templates, adding to Repeater control
- HeaderTemplate element (Repeater control)
- Help (Visual Studio .NET)
- Contents window
- Dynamic Help window
- Index window
- Search window
- Hexadecimal Display tool (Visual Studio .NET Debug toolbar)
- hidden input fields, state management
- hierarchical syntax, .NET Framework namespaces
- hierarchy, Exception hierarchy
- hit counts, specifying in Breakpoints window (Visual Studio
.NET)
- hooking up data
- Repeater control
- DataGrid control
- CategoryLoad procedure
- modifying Page Load procedure
- HTML (Hypertext Markup Language)
- controls, ASP.NET Web Forms
- creating Web applications
- elements
- bulleted lists
- combo and list boxes
- hyperlinks
- images
- input types
- line breaks
- numbered lists
- tables
- versus XML
- Hungarian notation (variable-naming scheme)
- HyperLink control
- hyperlinks
- adding to Repeater control
- columns, adding (editing data with DataGrid control)
- Hypertext Markup Language. See HTML
- hypProductDetails DataBindings dialog box
I
- IasyncResult class (Web Service method call back)
- IDE (Integrated Development Environment)
- Visual Studio .NET windows
- Class View window
- Object Browser window
- Properties window
- Server Explorer window
- Solution Explorer window
- Task List window
- Toolbox window
- Identity interface, role-based authorization
- Identity property, authorization of users
- IE (Internet Explorer)
- IIS (Internet Information Server)
- ASP.NET objects
- Application Object
- global.asax file
- Request Object
- Response Object
- Server Object
- Session Object
- IL (Intermediate Language)
- image display controls (MMIT)
- images
- IMG tag
- Immediate window (Visual Studio .NET), watching variables using
mouse
- Imports statement (DataHandler class)
- Impressions element (AdRotator control)
- incremental searching (Visual Studio .NET Editor)
- indentations, coding conventions (programming standards)
- Index window (Visual Studio .NET)
- IndexOf method (editing data with DataGrid control)
- Init event
- initializing the calendar, Calendar control
- InitialValue property (RequiredFieldValidator control)
- InnerException property (exceptions)
- INPUT tag
- input types
- installations, examples for sample application
- Integrated Development Environment. See IDE
- IntelliSense, entering code in Visual Studio .NET
- interacting with the server, event-handling procedures
- Click event
- SelectedIndexChanged event
- interface modes (Visual Studio .NET)
- interfaces, coding conventions (programming standards)
- Intermediate Language, (IL)
- Internet programming basics
- creating Web applications
- HTML
- Internet Explorer, (IE)
- Internet Information Server, (IIS)
- Internet Service Providers, (ISPs)
- interoperability, ADO.NET
- IP addresses, restriction
- IPrincipal interface, role-based authorization
- Is operator
- IsPostBack property (Page Load event)
- ISPs (Internet Service Providers)
- issues
- ASP.NET State Service
- automatic SQL server state management
- cookies, state management
- Session objects
- StateBag class, state management
- ItemCommand event
- adding to Repeater control
- DataGrid control
- Items collection
- ItemTemplate
- adding to DataList control
- control properties
- data binding properties
- Repeater control
J
- JIT compilers (Just-In-Time compilers)
K
- KeywordFilter property (AdRotator control)
L
- Label control (MMIT)
- LabelField property (ObjectList control, MMIT)
- languages, XML
- lblName DataBindings dialog box
- LI tag
- line breaks
- LinkButton control properties, DataList control
- CommandArgument property
- CommandName property
- links, editing data with DataGrid control
- adding a hyperlink column
- Detail page
- list boxes
- list and selection controls (MMIT)
- List-bound server controls
- ListItem objects
- Literal control
- Load event
- loading
- DataGrid control
- DataHandler class
- suppliers, DataReader objects
- Locals window (Visual Studio .NET)
- Log Out links (employee validation)
- Login Forms, creating Web applications using ASP.NET
- login page (sample application)
- LoginInfo class (VB .NET)
- LoginValid procedure, adding to DataHandler.vb (employee
validation)
M
- macros, creating (Visual Studio .NET Editor)
- main page (sample application)
- Main.aspx (Repeater control)
- managed code, CLS (Common Language Specification)
- management
- assembly information
- Clipboard (Visual Studio .NET Editor)
- dynamic authorization, role-based authorization
- adding support
- Iidentity interface
- IPrincipal interface
- mapping client certificates
- MaximumValue properties (RangeValidator control)
- MDI (Multiple Document Interface)
- Me window (Visual Studio .NET)
- members, Exception class
- memory cookies
- menus, naming conventions (programming standards), Windows
applications
- message format, XML Web Services requirement
- method calls, XML Web Services
- asynchronous consuming
- synchronous consuming
- Microsoft Installer files. See MSI files
- Microsoft Intermediate Language, (MSIL)
- Microsoft Mobile Internet Toolkit. See MMIT
- Microsoft Passport
- Microsoft Windows Installer
- building and testing the MSI
- configuring Web site information
- selecting output content for MSI file
- migration, .NET Framework
- Migration Wizard
- MinimumValue properties (RangeValidator control)
- miscellaneous controls (MMIT)
- MMIT (Microsoft Mobile Internet Toolkit)
- container controls
- creating a page for mobile devices
- adding data to the List control
- City Forms
- Country Forms
- navigating to the City Form
- navigating from form to form
- Password Forms
- handling mobile requests
- image display controls
- list and selection controls
- miscellaneous controls
- mobile Web applications
- container controls
- creating a page for mobile devices
- handling mobile requests
- image display controls
- list and selection controls
- miscellaneous controls
- ObjectList control
- testing mobile pages
- text display controls
- validation controls
- ObjectList control
- adding custom commands
- filling with data
- setting up fields
- sample application
- StyleReference property
- testing mobile pages
- text display controls
- transfer controls
- validation controls
- modes (Visual Studio .NET)
- Break mode
- Design mode
- Run mode, title bar
- Modules window (Visual Studio .NET)
- MSI files (Microsoft Installer files)
- building and testing
- selecting output content
- MSIL (Microsoft Intermediate Language)
- Multiple Document Interface, (MDI)
- My Profile Page, configuring Visual Studio .NET, fields
N
- Name property (Properties window)
- namespaces
- ADO.NET
- System.Data.OleDb
- System.Data.SqlClient
- .NET Framework
- hierarchical syntax
- System namespace
- System.Collections namespace
- System.Data namespace
- System.IO namespace
- System.Text namespace
- System.Web.Services namespace
- System.Xml namespace
- Web Services
- naming conventions (programming standards)
- ADO.NET objects
- controls and menus
- miscellaneous controls
- Windows applications
- variables
- data type prefixes
- Hungarian notation
- scope prefixes
- naming XML elements
- NavigateURL attribute
- navigating
- City Form (MMIT)
- controls
- form to form (MMIT)
- .NET Framework
- applications
- class libraries
- Web applications
- Windows applications
- XML Web Services
- benefits
- developers
- managers
- users
- class libraries
- CLR (Common Language Runtime)
- CLS (Common Language Specification)
- data types
- migration
- MSIL or IL
- namespaces
- hierarchical syntax
- System namespace
- System.Collections namespace
- System.Data namespace
- System.IO namespace
- System.Text namespace
- System.Web.Services namespace
- System.Xml namespace
- services
- data services
- security services
- XML Web Services
- New Breakpoint dialog box
- New Project dialog box
- NewPageIndex property (DataGrid control)
- numbered lists
- numeric columns, formatting DataGrid control
O
- Object Browser window, Visual Studio .NET IDE
- object.event names
- ObjectList control (MMIT)
- adding custom commands
- filling with data
- setting up fields
- OL tag
- OleDb namespace (System.Data namespace)
- "return value" parameter
- stored procedures
- adding employees
- deleting employees
- retrieving list of employees
- versus SqlClient namespaces
- OleDbConnection (ADO.NET Connection object)
- OleDbDataAdapter objects
- OleDbDataReader variables
- operating systems, requirements for sample application
- Operator property, CompareValidator control
- Option Strict (Visual Studio .NET)
- Option Strict directive (VB .NET data types)
P
- Page Load procedure, modifying
- Page.IsPostback property
- Page_Load events
- event-handling procedures
- populating DataGrid control
- Page_Load procedure
- PageIndexChanged event (DataGrid control)
- pageLayout property
- pagelets. See user controls
- pager, customizing (DataGrid control)
- PageSize property (DataGrid control)
- paging, enabling with DataGrid control
- Paging tab
- Panel control (MMIT)
- passing error information, throwing exceptions
- Password Change, adding to CompareValidator control
- Password Forms, creating a page for mobile devices (MMIT)
- performance, ADO.NET
- permanent cookies, state management
- PhoneCall control (MMIT)
- PlaceHolder control
- populating DataGrid control, Page_Load event procedure
- preparing for the sample application
- adding controls using flow layout
- adding existing pages
- building the sample project
- finished versions of projects
- flow layout versus grid layout
- folder structure
- handling virtual roots
- installing the examples
- loading projects
- setting up debugging
- typing code
- using existing projects
- procedures
- coding conventions (programming standards)
- event-handling
- application
- interacting with the server
- Visual Basic .NET, creating
- ConnectStringBuild procedures
- Function procedures
- Sub procedures
- Product Details page (sample application)
- ProductDisplay method
- ProductSave procedure
- ProductsEdit Page, editing data with DataGrid control
- ProductsLoad procedure
- programming
- Internet basics
- creating Web applications
- HTML
- standards
- coding conventions
- naming conventions
- setting up your computer
- Visual Studio .NET options
- Project menu commands
- Add Web Form
- Add Web User Control
- project setup, DataList control
- projects, creating in Visual Studio .NET
- Class View window
- Object Browser window
- Properties window
- Server Explorer window
- Solution Explorer window
- Task List window
- templates
- Toolbox window
- properties
- CompareValidator control, Operator property
- creating for DataDropDownList controls
- CustomValidator control
- DataList control
- LinkButton control properties (DataList control)
- CommandArgument property
- CommandName property
- RangeValidator control
- RegularExpressionValidator control
- RequiredFieldValidator control
- setting
- DataList control
- HyperLink control
- Properties window
- Name property
- Visual Studio .NET IDE
- Property Builder dialog box
- Property Pages dialog box
- protocols (SOAP)
- proxy class
Q
- QuickWatch (Visual Studio .NET)
- QuoteString procedure
R
- RadioButtonList controls
- RaiseEvent statement
- RaisePrices procedure
- raising events, user controls
- AutoPostBack property
- reacting to the event
- read-only property
- RangeValidator control
- checking a range
- demonstration of use
- Display property
- properties
- read-only property, user controls
- references, adding
- RegionLoad procedure
- Register directive
- Src attribute
- TagName attribute
- TagPrefix attribute
- Registers window (Visual Studio .NET)
- RegularExpressionValidator control
- demonstration of use
- properties
- relations, DataSet objects
- AddPrimaryKey procedure
- AddRelation procedure
- building relational DataSets
- repCat_ItemCommand procedure
- Repeater control
- advanced features
- AlternatingItem template
- Detail page
- ItemCommand event procedure
- ItemTemplate element
- binding data in templates
- creating a Repeater
- Data-Retrieval code
- Header and Footer templates
- hyperlinks
- ItemTemplate element
- displaying data
- hooking up the data
- RepeaterBind procedure
- RepeaterItem object
- Replace dialog box
- Replace in Files dialog box
- ReportBind procedure (Crystal Reports)
- Reporter Viewer page, creating (Crystal Reports)
- Reports (Crystal Reports)
- creating
- displaying
- viewing
- displaying the report
- Reporter Viewer page
- selecting specific rows
- representing data, XML Web Services requirement
- Request Object (ASP.NET IIS object)
- Request objects, Browser property
- RequiredFieldValidator control
- demonstration of use
- InitialValue property
- properties
- requirements, XML Web Services
- message format
- representing data
- service description format
- UDDI
- requiring data entry, RequiredFieldValidator control
- demonstration of use
- InitialValue property
- properties
- Response Object (ASP.NET IIS object)
- Response.Redirect method
- Restart tool (Visual Studio .NET Debug toolbar)
- retrieving
- data
- ADO.NET Connection objects
- creating and configuring a DataSet
- DataReader objects
- DataSet objects
- employee list, OleDb namespace
- error information, error handling
- "return value" parameter (OleDb namespace)
- returning a DataSet, XML Web Services
- rich controls
- AdRotator
- Calendar
- Literal
- PlaceHolder
- RadioButtonList
- role-based authorization
- adding support
- Iidentity interface
- IPrincipal interface
- RowFilter method (DataView object)
- RowFilter property (DataView object)
- rows
- DataGrid control editing
- adding
- deleting
- selecting
- selecting (Crystal Reports)
- Run mode (Visual Studio .NET)
- running code unconditionally, throwing exceptions
- runtimes, CLR (Common Language Runtime)
S
- Sales by Category page (sample application)
- sample application
- adding controls using flow layout
- adding existing pages
- ASP.NET controls
- building the sample project
- Categories page
- Category Detail page
- Change Password page
- debugger
- Edit Products page
- Employee Information page
- Employee Maintenance page
- Employees (Stored Procedures) page
- Employees and Orders page
- finished versions of projects
- flow layout versus grid layout
- folder structure
- Framework classes
- handling errors
- handling virtual roots
- installing the examples
- loading projects
- login page
- main page
- Mobile Internet Toolkit
- Product Details page
- products page
- Sales by Category page
- setting up debugging
- state management
- typing code
- using existing projects
- Visual Basic .NET language basics
- saving data, DataGrid control editing
- scalability, ADO.NET
- scope prefixes (variable-naming)
- Search window (Visual Studio .NET)
- searching for handlers, throwing exceptions
- secondary namespaces, System namespace
- Secure Sockets Layer, (SSL)
- authenticating users
- forms-based authentication
- Microsoft Passport
- Windows authentication
- authorization of users
- dynamic management
- Web.config
- Web Services
- ASP.NET
- authentication modes
- authorization of users
- client certificates
- IIS
- IP address restriction
- SOAP authentication
- SSL
- Windows Integrated Authentication
- SELECT command, retrieving data
- SELECT tag
- SelectedDate property (Calendar control)
- SelectedIndexChanged event
- adding to user control
- DropDownList control
- event-handling procedures
- selecting rows
- Crystal Reports
- DataGrid control
- SelectionChanged event
- SelectionFormula property (CrystalReportViewer control)
- SelectionList control (MMIT)
- SelectItem procedure (editing data with DataGrid control)
- FindByValue method
- IndexOf method
- sender parameters (event procedures)
- SeparatorTemplate element (Repeater control)
- server controls
- AdRotator
- Calendar
- Literal
- PlaceHolder
- RadioButtonList
- Server Explorer window, Visual Studio .NET IDE
- server interaction, event-handling procedures
- Click event
- SelectedIndexChanged event
- Server Object (ASP.NET IIS object)
- server-side controls, ASP.NET Web Forms
- ServerValidate procedure, CustomValidator control
- service description format, XML Web Services requirement
- services (.NET Framework)
- data services
- security services
- Session Object (ASP.NET IIS object)
- Session variables
- AddMode
- cautions when storing information
- Session.Abandon method
- Session_Start procedure
- SetIDAndPrincipal procedure, adding support for role-based
authorization
- setting
- DataList control properties
- Option Strict directive on
- properties
- CompareValidator control
- CustomValidator control
- DataGrid control
- HyperLink control
- RangeValidator control
- RegularExpressionValidator control
- RequiredFieldValidator control
- SmartNavigation property
- setting up your computer
- Show Next Statement tool (Visual Studio .NET Debug toolbar)
- ShowMessageBox property, ValidationSummary control
- Simple Object Access Protocol. See SOAP
- single-step mode (Visual Studio .NET debugging)
- Sleep method (Thread object)
- SmartNavigation, managing data for DataGrid control editing
- setting the SmartNavigation property
- tasks
- SOAP (Simple Object Access Protocol)
- authentication, Web services security
- calling the SOAP method
- creating a SOAP header class
- XML Web Services
- SoftkeyLabel property (Command control of MMIT)
- Solution Explorer window
- SortCommand event (DataGrid control)
- SortedList objects (System.Collection namespace)
- SortExpression property (DataGrid control)
- sorting columns (DataGrid control)
- source code debugger (Visual Studio .NET)
- conditional compilation
- constants
- declaring a file-level compiler constant
- declaring a global compiler constant
- Debug class
- Assert method
- WriteLineIf method
- Debug toolbar
- Break All tool
- Breakpoints/Immediate tool
- Hexadecimal Display tool
- invoking the Debugger
- Restart tool
- Show Next Statement tool
- Start tool
- Step Into tool
- Step Out tool
- Step Over tool
- Stop Debugging tool
- Stop statements
- modes of existence
- Break mode
- Design mode
- Run mode
- tools for debugging
- Autos window
- Breakpoints
- Call Stack window
- Command window
- Disassembly window
- Immediate window
- Locals window
- Me window
- Modules window
- QuickWatch
- Registers window
- Threads window
- Watch window
- splitting the Editing window, Visual Studio .NET Editor
- SQL server
- Server Query Analyzer
- state management
- SqlClient namespaces (System.Data namespace)
- stored procedures
- versus OleDb namespaces
- SqlConnection (ADO.NET Connection object)
- Src attribute (Register directive)
- SSL (Secure Sockets Layer)
- Standard Report Expert dialog box, Data page
- standards for programming
- coding conventions
- commenting code
- data structures
- indentations
- procedures
- naming conventions
- ADO.NET objects
- controls and menus
- variables
- setting up your computer
- Visual Studio .NET options
- "start" procedure (TestAsync), Web Service method call
back
- Start tool (Visual Studio .NET Debug toolbar)
- state management
- Application object
- ASP.NET State Service
- cookieless sessions
- cookies
- embedded URL parameters
- hidden input fields
- sample application
- Session object
- SQL server
- StateBag class
- ViewState property
- state server machines, using separate servers for state
management
- StateBag class (ViewState property)
- stateConnectionString attribute
- Step Into tool (Visual Studio .NET Debug toolbar)
- Step Out tool (Visual Studio .NET Debug toolbar)
- Step Over tool (Visual Studio .NET Debug toolbar)
- Stop Debugging tool (Visual Studio .NET Debug toolbar)
- Stop statements (Visual Studio .NET debugging)
- stored procedures (ADO.NET)
- OleDb namespace
- adding employees
- deleting employees
- retrieving list of employees
- setting up sample stored procedures
- adding procedures to database
- loading the DataHandler class
- modifying Global.asax
- SqlClient namespace
- StreamReader objects (System.IO class)
- StreamWriter objects (System.IO class)
- String class (VB .NET), Format method
- string handling, System.Text namespace
- String objects (System.Text namespace)
- String.Format method
- StringBuilder objects (System.Text namespace)
- structures, coding conventions (programming standards)
- StyleReference property (MMIT)
- StyleSheet control (MMIT)
- Sub procedures (VB .NET)
- summarizing validating messages, ValidationSummary control
- adding the control to page
- DisplayMode property
- ShowMessageBox property
- Text property
- SupplierLoad procedure
- suppliers (DataReader objects)
- filtering grid based on supplier ID
- loading
- support, role-based authorization
- symbols, searching for with Visual Studio .NET Editor
- synchronous consumption of XML Web Service
- calling the Web Service
- sample Web Service
- System namespace (.NET Framework)
- System.Collections namespace, classes
- ArrayList
- CollectionBase
- creating Customer objects
- DictionaryBase
- SortedList
- System.Data namespace (.NET Framework)
- classes
- ADO.NET
- data-handling sample
- DataSet
- DataTable
- DataView
- OleDb namespace
- SqlClient namespace
- System.IO namespace, classes
- File
- StreamReader
- StreamWriter
- System.Text namespace
- string handling
- String objects
- StringBuilder objects
- System.Web.Services namespace
- System.Web.UI.WebControls class
- System.Xml namespace
- classes
- reading an XML document
- supported XML standards
T
- Tabbed Documents interface mode (Visual Studio .NET)
- tabbing between windows (Visual Studio .NET Editor)
- TABLE tag
- TableFields property (ObjectList control, MMIT)
- tables
- tabs
- data (Toolbox window)
- New Breakpoint dialog box
- Address
- Data
- File
- Function
- Paging
- tag syntax, XML
- TagName attribute (Register directive)
- TagPrefix attribute (Register directive)
- tags
- br
- IMG
- INPUT
- LI
- OL
- SELECT
- TABLE
- TD
- TH
- TR
- UL
- Task List window, Visual Studio .NET IDE
- tasks, SmartNavigation
- TD tag
- template columns, adding to DataGrid control
- templates
- adding EditItemTemplate to DataList control
- adding ItemTemplate to DataList control
- setting control properties
- setting data binding properties
- Visual Studio .NET projects
- TestAsync class ("start" procedure), Web Service method call
back
- testing
- mobile pages (MMIT)
- XCOPY deployment
- XML Schema
- XML Web Services
- TestThrow procedure
- text
- constructing, String.Format method (VB .NET data types)
- display controls (MMIT)
- Visual Studio .NET Editor
- commenting/uncommenting blocks of code
- creating macros
- dragging and dropping
- finding text
- "Go Back" locations
- incremental searching
- IntelliSense
- locating
- locating code with bookmarks
- managing the Clipboard
- replacing
- searching for symbols
- splitting the Editing window
- tabbing between windows
- toggling Full Screen mode
- word wrapping
- Text property, ValidationSummary control
- TextBox control (MMIT)
- TextBox control (Toolbox window)
- TH tag
- Thread objects, Sleep method
- threads
- Threads window (Visual Studio .NET)
- Throw keyword, throwing exceptions
- throwing exceptions
- error-handling options
- passing error information
- running code unconditionally
- searching for handlers
- Throw keyword
- title bar (Visual Studio .NET)
- TodaysDate property (Calendar control)
- toggling Full Screen mode (Visual Studio .NET Editor)
- Tool windows (Visual Studio .NET)
- toolbars, Debug (Visual Studio .NET)
- Break All tool
- Breakpoints/Immediate tool
- Hexadecimal Display tool
- invoking the Debugger
- Restart tool
- Show Next Statement tool
- Start tool
- Step Into tool
- Step Out tool
- Step Over tool
- Stop Debugging tool
- Stop statements
- Toolbox window
- Data tab
- TextBox control
- Visual Studio .NET IDE
- Web Forms tag
- tools
- Crystal Reports
- creating a report
- viewing a report
- debugging (Visual Studio .NET)
- Autos window
- Breakpoints
- Call Stack window
- Command window
- Disassembly window
- Immediate window
- Me window
- Modules window
- QuickWatch
- Registers window
- Threads window
- Watch window
- migration, Migration Wizard
- ToString Method
- TR tag
- transfer controls (MMIT)
- Try blocks, error handling
- Try/End Try blocks
- txtProductDetails DataBindings dialog box
- typed DataSet, generating (creating and configuring a DataSet)
U
- UDDI (Universal Description, Discovery, and Integration)
- UI (user interface)
- UL tag
- uncommenting blocks of code, Visual Studio .NET Editor
- Uniform Resource Locators, (URLs)
- UnitsInStock method, creating XML Web Services
- Universal Description, Discovery, and Integration, (UDDI)
- Unload event
- Unwired Planet browser, (UP browser)
- UP (Unwired Planet) browser
- UPDATE statements
- UpdateCommand events
- event-handling code for DataList control
- handlers
- modifying (DataGrid control)
- updating data, ADO.NET Command objects
- URLs (Uniform Resource Locators)
- user authentication (Web security)
- forms-based authentication
- denying anonymous users
- validating employees
- Microsoft Passport
- Windows authentication
- user authorization (Web security)
- dynamic management, role-based authorization
- Web Services security
- Web.config
- user benefits, .NET Framework
- user controls
- DataDropDownList controls
- application
- creating properties
- methods
- overriding the DataBind method
- Register directive
- defining and raising events
- AutoPostBack property
- reacting to the event
- read-only property
- header controls
- navigation controls
- versus custom controls
- user interface, (UI)
- User property, authorization of users
- user-created controls, ASP.NET
V
- validating employees (forms-based authentication)
- adding an ExecuteScalar method to DataHandler.vb
- adding the LoginValid procedure
- Log Out links
- validating expressions, RegularExpressionValidator control
- demonstration of use
- properties
- validation controls
- CompareValidator control
- adding Password Change form to your project
- Operator property
- properties
- CustomValidator control
- demonstration of use
- properties
- ServerValidate procedure
- MMIT
- RangeValidator control
- demonstration of use
- Display property
- properties
- RegularExpressionValidator control
- demonstration of use
- properties
- RequiredFieldValidator control
- demonstration of use
- InitialValue property
- properties
- ValidationSummary control
- adding the control to page
- DisplayMode property
- ShowMessageBox property
- Text property
- ValidationSummary control
- adding the control to page
- DisplayMode property
- ShowMessageBox property
- Text property
- Value property (DropDownList control)
- variables, naming conventions (programming standards)
- data type prefixes
- Hungarian notation
- scope prefixes
- VB .NET (Visual Basic .NET)
- creating classes
- LoginInfo class
- String class
- creating procedures
- ConnectStringBuild procedures
- Function procedures
- Sub procedures
- data types
- conversion functions
- Option Strict directive
- String.Format method
- language basics, sample application
- versus Visual Basic 6, error handling
- viewing reports (Crystal Reports)
- displaying the report
- Reporter Viewer page
- selecting specific rows
- ViewState property, state management, StateBag object
- virtual roots, sample application
- VisibleMonthChanged event
- Visual Basic 6 versus VB.NET, error handling
- Visual Basic .NET. See VB .NET
- Visual Studio Discovery file, (VSDISCO)
- Visual Studio .NET
- conditional compilation
- constants
- declaring a file-level compiler constant
- declaring a global compiler constant
- configuration
- My Profile Page
- Visual Studio Start Page
- creating new projects
- Class View window
- Object Browser window
- Properties window
- Server Explorer window
- Solution Explorer window
- Task List window
- templates
- Toolbox window
- Debug class
- Assert method
- WriteLineIf method
- Debug toolbar
- Break All tool
- Breakpoints/Immediate tool
- Hexadecimal Display tool
- invoking the Debugger
- Restart tool
- Show Next Statement tool
- Start tool
- Step Into tool
- Step Out tool
- Step Over tool
- Stop Debugging tool
- Stop statements
- Debugger
- Editor
- commenting/uncommenting blocks of code
- creating macros
- dragging and dropping
- finding text
- "Go Back" locations
- incremental searching
- IntelliSense
- locating
- locating code with bookmarks
- managing the Clipboard
- replacing
- searching for symbols
- splitting the Editing window
- tabbing between windows
- toggling Full Screen mode
- word wrapping
- Help
- Contents window
- Dynamic Help window
- Index window
- Search window
- modes
- Break mode
- Design mode
- Run mode
- title bar
- options
- tools for debugging
- Autos window
- Breakpoints
- Call Stack window
- Command window
- Disassembly window
- Immediate window
- Locals window
- Me window
- Modules window
- QuickWatch
- Registers window
- Threads window
- Watch window
- windows
- Document windows
- Tool windows
- Visual Studio Start Page, configuring Visual Studio .NET
- .VSDISCO (Visual Studio Discovery file)
W
- Watch window (Visual Studio .NET), viewing value of variables
- Web applications
- creating
- ASP
- ASP.NET
- HTML
- MMIT
- .NET Framework, ASP.NET
- Web farms
- Web Forms (ASP.NET)
- events
- Field Validator controls
- HTML controls
- Web Form Server controls
- Web Forms tag (Toolbox window)
- Web references, adding to consumed XML Web Services
- Web security
- authenticating users
- forms-based authentication
- Microsoft Passport
- Windows authentication
- authorization of users
- dynamic management
- Web.config
- Web Services
- creating with System.Web.Services namespace
- security
- ASP.NET
- authentication modes
- authorization of users
- client certificates
- IIS
- IP address restriction
- SOAP authentication
- SSL
- Windows Integrated Authentication
- Web Services (XML)
- applications
- calling methods
- consuming
- adding the Web reference
- asynchronously
- calling the Web Service method
- creating client applications
- synchronously
- creating
- GetAllInventory method
- GetInventory method
- returning a DataSet
- UnitsInStock method
- requirements
- message format
- representing data
- service description format
- UDDI
- SOAP-based Web Service applications
- testing
- Web Services Description Language, (WSDL)
- Web.config, authorization of users
- WebMethod attribute
- WebService attribute
- "well-formedness", XML documents
- windows
- Properties, Name property
- Solution Explorer
- Toolbox
- Data tab
- Textbox control
- Web Forms tag
- Visual Studio .NET
- Autos
- Breakpoints
- Call Stack, displaying procedures up to current location
- Class View window
- Command, performing simple calculations
- Disassembly
- Document windows
- Immediate, watching variables using mouse
- Locals
- Me
- Modules
- Object Browser window
- Properties window
- Registers
- Server Explorer window
- Solution Explorer window
- tabbing between windows
- Task List window
- Threads
- Tool windows
- Toolbox window
- Watch, viewing value of variables
- Windows
- applications (.NET Framework)
- Window Forms
- Windows Services
- authentication
- Event Viewer application
- Forms
- Installer technology, Microsoft Windows Installer
- building and testing the MSI
- configuring Web site information
- selecting output content for MSI file
- Integrated Authentication (Web Services security)
- Management Instrumentation, (WMI)
- naming conventions, menus
- Services
- Wireless Markup Language, (WML)
- WMI (Windows Management Instrumentation)
- WML (Wireless Markup Language)
- word wrapping (Visual Studio .NET Editor)
- WriteLine method (File class)
- WriteLineIf method (Visual Studio .NET Debug class)
- WSDL (Web Services Description Language)
X
- XCOPY deployment
- inappropriate scenarios for XCOPY deployment
- testing deployment of sample site
- XDR schema (XML Data Reduced schema)
- XML (Extensible Markup Language)
- attributes
- comments
- Data Reduced schema. See XDR schema
- declaration
- document structure
- elements
- containing other elements
- containing text
- naming rules
- languages
- Schema
- application
- Definition files. See XSD files
- testing
- supported XML standards in System.XML namespace
- tag syntax
- versus HTML
- Web Services
- applications
- ASP.NET
- asynchronous consuming
- calling methods
- consuming
- creating
- .NET Framework requirements
- requirements
- SOAP-based Web Service applications
- synchronous consuming
- testing
- XmlDocument objects (System.XML namespace)
- XmlNode objects (System.XML namespace)
- XPath
- XSD files (XML Schema Definition files)
- XSLT (Extensible Stylesheet LanguageTransformation)
Y
- There are no entries available.
Z
- There are no entries available.