Practical .NET

Getting Data Out of the GridView (and the Other Views, Too)

Peter answers a reader's question by showing how to access data inside the individual controls of the various DataViews.

Web Parts Without Users

Want to give your users personalized pages without giving up control? It's easy with Web Parts. Peter shows you how.

Managing Web.Config Settings During Deployment

Moving from a test to a production environment can be tricky. Here's where the Web Deployment Projects add-on comes in handy.

Handling Update Exceptions in the DataView Events

Peter shows a "code-lite" way to handle exceptions when using DataView to update data.

Deferring Data Retrieval in Master/Detail Pages

This is one big problem that's simple to fix. Peter shows you two solutions.

Never Lock Records in Web Applications! Never! That Means You!

Seriously, don't. Here are two reasons why record locking is simply a bad idea.

Handling Data Contention with Optimistic Concurrency

Optimistic concurrency doesn't work for most tables, but Peter shows you how to change that.

JavaScript and AJAX in ASP.NET: Not Quite Ready for Prime Time

Client-side debugging is better, but IntelliSense still has a few issues to be worked out.

Visual Studio 2008 and ASP.NET 3.5

Peter shares what he likes -- and doesn't -- in Visual Studio 2008 and ASP.NET 3.5

Upgrading Sites to ASP.NET 2.0/3.5

It's good news, bad news if you're upgrading an existing site to ASP.NET 2.0 or 3.5. But it can be done.

Using FindControl and PreviousPage with Master Pages

In theory, PreviousPage lets you access data on the page the user just requested. In practice it doesn't work if you're also using Master Pages unless you understand ASP.NET naming containers.

Databind Page Properties into HTML Tags

Adding some bizarre punctuation marks to the tags in your ASPX file gives you an easy way to move data out of custom properties and into your page.

Build RESTful ASP.NET Apps

Create a virtual page handler that lets you deliver data directly from your database to your Web users. The handler also lets you move your app into the world of REST Web Services.

Create Dedicated Service Handlers

Creating your own HTTP handler in ASP.NET 1.1 or 2.0 gives you a flexible and fast way to move data to clients, browsers, and other Web pages.

Roll Your Own Control Designers

It's not enough to build a great custom control to help your end users -- you must also help other developers use your control.

Upcoming Events