Archive for April, 2008

WPF DataBinding and DBNulls

Thursday, April 17th, 2008

After spending a few hours with ADO.NET, typed dataset, and some WPF bindings I was feeling like I'd been 5 rounds with Mike Tyson. Well, it wasn't that bad, but it just felt that bad. The trouble is the behaviour of ADO's typed datasets when dealing with ...

C# Extension Methods

Wednesday, April 16th, 2008

Just a quick post.. thought I'd share a neat way of handling some legacy date nastyness from an oracle DB that I'm having to interface with. DateTime's on this monstrosity of the 90's are stored as the typical Unix Epoch format, as in seconds since 1/1/1970. The usual method ...