| |
| |
Acknowledgments | |
| |
| |
Introduction | |
| |
| |
| |
ASP.NET Basics | |
| |
| |
| |
ASP.NET Language Structure | |
| |
| |
Page Structure | |
| |
| |
Defining Your Own Procedures | |
| |
| |
Page | |
| |
| |
Page_Load Event | |
| |
| |
Page_UnLoad Event | |
| |
| |
IsPostBack Property | |
| |
| |
IsValid Property | |
| |
| |
Compiler Directives | |
| |
| |
@Page Directive | |
| |
| |
@Import Directive | |
| |
| |
@OutputCache Directive | |
| |
| |
Quiz Sample Page | |
| |
| |
| |
HTML Server Controls | |
| |
| |
HTMLAnchor Control | |
| |
| |
HTMLTable, HTMLTableRow, and HTMLTableCell Controls | |
| |
| |
HTMLForm and Form Input Controls | |
| |
| |
HTMLForm Control | |
| |
| |
Input Controls | |
| |
| |
Submitting the Form | |
| |
| |
Form Sample Page | |
| |
| |
HTMLInputFile Control | |
| |
| |
| |
Basic Web Server Controls | |
| |
| |
Label Control | |
| |
| |
TextBox Control | |
| |
| |
Button Control | |
| |
| |
LinkButton Control | |
| |
| |
ImageButton Control | |
| |
| |
CheckBox Control | |
| |
| |
RadioButton Control | |
| |
| |
HyperLink Control | |
| |
| |
Image Control | |
| |
| |
| |
Data List Web Server Controls | |
| |
| |
CheckBoxList Control | |
| |
| |
RadioButtonList Control | |
| |
| |
DropDownList Control | |
| |
| |
ListBox Control | |
| |
| |
DataGrid Control | |
| |
| |
Repeater Control | |
| |
| |
| |
Other Web Server Controls | |
| |
| |
Calendar Control | |
| |
| |
AdRotator Control | |
| |
| |
Validation Controls | |
| |
| |
RequiredFieldValidator Control | |
| |
| |
CompareValidator Control | |
| |
| |
RangeValidator Control | |
| |
| |
CustomValidator Control | |
| |
| |
ValidationSummary Control | |
| |
| |
| |
Extra Controls and Classes | |
| |
| |
| |
IE Web Controls | |
| |
| |
TreeView Control | |
| |
| |
ToolBar Control | |
| |
| |
TabStrip and MultiPage Controls | |
| |
| |
| |
User Controls | |
| |
| |
ZipCodeLookUp Control | |
| |
| |
LogIn Control | |
| |
| |
BulletList Control | |
| |
| |
FixedPageText Control | |
| |
| |
| |
Request and Response Objects | |
| |
| |
Request Object | |
| |
| |
QueryString Collection | |
| |
| |
Form Collection | |
| |
| |
Browser Object | |
| |
| |
ServerVariables Collection | |
| |
| |
AcceptTypes Collection | |
| |
| |
Headers Object | |
| |
| |
Visitor and Referrer Information | |
| |
| |
SaveAs Method | |
| |
| |
Response Object | |
| |
| |
Cookies | |
| |
| |
| |
Additional Classes | |
| |
| |
Encoding and Decoding | |
| |
| |
Page Caching | |
| |
| |
Random Numbers | |
| |
| |
| |
Working with Data | |
| |
| |
| |
System.Data and System.Data.OLEDB Namespaces | |
| |
| |
OLEDBConnection Class | |
| |
| |
OLEDBCommand Class | |
| |
| |
OLEDBTransaction Class | |
| |
| |
OLEDBDataAdapter Class | |
| |
| |
DataSet Class | |
| |
| |
Simple Sample Application | |
| |
| |
Browse ASP.NET Page | |
| |
| |
View ASP.NET Page | |
| |
| |
Add ASP.NET Page | |
| |
| |
Edit ASP.NET Page | |
| |
| |
| |
System.Data.SQLClient Namespace | |
| |
| |
Connecting to a SQL Server Database | |
| |
| |
Manipulating Data in a SQL Server Database | |
| |
| |
Retrieving Data from a SQL Server Database | |
| |
| |
Chat Sample Site | |
| |
| |
Chat Page | |
| |
| |
Add To Thread Page | |
| |
| |
Add Page | |
| |
| |
| |
Advanced Issues | |
| |
| |
| |
E-Mail | |
| |
| |
Sending a Simple E-Mail Message | |
| |
| |
SmtpMail and MailMessage Classes | |
| |
| |
Attaching a File | |
| |
| |
Sending an HTML E-Mail Message | |
| |
| |
File Request Sample Site Page | |
| |
| |
Product Info Sample Site Page | |
| |
| |
| |
Application Issues | |
| |
| |
Creating an ASP.NET Application | |
| |
| |
Maintaining Session State | |
| |
| |
Maintaining Application State | |
| |
| |
Application and Session Objects Sample Application | |
| |
| |
Global.asax File | |
| |
| |
Global.asax Sample Page | |
| |
| |
Web.Config File | |
| |
| |
| |
Working with IIS and Page Directives | |
| |
| |
WWW Service Properties | |
| |
| |
Web Site Properties | |
| |
| |
Performance Properties | |
| |
| |
ISAPI Filters Property | |
| |
| |
Home Directory Properties | |
| |
| |
Documents | |
| |
| |
Custom Errors | |
| |
| |
Web Sites Within IIS | |
| |
| |
Adding a Web Site | |
| |
| |
Web Site Properties | |
| |
| |
Multiple Sites on the same IP Address | |
| |
| |
Web Site Properties Sheet | |
| |
| |
Home Directory Properties | |
| |
| |
Virtual Directories | |
| |
| |
Folder and File Properties | |
| |
| |
ASP.NET Applications | |
| |
| |
Configuring an ASP.NET Application | |
| |
| |
| |
Error Handling | |
| |
| |
No Error Handling | |
| |
| |
Resume Next | |
| |
| |
On Error Goto Handler | |
| |
| |
Resume from Handler | |
| |
| |
Try/Catch Code Block | |
| |
| |
Err Object | |
| |
| |
Using the CustomErrors Section of Web.Config | |
| |
| |
| |
Code Behind and Code Libraries | |
| |
| |
Code Behind Files | |
| |
| |
More Info Request Sample Page | |
| |
| |
Support Sample Tool | |
| |
| |
Include Files | |
| |
| |
| |
Creating Web Services | |
| |
| |
Simple Web Service | |
| |
| |
Web Service Code | |
| |
| |
Testing Your Web Service | |
| |
| |
Referencing a Web Service | |
| |
| |
Client Test Page | |
| |
| |
Zip Code Web Service | |
| |
| |
Zip Code Web Service | |
| |
| |
Consuming ASP.NET Application | |
| |
| |
| |
Security | |
| |
| |
Authentication Control | |
| |
| |
IP Address Restrictions | |
| |
| |
Secure Communications Through SSL | |
| |
| |
Client Certificates | |
| |
| |
| |
Developing with Visual Studio.NET | |
| |
| |
Creating an ASP.NET Application in Visual Studio.NET | |
| |
| |
Development Windows | |
| |
| |
Working with ASP.NET Pages in Visual Studio.NET | |
| |
| |
Debugging in Visual Studio.NET | |
| |
| |
| |
ASP.NET Mobile Web SDK | |
| |
| |
Developing Mobile ASP.NET | |
| |
| |
Getting the ASP.NET Mobile Web SDK | |
| |
| |
Mobile ASP.NET Page Structure | |
| |
| |
Mobile Web Controls | |
| |
| |
Label and TextView Controls | |
| |
| |
Link Control | |
| |
| |
Call Control | |
| |
| |
Image Control | |
| |
| |
TextBox Control | |
| |
| |
Command Control | |
| |
| |
SelectionList Control | |
| |
| |
Messenger Application | |
| |
| |
Application Walk-Through | |
| |
| |
Mobile ASP.NET Code | |
| |
| |
| |
ASP.NET in Action | |
| |
| |
| |
Sample Application: Product Catalog | |
| |
| |
Walk-Through | |
| |
| |
Access Back-End Database | |
| |
| |
ASP.NET Code | |
| |
| |
Home Page | |
| |
| |
Products Page | |
| |
| |
Product Page | |
| |
| |
Employee Directory Page | |
| |
| |
| |
Sample Application: Shopping Cart | |
| |
| |
Walk-Through | |
| |
| |
Access Back-End Database | |
| |
| |
ASP.NET Code | |
| |
| |
Home Page | |
| |
| |
Product Page | |
| |
| |
Shopping Cart Page | |
| |
| |
Check Out Page | |
| |
| |
Order Status Page | |
| |
| |
| |
Sample Application: Working with Customers | |
| |
| |
Walk-Through | |
| |
| |
Access Back-End Database | |
| |
| |
ASP.NET Code | |
| |
| |
FAQ Page | |
| |
| |
Product Page | |
| |
| |
New Product Notification Page | |
| |
| |
Utility Page | |
| |
| |
Customer Feedback Page | |
| |
| |
| |
ASP.NET VB Language Quick Reference | |
| |
| |
Abs | |
| |
| |
Asc | |
| |
| |
Conversion Methods (CBool, CByte, CCur, CDate, CDbl, CInt, CLng, CSng, CStr) | |
| |
| |
Chr | |
| |
| |
DateAdd | |
| |
| |
DateDiff | |
| |
| |
DatePart | |
| |
| |
DateSerial | |
| |
| |
Day | |
| |
| |
Do...Loop | |
| |
| |
Fix | |
| |
| |
For...Each | |
| |
| |
For...Next | |
| |
| |
FormatCurrency | |
| |
| |
FormatDateTime | |
| |
| |
FormatNumber | |
| |
| |
FormatPercent | |
| |
| |
Hex | |
| |
| |
Hour | |
| |
| |
If | |
| |
| |
InStr | |
| |
| |
InStrRev | |
| |
| |
Int | |
| |
| |
IsDate | |
| |
| |
IsNumeric | |
| |
| |
LCase | |
| |
| |
Left | |
| |
| |
Len | |
| |
| |
LTrim | |
| |
| |
Mid | |
| |
| |
Minute | |
| |
| |
Month | |
| |
| |
MonthName | |
| |
| |
Now | |
| |
| |
Oct | |
| |
| |
Replace | |
| |
| |
Right | |
| |
| |
RTrim | |
| |
| |
Second | |
| |
| |
Select...Case | |
| |
| |
Space | |
| |
| |
Sqrt | |
| |
| |
StrComp | |
| |
| |
TimeOfDay | |
| |
| |
TimeSerial | |
| |
| |
Today | |
| |
| |
Trim | |
| |
| |
Ucase | |
| |
| |
Weekday | |
| |
| |
WeekdayName | |
| |
| |
Year | |
| |
| |
Index | |