excel to xml

G

Guest

In my application my requirement is i have one excel file sheet, i want to
convert that excel file to xml file?
 
S

sloan

Check these 2 entries:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!148.entry

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!119.entry

Start with the second link , then go to the first one.


public class ExcelXMLConverter

will give you "excel xml".
the first KB will show you how to convert it to "more friendly" xml if need
be.


Having said that, you need to know that it isn't recommended to use excel
object library objects on the IIS server.


Another method is to use LoadDataSet against an excel file, and then use the
ds.WriteXml() method.

It depends on what you're after.

http://support.microsoft.com/kb/306572
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,128
Latest member
ElwoodPhil
Top