Logging to an excel file

Topics: Logging Application Block
Jul 27, 2011 at 8:48 AM

HI ,

I have a requirment where i need to log the data to the excel file.

I think i need to create the custom TraceListener along with custom formatter.

In the TraceData Method i need to write the logic to add the data to excel file, can u suggest on the same?




Jul 27, 2011 at 10:03 AM
Edited Jul 27, 2011 at 10:33 AM


Yes you need to create a custom listener for that. Regarding with logic, there are alot of sample codes out there on the net that writes to excel file (like this one) which you can modify according to your needs.


Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
Contact Us