Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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

1 solution

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

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900