Use FxCop to write better code. I’ve been using it for a little while now and it definitely has helped me out. This article tells you how and why!
Category: programming
How to enable IntelliSense in .skin files in Visual Studio 2005
A co-worker of mine shared this with me recently. It was one of the biggest annoyances in Visual Studio 2005 if you ask me! How to enable IntelliSense in .skin files IntelliSence everywhere! That’s one of the biggest features in new Visual Studio .NET 2005 (VS 2005). But guess what, it doesn’t work out of the box in .skin file …
FormView and ObjectDataSource with nullable types
I recently ran into this problem when using a FormView and and ObjectDataSource where the FormView was binding to nullable data types… Here is a challenging question, as I have not found any suitable information on this after two days of searching: Background: I have a custom Business Class library that includes custom objects with nullable int and DateTime properties.…
FormView not retaining values when server-side validation fails
I recently spent quite a bit of time trying to figure out why my FormView wasn’t retaining values after some of my custom server-side validation failed in my business logic layer. I kept seeing that you just had to set KeepInEditMode = true (or KeepInInsertMode if you’re doing an insert) and that would take care of it. Well, after a…