473,503 Members | 8,784 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Excel Import versus XML Import

Gaz
I am currently developing an ASP.NET 2.0 app part of the app will involve
collecting a large amount of data offline and then importing this data into
the system

My question is what will be more effiecient from a system
resources/performance point of view. If I go down the Excel route then for
every sheet parsed (and there could be up to 20 of them) I will have check
5400 cells to see if there is any data in them.

If I use an XML file to store the information (with the aid of a windows app
on the client) there would be a maximum of about 1800 nodes per sheet.

So will I be better importing from Excel or XML?

Jul 4 '06 #1
2 1502
V
Well first of all,

If you use Excel, then you have to be aware of the two things:
1. You will require a licensed version of Excel to be present on every
machine where the data is being generated.

2. You will need to automate excel on the server, and that has its own
set of problems, because Office application are not designed to run in
a server mode, unless you are working with Office 2003, which allows
this kind of functionality using VSTO.
Check out for Server-Side Automation:
http://support.microsoft.com/kb/257757/EN-US/
Check out for Server-side using VSTO:
http://msdn.microsoft.com/library/de...gistration.asp

- V

Gaz wrote:
I am currently developing an ASP.NET 2.0 app part of the app will involve
collecting a large amount of data offline and then importing this data into
the system

My question is what will be more effiecient from a system
resources/performance point of view. If I go down the Excel route then for
every sheet parsed (and there could be up to 20 of them) I will have check
5400 cells to see if there is any data in them.

If I use an XML file to store the information (with the aid of a windows app
on the client) there would be a maximum of about 1800 nodes per sheet.

So will I be better importing from Excel or XML?
Jul 4 '06 #2
2. You will need to automate excel on the server, and that has its
own set of problems, because Office application are not designed to
run in a server mode, unless you are working with Office 2003, which
allows this kind of functionality using VSTO.

Kinda true, but for reading purposes you can also connect via ODBC / ADO
to Excel... additionally, if you only read excel in once and store the
data anywhere else (e.g. database), then having a windows service in the
background might be more efficient and would not interfere with any
asp.net stuff.

hth
Markus
Jul 5 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3170
by: Richard Holliingsworth | last post by:
Hello: Thanks for your quick response. I'm trying to import a new Excel file into an A2K table and it's truncating the data. One of the Excel columns is a text field that can be up to 2000...
9
3893
by: jillandgordon | last post by:
I am trying to import an excel file into Access 97. It looks perfectly all right but, every time I try to import it, I get to the lst step and am told that it was not imported due to an error. ...
8
6538
by: Nick M | last post by:
Hello All, Excellent info here Thanks! I am very new to using access in general and I am on a learning curve. I'm trying to import an excel workbook (with worksheets) into an access db via a...
2
3971
by: Siu | last post by:
Hi, I use the following code to export and import a file Excel from resp. into a Web page with the following code: //EXPORT Response.Clear(); Response.Buffer = true; Response.ContentType =...
10
11787
by: Niklas | last post by:
Hi Before I start coding I need to be sure that nobody else has not done it yet and that I can use it. I need an import utility which import data from Excel to a database or some object in...
0
14386
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
0
2722
by: liam_jones | last post by:
I'm very new to Python, well IronPython to precise, and have been having problems when using Excel. The problem I'm having is the closing of my Excel object. I'm able to successfully quit the...
1
8694
by: baling | last post by:
Hi.... Hi everybody, i have a code that i make in VBA and know I want to use this code in to VB6. But i don't know how to use that code in to VB 6.0 Please correct this code so i can use it in VB...
4
1777
by: The Frog | last post by:
Hi Everyone, Just wondering if anyone knows of a module / add-in that handles ETL for an Excel spreadsheet into Access. There is one specific requirement, that values in the source Excel file...
0
7194
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7070
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6976
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7449
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5566
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
729
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
372
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.