Blog of me, Chris Idzerda, containing my thoughts, comments, and questions. RSS Feed

GridView-DetailsView Parent-Child
01 Aug 2008, 05:50:00 PM
I've seen several master-detail examples using a GridView that controls a DetailsView but no parent-child examples that reverse their roles (i.e., an example using a DetailsView that contains and controls a GridView). I alluded to such a scenario ...
Read post

C++ Library v. .NET Framework
11 Jun 2008, 10:31:00 PM
I am still a die-hard C++ programmer. I don't call myself an expert (journeyman, perhaps); it's a huge and complex language. Put another way, it gives you enough rope to shoot yourself in the foot. Nowadays, I program primarily in C#. For the long ...
Read post

Detect Visual Studio Debugging
04 Jun 2008, 08:29:00 PM
If you have code that you want to run only while debugging in Visual Studio, you can detect it if you are running in its hosting process, which is enabled by default. #if DEBUG    if(AppDomain.CurrentDomain.FriendlyName.EndsWith("vshost.ex ...
Read post

The nil attribute in XML-serialized nullable values
28 May 2008, 07:57:00 PM
If in a class you have a value type property that is optional, it's common to specify it as nullable. However, if you serialize a nullable value type property to XML, you'll get something like this if it's null. <Value xsi:nil="true&quo ...
Read post