473,320 Members | 1,857 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,320 software developers and data experts.

Retrive data from an client side Excel source

Hello

I'm looking for an solution about how to retrive data from an client side
located Excel document by using an ASP.Net application. I don't want to
upload the file to the server. I just want to get the data and persist it in
an database after that some business validation have been done.

Does anyone have any idea?
Mar 30 '07 #1
3 1947
"Peter J, Scania" <Pe**********@discussions.microsoft.comwrote in message
news:CC**********************************@microsof t.com...
I'm looking for an solution about how to retrive data from an client side
located Excel document by using an ASP.Net application. I don't want to
upload the file to the server. I just want to get the data and persist it
in
an database after that some business validation have been done.

Does anyone have any idea?
You're going to really struggle with this, especially if this is a public
Internet app...

If you don't want to upload the Excel spreadsheet, you're going to have to
develop an ActiveX solution to open the spreadsheet client-side and extract
the data you want.

Obviously, you'll have to really ramp down the security in order to do this,
as under normal circumstances web browsers have no interaction with the
client hardware...

Obviously, ActiveX controls will only work in IE...

Is there any particular reason you don't want to upload the spreadsheet to
the server...? If you did that, this would be a fairly simple matter...
Mar 30 '07 #2
Hello Mark

I agree with you on the security issue.

Is it possible to stream the spreadsheet to the server and from there
retrive the data I want to handle? Or do you have other solutions?

\Peter

"Mark Rae" wrote:
"Peter J, Scania" <Pe**********@discussions.microsoft.comwrote in message
news:CC**********************************@microsof t.com...
I'm looking for an solution about how to retrive data from an client side
located Excel document by using an ASP.Net application. I don't want to
upload the file to the server. I just want to get the data and persist it
in
an database after that some business validation have been done.

Does anyone have any idea?

You're going to really struggle with this, especially if this is a public
Internet app...

If you don't want to upload the Excel spreadsheet, you're going to have to
develop an ActiveX solution to open the spreadsheet client-side and extract
the data you want.

Obviously, you'll have to really ramp down the security in order to do this,
as under normal circumstances web browsers have no interaction with the
client hardware...

Obviously, ActiveX controls will only work in IE...

Is there any particular reason you don't want to upload the spreadsheet to
the server...? If you did that, this would be a fairly simple matter...
Mar 30 '07 #3
"Peter J, Scania" <Pe**********@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
Is it possible to stream the spreadsheet to the server and from there
retrive the data I want to handle? Or do you have other solutions?
Absolutely!

1) Use an <asp:FileUploadwebcontrol to allow the user to specify what
spreadsheet to upload
http://msdn2.microsoft.com/en-us/lib...ileupload.aspx

2) Use ADO.NET to extract the data
http://www.google.co.uk/search?sourc...DO%2eNET+Excel
Mar 30 '07 #4

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

Similar topics

3
by: cv | last post by:
Hi all, I have to copy two set of data from 2 files(notepad/excel) say, products and their corresponding prices to list/textarea/table. I should be able to retrieve the product and corresponding...
2
by: Fred | last post by:
Hi. How do I import while mapping an excel table to an access table please??? I've searched around and all I can find is a software product or code that does the same thing as the access...
1
by: sonu | last post by:
how to retrive client side file information through .NET Any link or information please ?
0
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the...
4
by: Toto | last post by:
Can I retrive a session object by a session ID which is stored in a cookie in my server side code?
17
by: Timothy.Rybak | last post by:
Hello all, This is my first attempt at an application, so kid gloves are appreciated. I need to make a very simple form that only has a few elements. One is TraceCode - a text field that is...
1
by: Mel | last post by:
I have Visual Basic code in the Page_Load event that makes a connection to an Excel 11.0 file. Is it possible to do the equivalent using a data source so it existed on the form? If so, how? A...
1
by: amritranjan | last post by:
How to retrive image file from MS access database and display this in another JSPpage -------------------------------------------------------------------------------- This is my Jsp code for...
6
by: insirawali | last post by:
Hi all, I have this problem, i need to know is there a way i cn use the data adapter's update method in this scenario. i have 3 tables as below create table table1{ id1 int identity(1,1)...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.