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

A Book Review of Manning’s Windows PowerShell In Action by Bruce Payette
Monday 7 April 2008 @ 11:24 am

A book review of Windows PowerShell in action by Bruce Payette



In C#, When to use String verses string
Saturday 29 December 2007 @ 11:12 am

Just a short ramble on when to use string verses use String in C#. Basically they compile to the same IL code



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.

Logging From an ASP.NET 2.0 Application to a Local File
Sunday 12 August 2007 @ 5:54 pm

In this article, a very simple method is demonstrated for logging text data in an asp.net 2.0 application. It’s safe, reliable, but not very elegant. Just what you need when you want to crank something out for testing or proof of concept. It uses StreamWriter and MapPath to get it’s job done.

Always Set Stop On Exception While Doing Debugging in Visual Studio 2005 or 2008
Friday 10 August 2007 @ 9:05 am

This article discusses a best practices method for automatically having the debugger stop on unhandled exceptions in visual studio 2005 or 2008



TechEd Orlando, Visual Studio Tracing Tricks
Monday 4 June 2007 @ 9:48 am
Day 1 at Teched in Orlando has been great so far. My helper, Steve Carroll, and a cool Visual Studio tip for doing tracking while debugging is explained.
Peter Kellner and Steve Carroll of Microsoft
Comments (0) - Posted in .Net 2.0  


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.

Have GridView Highlight Last Inserted Record in ASP.NET 2.0
Thursday 7 December 2006 @ 4:41 pm
A question that frequently comes up in the asp.net forums is how to have a gridview show the the last record added highlighted. This articles gives a technique for doing this. It only works with SqlServer but could could be modified for other databases.

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

How To Show All Items Using a DropDownList and a GridView Control in ASP.NET 2.0 with VS2005
Saturday 14 October 2006 @ 11:35 am
This article will show how to implement a showall item in a DropDownList using GridView with ASP.NET 2.0. It does it by dynamically changing the SelectParameters associated with a SqlDataSource.

Integrating PBWiki with .Net Using the New PBWiki API, The Start of a .Net API
Monday 18 September 2006 @ 12:04 pm
In this article we will demonstrate a technique used to automatically add Wiki Pages to PBWiki using the not quite released API provided by the peanut butter guys. The demonstration will involve integrating scheduled presentations at our Silicon Valley Code Camp on October 7th and 8th each with its own Wiki Page. Without the API, creating and linking the presentation to a Wiki page would have to be an ugly manual process involving the dreaded cut and pasting of URL’s.

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.

Next Page