Click here to Skip to main content
12,067,652 members (50,465 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
Hi,

I have a Dictionary, which has column name as key and column value as value.
I need to export the data of this dictionary into excel file in C#.
I am not sure how to do that.
I have seen export to excel from a data table or a reader, but not able to understand how to export to excel from a dictionary in C#.

Can someone please help me with a code snippet?

Thanks in advance.
Posted 8-Nov-12 2:28am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Please check Writing a Dictionary to Excel in C#[^].
You will get your answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web04 | 2.8.160208.1 | Last Updated 8 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100