Click here to Skip to main content
15,936,349 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi How can I convert a .xlsx file to xml in Silverlight 5 ?
Posted
Comments
ZurdoDev 12-Feb-14 7:04am    
Need more info. Sounds way to complicated and likely unnecessary.
Angela 10293848 12-Feb-14 7:10am    
I have a Silverlight web application end user with open file dialog select a excel with .xlsx format in client side,I need some codes for convert that file to xml format
Richard MacCutchan 12-Feb-14 8:41am    
XLSX is a compressed XML file, so you just need to uncompress it. A google search will find you some utilities that may help.

First read the excel file and store all data to datatable. then convert the datatable to xml.
 
Share this answer
 
Refer this link.Hope this will help you.
 
Share this answer
 
Comments
Angela 10293848 13-Feb-14 0:50am    
I work with Silverlight,I can not use hose code in Silverlight project
V5709 13-Feb-14 2:33am    
I have no experience for silver light. But i can suggest you that try to add external references of dll for c# classes involved in doing conversion & then utilize them.

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