Tuesday, October 30, 2012

Localized Month From an Int (1-12)

Demo of getting localized month string from a number (note I'm passing the number in as a string and then TryParsing it this case (modify to suit).

Essential C# 4.0 By Michaelis, Mark (Google Affiliate Ad)

Tuesday, October 23, 2012

Using Bit Flags in SQL

Using bit flags is a great way to store a lot of information in a single place that can be used in a variety of ways, of which the most common I've seen is to use big flagging for permission checks. I could write the following post myself, but I don't think I could add much to the following excellently done reply to a question on StackOverflow about using bit flags in SQL, so here you go-


Also if you are a little rusty on using bit flags in .Net, here is a refresher article link-