Using Using in c# ado.net business classes used with ObjectDataSource in ASP.NET 2.0
Monday 29 October 2007 @ 6:28 pm
A short post and example on how to use the C# syntax Using. The example is for an ado.net business object that can be used with an ObjectDataSource. This saves you the trouble of disposing of your objects properly, as well as doing it at the right place.

more...



How to Set the Default Value of a DropDownList in an ASP.NET Page
Wednesday 17 October 2007 @ 10:44 am

This article shows how to set the default Value of a DropDownList Control when using asp.net 2.0. It uses the DataBound event to do it. A full page example which can be cut and paste is included

more...



Silicon Valley Code Camp Integrates the DevExpress Cloud Control for Sessions
Tuesday 4 September 2007 @ 12:11 pm
Using the DevExpress CloudControl in the ASP.NET 2.0 Silicon Valley Code Camp’s web site was easy. In this short post, you’ll hear about the details and see some code.

more...



Microsoft ASP.NET Member/Role Management with IIS (VB Version)
Thursday 15 February 2007 @ 1:08 pm

Back in January of 2006, I published on MSDN an article and source code for managing ASP.NET 2.0 Membership users with an ObjectDataSource.  Since I'm not much of a VB person, I only published them in c#.  since then, I've had hundreds of requests for this code in VB.  Until now, I've had to send an excuse for not having it.  Now, thanks to Dave at Tangible Solutions Software, we now have a VB version.

more...



Rock And Roll Code Camp Presentation
Thursday 1 February 2007 @ 7:13 pm
Code Camp Presentation at LA’s Rock and Roll Code Camp. Lots of nuts and bolts about using ObjectDataSoruce including a real life example using the enterprise data block.

more...



Improved Fast Access to Small Lists On ASPX Pages
Friday 27 October 2006 @ 12:34 pm
The article below has a minor improvement to the previous article listed on this web site. Specifically, the previous article used the DropDownList as a mechanism to actually retrieve the data for the purposes of storing it in a local Dictionary. This article simply calls the ObjectDataSource directly to retrieve an IEnumerable type and iterates over that. Below is article with the updates. (Original Article is: http://peterkellner.net/2006/08/30/smalllistaccess/)

more...



Get SqlDataSource To Retrieve DefaultValue of Current User (ExpressionBuilder with ASP.NET 2.0)
Monday 18 September 2006 @ 9:50 am

This article shows how to use Expression Builders in ASP.NET 2.0 to retrieve the current logged in user. DataBinding will not work so Expression Builders is the ticket. A small source file is created, the refernces to web.config are shown and a simple example is built.

more...



Rendering Images With IIS Verses an ASP.NET 2.0 Handler
Monday 4 September 2006 @ 10:38 pm
This article will compare the difference between rendering images using an HttpHandler and IIS. It will show the different request processing times for a small, medium and large bmp file. It also discusses using the DefaultHttpHandler.

more...



Fourth MSDN Article Published! “Adding Personalization with Profiles to the ObjectDataSource”
Monday 4 September 2006 @ 11:55 am
This article explains how the encapsulation of Membership can be extended to include Profile (personalization) information for users. The designers of Membership included a very basic set of attributes to associate with Members (logged in users).

more...



Third Article Published on MSDN! ASP.NET 2.0, Membership Meets Atlas
Wednesday 2 August 2006 @ 3:30 pm
Microsoft published my third article in a series on how to use Membership in ASP.NET 2.0 with an ObjectDataSource. That is, extending Membership into three tiers. This article takes what was developed in article two and adds Atlas extensions to make it work even better. The Article on MSDN uses the March CTP (Community Technology Preview). There is an update on my blog as well as a download to make it work correctly with the June CTP.

more...



Next Page