Click here to Skip to main content
15,886,788 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have data in a table form. The data in table form has been called through json. I have created a button and i want to export those data to excel file with that button click. I am working on MFC.

What I have tried:

nothing
Posted
Updated 13-Jun-16 21:59pm
v2
Comments
Mehdi Gholam 14-Jun-16 3:39am    
Start by searching for an answer.
Member 12558630 14-Jun-16 3:43am    
I tried for the answers but iam not able to code it properly
Member 12558630 14-Jun-16 4:11am    
M sorry but this is not helping me! Could you please help me with the code??
void CDevicelist::OnBnClickedButton1()
{




}
what should i be writing here?Please

1 solution

If you have a JSON object in a string then you have to deserialize it and then export the relevant data to Excel possibly using automation.
Google is you friend:
C++ json library comparison[^].
C++ excel automation[^].
 
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