here's an example in vb.net + c#. description + download:

http://code.msdn.microsoft.com/expor...o-CSV-39cd5f72