Category: Visual Web Developer

May 3, 2008

ASP.NET: Using Hierarchical Data with ObjectDataSource

Filed under: Programming, .NET, Visual Web Developer - 03 May 2008

When Microsoft introduced the SqlDataSource, they made it very easy to add database connectivity to your ASP.NET pages with a minimum of programming. The SqlDataSource (and the related AccessDataSource) allow you to define database connections declaratively - that is, …

April 3, 2008

ASP.NET: Handling Custom Update Commands with ItemCommand

Filed under: Programming, .NET, Visual Web Developer - 03 Apr 2008

When programming an ASP.NET application, it’s very simple to use the built-in Button and LinkButton controls to perform actions like adding a record to a database or saving changes. When you create one of these buttons, the HTML looks …

July 10, 2006

ASP.NET: Adding a Null Row to a Data Bound Drop-Down List

Filed under: Programming, .NET, Visual Web Developer - 10 Jul 2006

Today’s .NET tip is a quickie (previous entries here and here): When you are using a database to fill the rows of a data bound drop-down list control, you will inevitably run into an error when the bound …

July 3, 2006

Changing the value of a data-bound control using ASP.NET’s LinkButton Control - UPDATEDx2

Filed under: Programming, .NET, Visual Web Developer - 03 Jul 2006

(UPDATE #2: When I wrote this post a couple of years ago, I thought this was a pretty brain-dead way to handle things. Turns out that I really know what I’m talking about when the subject is my own …

June 20, 2006

INSERTing records into Access using ASP.NET’s FormView control

Filed under: Programming, .NET, Visual Web Developer - 20 Jun 2006

Off and on for the past couple of weeks I’ve been using Microsoft’s free Visual Web Developer 2005 Express to redesign a little Access database-driven website at work. I had hoped to make it simpler and easier to …