D
Dale
I am building an application with ASP.NET/C# that enables a user to upload an
excel file. Then, the app queries the file via ODBC and loads the contents
into a dataset. Next the contents of the dataset are sent to a SQL stored
procedure in XML format. The stored procedure loads the data into the
database.
The query that extracts the data from the excel file looks like this:
“SELECT * FROM [sheet1$]â€. My problem is that I don’t always know what the
name of the sheet is.
Is there a way with OWC11 that I can open the Excel file and discover the
name of the first worksheet?
Is it possible to simply create a dataset or an XML file with OWC11 rather
than hitting the file with ODBC?
Finally, can I use OWC11 to interact with the Excel file without installing
Excel on the server?
Thanks for your help.
excel file. Then, the app queries the file via ODBC and loads the contents
into a dataset. Next the contents of the dataset are sent to a SQL stored
procedure in XML format. The stored procedure loads the data into the
database.
The query that extracts the data from the excel file looks like this:
“SELECT * FROM [sheet1$]â€. My problem is that I don’t always know what the
name of the sheet is.
Is there a way with OWC11 that I can open the Excel file and discover the
name of the first worksheet?
Is it possible to simply create a dataset or an XML file with OWC11 rather
than hitting the file with ODBC?
Finally, can I use OWC11 to interact with the Excel file without installing
Excel on the server?
Thanks for your help.