Blog entries tagged with .Net

Generating Excel reports

by: Johan Olofsson

I guess that we all have had to create some Excel files for doing reports from a web page at one time or another, and one quite common approach is to simply render the data as comma/tab-separated text and then specify some appropriate Response... [ Read full article ]

11 February 2009  2 Comments

WinDBG+SOS: Getting at the values in a DataTable - followup

by: Johan Olofsson

In my previous post I showed how I retrieved the values in a DataTable using a bunch of WinDBG commands. As this is quite tedious, I hacked up a little WinDBG-script which automates this a little bit: 1: . foreach ( value { ! do poi(poi(poi(poi(po... [ Read full article ]

19 March 2008  0 Comments

WinDBG+SOS: Getting at the values in a DataTable

by: Johan Olofsson

I have been doing some memorydump debugging using WinDBG and SOS lately, and at one time I needed to dump all values for a column in a DataTable. I started by executing !do on the address of the DataTable (in my case 0x0a8cdaa8), and this gave me... [ Read full article ]

19 March 2008  1 Comments

Enum.Parse() is quite useful

by: Johan Olofsson

I sometimes write code that needs to parse user given arguments, for example through settings in configuration files, parameters given on the command line et.c. The usual way I've dealt with them is to simply perform a bunch of string compares in ... [ Read full article ]

18 December 2007  2 Comments

EPiTrace logger