Generic Date Parser in Java

I wrote this function because I was working on an application that stored a lot of dates as text, and they were a mixture of American (MM/dd/yyyy) and New Zealand formats (dd/MM/yyy). Sometimes I knew what the format was, and other times I didn’t, so the method needed […]

Basic CSS precedence of Selectors

The Basics CSS is applied to HTML elements by way of selectors, and sets the elements’ properties to the values in the CSS class. Style Inheritance If an element has no style set, it inherits its style from its parent, i.e. if the body element has a font […]

Ceating a Log4Net Screen Appender

This article is about how to output the logging from Log4Net to a textbox. It assumes a basic knowledge of Log4Net. Create a Custom Appender Create this class in your project, it will automatically get picked up by the Configurator. This class implements the log4Net base appender and […]

Output Data to CSV

This is a class I have been using for many years to create csv files. I like it because it is a simple class that handles both generic lists and DataTables, everything I have needed so far. This class could be extended in many ways, but after all […]