Sometimes you don’t want to use LINQ or some other domain type structure to hold your rows of data. Here’s a quick way to convert your SqlReader rows to a…
…and now for a little Silverlight/XAML. I tend to use combos and listboxes a lot, so I thought it would be good to include this little code snippet. It’s a…
This is a nice little wrapper class around the Worksheet COM automation interface in Excel. You’ll need the Excel Office extensions installed. I use it to open and modify excel…
Here’s a quick and easy way to create a “stopwatch” object that you can put in a using() {} block as follows. I just needed something quick and dirty to…
Here’s a quick and easy way in C# to round a double value to the nth significant digit: double RoundToSignificantDigits(double d, int digits) { // nothing to do if the…
So Windows Vista and Windows 7 have a nice little undocumented feature you might enjoy. They call it Godmode. The point of Godmode is to give you full access to…
I have an ASUS O!Play HDP-R3 media player. Works great! It has HDMI 1080p output, UPnP and Samba network sharing, 802.11n wireless and 10/100 ethernet and multiple external inputs including…
Introduction The term “Enterprise Architecture” has multiple meanings. From a design/IT perspective, it’s the process of capturing an organization’s enterprise level business processes in the architecture of a system. Secondly,…
So recently I was trying to create nested ConfigurationElementCollection items within my custom ConfigurationSection like this: <Custom> <Apps> <App path=”…”> <Methods> <Method name=”…” /> <Method name=”…” /> <Method name=”…” />…
So as of this moment, I’m starting a new hashtag called #AmIFiredYet which I’m hoping will eventually trend. It’s an experiment I thought would be lots of fun. Let’s see what…