473,406 Members | 2,208 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

ASP / Excel roundtrip

JV
Hi,

I'm researching how I can :
1- dynamically generate an Excel spreadsheet by querying a database on
an ASP page
* I understand how to do this

2- open this spreadsheet by a user (client side)
* I understand how to do this

3- allow this user to apply changes
* that's done via Excel.

4- post the changes (if any) back to my database

I am aware of the OWC and Excel objects I have at my disposal. I also
read an article how to query an Excel spreadsheet. This requires me to
1) define labels on the first row and
2) define a range I'd like to query.

My challenge is that users might add rows to the spreadsheet or even
insert new columns. In addition, the spreadsheet they're updating is
first generated by my ASP page. Hence, how can I dynamically add this
range to the generated spreadsheet (or could I define a 'template'
spreadsheet and use this each time I dynamically populate my
spreadsheet?

I guess I'm looking for a generic way of importing an entire worksheet
and then have my asp page parse and validate it.
Could anyone give me some pointers for #4?

I appreciate your help.

JV

Jul 22 '05 #1
1 1538
If you're allowing users to add rows or columns (and potentially also delete
them...) and then hoping to parse the information on the server you will
have a tough time unless you're able to protect certain aspects of the
worksheet from changes. The amount of validation code you'll end up writing
will be huge.

Why not just give the user a web interface to make changes?

Tim

"JV" <jh********@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Hi,

I'm researching how I can :
1- dynamically generate an Excel spreadsheet by querying a database on
an ASP page
* I understand how to do this

2- open this spreadsheet by a user (client side)
* I understand how to do this

3- allow this user to apply changes
* that's done via Excel.

4- post the changes (if any) back to my database

I am aware of the OWC and Excel objects I have at my disposal. I also
read an article how to query an Excel spreadsheet. This requires me to
1) define labels on the first row and
2) define a range I'd like to query.

My challenge is that users might add rows to the spreadsheet or even
insert new columns. In addition, the spreadsheet they're updating is
first generated by my ASP page. Hence, how can I dynamically add this
range to the generated spreadsheet (or could I define a 'template'
spreadsheet and use this each time I dynamically populate my
spreadsheet?

I guess I'm looking for a generic way of importing an entire worksheet
and then have my asp page parse and validate it.
Could anyone give me some pointers for #4?

I appreciate your help.

JV

Jul 22 '05 #2

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

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
3
by: Otie | last post by:
I found the following under the GetObject help notes and in the example for GetObject: "This example uses the GetObject function to get a reference to a specific Microsoft Excel worksheet...
6
by: Matthew Wieder | last post by:
I have the following requirements: Build a stand-alone C# application that asks the user to click in a cell in an Excel spreadsheet, and then displays the address of that cell in the C#...
2
by: mawi | last post by:
Hi there, When removing page children controls created dynamically not in last-to-first order, the close button of the last control looses its event wiring, even though the handler is rewired...
14
by: pmud | last post by:
Hi, I need to use an Excel Sheet in ASP.NET application so that the users can enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever the USER ENETRS needs to go to the...
22
by: Howard Kaikow | last post by:
There's a significant problem in automating Excel from VB .NET. Reminds me of a problem I encountered almost 3 years ago that was caused by the Norton Auntie Virus Office plug-in. Can anybody...
9
by: Anthony | last post by:
To me, creating Excel 2003 spreadsheets programmatically via VB.NET hasn't really changed since the days of VB6. That is, I'd do something similar to this Code: Dim ExcelApp As...
7
by: Alain \Mbuna\ | last post by:
Hi everybody. In my program I have some data that is calculated after some input from the user. I have written some code that opens an Excel workbook, with 5 worksheets and the calculated data...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.