XML to DataSet

T

tshad

I have an xml file that turns out to be an excel 2007 file.

It has 16 tables and one is a data table that has all the data in it but
they don't see to be segmented by row. I do know that there are about 12
columns and 90 rows..

Is there an easy way to read this into a database and come up with one table
that just has one table with normal rows and columns. Excel reads it fine
and you have a table with 90 rows of 12 columns.

Thanks,

Tom
 
T

tshad

Mark Rae said:
You mean it's an xlsx file? If so, why not just use ADO.NET?

No. It is an xml file that obviously was build from excel. It starts out:

<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:blush:ffice:spreadsheet"
xmlns:blush:="urn:schemas-microsoft-com:blush:ffice:blush:ffice"
xmlns:x="urn:schemas-microsoft-com:blush:ffice:excel"
xmlns:ss="urn:schemas-microsoft-com:blush:ffice:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">

Tom
 

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

Top