ExtJS Meetup Tonight in San Francisco, Sample URLs of Running Code Here
Thursday 14 May 2009 @ 7:47 am
  At tonight’s meet up, we will be having several short presentations on the new features in http://msdn.microsoft.com/en-us/library/aa478947.aspx My plan is to do a progression where I start with a trivial GridPanel, then work myself in 5 steps to a full working membership editor that looks like this:   [...]

How to Retrieve a GridView Based on a CheckBoxList of Items with Asp.Net using ObjectDataSource with a little LINQ Thrown In
Sunday 7 December 2008 @ 1:08 am
So, the problem is you have a list that you want to retrieve from that contains multiple values.  Say for example, you have a list of 5 cities and you want to retrieve a list of people in some combination of those cities.  If you use the class SelectValue method with ControlParameter in

Assigning a Custom Label Value in a ASP.NET GridView Using ObjectDataSource
Wednesday 6 August 2008 @ 7:10 am
In my previous post, Assigning a DropDownList Value in a ASP.NET GridView Using ObjectDataSource, I discussed how to put a forum post.   So, I have to say one of my main motivations for doing posts is I enjoy helping others through problems.  It gives me a certain satisfaction to know that I [...]

Assigning a DropDownList Value in a ASP.NET GridView Using ObjectDataSource
Tuesday 5 August 2008 @ 4:57 pm
As a moderator in the DropDownList into a template.  From there replace the

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.

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



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.

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.



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.

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/)

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.



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.

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).

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.

Inserting Programmatically with ObjectDataSource in ASP.NET 2.0
Wednesday 7 June 2006 @ 1:21 pm
Inserting Programmatically with ObjectDataSource ASP.NET 2.0 ( ObjectDataSource1.Insert(); )   ObjectDataSource’s are great for building your own middle tier between your aspx web page and your database (or any other datastore for that matter). By binding the datasource to a databound server control like detailsview, you auto-magically get the insert behavior you are looking for. If however, you [...]

Adding Personalization via Profiles to the ObjectDataSource in ASP.NET 2.0
Monday 13 March 2006 @ 5:33 pm

This article explains the mechanics involved in extending the ObjectDataSource (developed in the previous article in this MSDN Membership Security Series) to handle personalization information using the ASP.NET 2.0 custom provider facility. Then, it goes on to explains some fancy tricks you can do with this ObjectDataSource to make accessing membership even easier. Finally it presents a free tool available on the web that lets you cut and paste part of your web.config file into a web page and out comes a ready-to-compile C-Sharp ObjectDataSource.



Membership Management Newly Styled GridView
Friday 27 January 2006 @ 10:46 am
Mikhail Lukyanau has been kind enough to provide a redesigned version of the membership.aspx page

Using Membeship ObjectDataSource For Returning ProviderUserKey (ForeignKey Use)
Tuesday 10 January 2006 @ 9:54 am

This article gives an example of how to modify the Object DataSource in the previous article (Microsoft ASP.NET 2.0 Member/Role Management with IIS
Part 1: Security and Configuration Overview
) to return a ProviderUserKey which can then be used as a foreign key into the developer’s own data tables.