Dec 092009
 

I’ve finally gotten around to finishing this second post. The first part of the Post can be viewed here.

In my first fun with enumerations post I went over how to use an enumeration as a data source. That is all good and dandy when you are working with enumerations and want to put them into the data base. But what happens when you need to pull that value out of the database and convert it back into an enumeration. This is a problem that I have been faced with in the past. Continue reading »

Oct 292009
 

This is the beginning of a guide to enumerations that i’m working on for Code-Project.

When dealing with data driven application design look up tables are something that have been used heavily to help express a value for something that can be cross referenced.  For instance if you want to store the alignment of text that you are storing in a database you wouldn’t want to store the full string representation of the alignment.   You also wouldn’t want to create a look up table as your alignment options are unlikely to change and it would only cause to create an extra unneeded table in your database structure. This is where enumerations come in. Continue reading »

Oct 152009
 

Recently I had the need to loop through a collection of repeaters on a page within a website I was working on. Here was the situation, we had two repeaters on an ASP page that displayed items that were owned by you in one and ones that had been shared with you in another. Before rendering the repeaters to the page we needed to determine which repeater item in either of the repeaters was currently selected so that we could set the style of the repeater item to highlight it. Continue reading »

Sep 092009
 

Obligatory first post to my new blog and it really won’t be much of one unfortunately.

A little bit about me, my name is Michael Merrell and I am a software developer for a small development shop in Overland Park, KS working primarily with C#.NET in Visual Studio 2008. I enjoy the challenges that programming presents me on a daily basis and being able to create things that others can use.

Expect there to be more posts soon. I plan to keep this blog focused towards my professional self. For those of you who want to know about me on a personal level well to bad.