ASP 101 - Active Server Pages 101 - Web04
The Place ASP Developers Go!

Please visit our partners

Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates














ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash


 Top ASP 101 Stories Top ASP 101 Stories
An Overview of ASP.NET
Connections, Commands, And Procedures
What is ASP?

QUICK TIP:
Use Visual InterDev
Show All Tips >>
 Active Server News from 15seconds.com Active Server News from 15seconds.com
1) Microsoft Wades Deeper Into Systems Management
2) Vista Sales Better Than Expected
3) Ballmer Pushes The Dynamic in SaaS
4) Microsoft Speeds Toward Office Standard Approval
5) Not Quite Office on Demand For Microsoft
 DevX .NET Content DevX .NET Content
- ASP.NET's New LinqDataSource Control Simplifies Data Access
- Date Column/DataSet Bug Workaround
- C# 3.0 Syntax Additions—Design Guidelines
- Building WCF Services for Deployment in Transiently Connected Networks
- Apply IronRuby to Get Started Building Next-Generation UIs
ASPWire News
2/12Aspose.Words for .NET 5.0.0.0 Released
2/12Tip: Return File Contents as a String
2/12Understanding the ASP.NET MVC Framework
2/12Silverlight 1.0
2/12ASP.NET Rating System
2/12MS-Ajax Client Javascript integrated within the Aptana IDE
2/12DOM Manipulation with JQuery
2/12Handling Data After Post Back
2/12.NET Book Review: Core Internet Application
2/12Silverlight and the Rich Client Browser


New  DefaultButton and DefaultFocus Properties

ASP.NET 1.x made great strides in simplifying form management and processing, but it did miss a couple points when it came to filling forms out using the keyboard. Fortunately these oversights were quickly noticed by users and Microsoft responded in ASP.NET 2.0 by adding the DefaultButton and DefaultFocus properties to the HtmlForm object.

New  Use the Literal Control for Precise Rendering

While ASP.NET server controls make developing Web pages much simpler, sometimes they don't output their HTML exactly the way you'd like them to. That's where the Literal Web server control comes in. Unlike most other controls, it doesn't add anything to the output.

New  Microsoft Releases Service Pack 1 for .NET Framework 2.0 and 3.0

Last week, Microsoft quietly released .NET Framework 2.0 Service Pack 1 and .NET Framework 3.0 Service Pack 1. If your servers aren't configured to install updates automatically, now might be a good time to check and make sure you're up to date.

Alternate Version of PCase Function

While the original version accomplished its task using string functions, this version splits the phrase into an array of words and then loops through the array capitalizing each word. It just goes to show that no matter how simple a problem is, there's almost always more than one solution.

Connecting to Access 2007 .accdb Database Files

Along with all the other updates in Office 2007, Microsoft has also changed the file formats. Access now saves its data in .accdb files instead of the familiar .mdb format. Luckily, with some updated drivers and a few simple connection string changes, you'll be connecting to the new files in no time.

Support for CSS in Visual Studio 2008

It sure took Microsoft long enough to add decent style sheet support to Visual Studio, but man was it worth the wait. This article examines the new CSS capabilities available in Visual Studio 2008.

The Best of 2007

As we get ready to welcome 2008, here's a quick list of some of the best content of 2007:

Use Option Strict

For years I've been telling people that they shouldn't write any VB or VBScript code without first specifying Option Explicit. Well, times change and I no longer use Option Explicit. These days it's Option Strict.

The Down Side of ViewState

There's no doubt about it, the fact that ASP.NET handles ViewState for us is a godsend. That being said, this magic that ASP.NET gives us does come at a cost. That cost is larger web pages... sometimes surprisingly large.

Calendar Sample Updated

One of the site's original samples gets a long overdue update. Along with general code improvements and greatly improved HTML, you'll also notice that the associated form now stays syncronized with the calendar.

Visual Studio 2008 Released to Manufacturing

On Monday, Nov. 19, Microsoft announced that Visual Studio 2008 and the .NET Framework 3.5 were released to manufacturing. With more than 250 new features, Visual Studio 2008 includes significant enhancements in every edition.

Reading From Web.config Using Classic ASP

Whether you're trying to share settings between your ASP.NET and classic ASP apps or are simply looking for a way to make your eventual migration to ASP.NET easier, this piece of code might be just the ticket.

Samples Updated to ASP.NET 2.0

It recently came to our attention that while most of our ASP.NET sample code worked fine in the various different versions of the .NET runtime, a few of the samples weren't overly happy in anything but an ASP.NET 1.x environment. Since most of you have already moved to .NET 2.0 or later, it seemed only right that we do the same. All of our .NET sample code is now running live on version 2.0 of the .NET Framework.

Recursive Directory Listing Script

One of our most frequently asked questions comes from our sample script that lists files and folders on the web server's file system. The question everyone seems to want answered is how do you write a version of the script that will traverse sub-folders. It's really quite simple... take a look at the code and see for yourself.

If you're looking for an ASP.NET version, we've got one of those as well. It's not quite as simple as its classic ASP counterpart, but it gets the job done just as well.

Persisting Form ViewState in Classic ASP

Persisting form values in classic ASP may be a pain, but sometimes it needs to be done. Luckily for you, this week we've got a sample that shows you how.

Loading an Email Body from a File in .NET

This week we're back with an ASP.NET 2.0 version of the script we published in answer to the question: "When I'm sending an HTML formatted email, is there a way to load my HTML from a file so I don't have to deal with things like double quotes and vbCrLf characters?"

Loading the Body of an HTML Formatted Email From a File

One of our visitors recently asked "When I'm sending an HTML formatted email, is there a way to load my HTML from a file so I don't have to deal with things like double quotes and vbCrLf characters?"

Setting an Outlook Flag on an Email Message

If you're anything like me, at times you probably get a little overwhelmed by the amount of email you need to process. To help you manage your mail, Microsoft Outlook offers you the ability to flag messages with different status codes... the most common one being "Follow up". But why should we have to set this flag ourselves?

Split Up Long Tables when Buffering

One of our readers wrote in and wanted to share a comment about how browsers render long tables and the effect it has when you use buffering.

Selecting Dates via a Pop-Up Calendar

This visitor submission displays a calendar in a pop up window so a user can choose a date. Once that date is picked, the calendar returns that value to the parent form.

Handling HTTP Request Timeouts in ASP.NET

So you're using ASP.NET... no problem. Here's an ASP.NET version that illustrates how to set timeouts and handle the error that is thrown when the remote server doesn't respond quickly enough.

Handling HTTP Request Timeout Errors

This script is a version of our HTTP sample which is designed to have the request time out in order to illustrate how to handle HTTP timeout errors. It was written to demonstrate how to use the WinHttpRequest object's SetTimeout method and handle the error it throws when a timeout expires.

Text File Search ASP.NET Sample Code

This sample uses ASP.NET to seach a text file for a user specified query phrase. It displays the complete file being searched with the search phrase highlighted and lists the line numbers on which the search phrase was found at the bottom.

Text File Search Classic ASP Sample Code

This sample shows you how to search a text file for a phrase. As currently implemented, it displays the complete file being searched with the search phrase highlighted and lists the line numbers on which the search phrase was found at the bottom.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Hoovers Sales Tip: Building Credibility with New Clients
SAP Whitepaper: A Corporate Guide to Better Decisions Through IT
Microsoft Article: Flexibility, Agility the Keys to Dynamic IT
Microsoft Article: Improving Infrastructure Management for Mid-Size Companies
Intel Whitepaper: Comparing Multi-Core Processors for Server Virtualization
IBM Whitepaper: CIO Insights--Ignite Innovation by Fusing Business and IT
IBM Whitepaper: Transforming Legacy Apps into SOA
APC eBook: Storage Virtualization Defined
Internet.com eBook: All About Botnets
Intel Article: Performance Scaling in the Multi-Core Era
Symantec Whitepaper: E-Mail Discovery--Worst-Case Scenarios Versus Best Practices
Ipswitch Whitepaper: Secure File Transfer In the Era of Regulatory Compliance
Microsoft Article: Introduction to Office Business Applications (OBA)
Symantec Whitepaper: A Unified, Proactive Approach to Endpoint Security
APC eBook: Putting the Green in IT
Intel Whitepaper: Best Practices for Developing and Optimizing Threaded Applications
Symantec Whitepaper: Emerging Trends in Fighting Spam
Oracle eBook: Guide to Oracle 11g and Database Migration
Analyst Report: Assessing Your IT Organization
Symantec Whitepaper: Best Practices for IM Archiving & Compliance
Intel Article: How Can Theory of Constraints Help in Software Optimization?
Avaya Whitepaper: SIP--Creating Next-Generation Telecom Applications
Avaya Article: Event Processing Demands Real-Time Response for Communications-Enabled Business Apps
MessageLabs Whitepaper: Spam Spikes--A Real Risk to Your Business
Symantec Article: Guarding the Corporate Gateway
Intel Whitepaper: Scalable Parallelism with Intel Threading Building Blocks
Webcasts
Intel Video: Three Must-Knows for Parallelism
Microsoft: NXT Web Seminar Series
Mazu: Using NBA and ITIL's Service Asset and Configuration Management to Improve Management Information
Microsoft Partner Program Video: The Secrets to Partner Success
Rational Asset Manager: Succeed with Asset-based Development
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
Downloads and eKits
NXPowerLite: Desktop Edition Software Trial
IBM Rational Systems Development Solution e-Kit
IBM SOA Development Survival Guide eKit
Evaluate IBM Rational Build Forge Online
IBM Enterprise Architect eKit for SOA
Evaluate Rational Application Developer Online
Iron Speed Designer Application Generator
Symantec IM Detection Utility
Tutorials and Demos
IBM Overview Video: Next Generation Data Warehousing
IBM Tutorial: Intro to XML User Interface Language (XUL) Development
Microsoft How-to Article: Get Going with Silverlight and Windows Live
IBM Tutorial: The Ajax Transport Method
IBM Tutorial: Learning PHP
IBM Tutorial: Validating XML