Postcode Grouping Regular Expression for Royal Mail Line Listing Reports

There are many regex postcode validators out there, some good, some not so great, but few cover splitting the postcode into it’s 4 elements in order to use and process this data. In my case I have created this regular expression to develop an in-house sorting office for Royal Mail’s line listing reports. The following [...]

.Net Calendar Control to Select Today’s Date on Page_Load

The .Net calendar control has the .SelectedDate parameter which you can read or write from, however it may initially stump you that when setting .SelectedDate to DateTime.Now on Page_Load, the control does not render todays date as the selected value; instead it appears that no date is selected. The calendar control when in day view, [...]