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

Displays Excel Cells to web page C#

Hi,

I need to display certain cells from an Excel spreadsheet to a
webpage.

For example; across the A,B,C columns I will have locations named (Eg
London, Leeds etc) and across the 1,2,3 rows I will have the same
locations (eg London, Leeds etc). Like you see in maps they include
distances between certain locations by reading across the columns and
rows and where they meet shows a distance.

I basically need to be able to read from a webpage, two locations
(which are on a spreadsheet) and for it to display the distance (which
is found by reading down and across the spreadsheet) to a webpage.

How easyily is this done, or does anyone know of any websites with a
walkthrough of how to do this. Im sure there are plenty examples of
this as it is a typical school/college project!

Thanks
Sunny
Nov 16 '05 #1
1 1640
I have written a very simple component for simplifying the task of working
with
Excel using OLEDB.
It defines objects like ExcelBook, ExcelSheet, ExcelTableRow, ExcelTableCell
and ExcelDataType. I had to perform some Excel parsing, and using Automation
was not an option, but i think this component made the work more fun and
easy.
If you are interested, please tell me.

PS
Of course it is open and free.

--
Regards,
Dennis JD Myrén
Oslo Kodebureau
"Sunny K" <su*******@yahoo.com> wrote in message
news:1e**************************@posting.google.c om...
Hi,

I need to display certain cells from an Excel spreadsheet to a
webpage.

For example; across the A,B,C columns I will have locations named (Eg
London, Leeds etc) and across the 1,2,3 rows I will have the same
locations (eg London, Leeds etc). Like you see in maps they include
distances between certain locations by reading across the columns and
rows and where they meet shows a distance.

I basically need to be able to read from a webpage, two locations
(which are on a spreadsheet) and for it to display the distance (which
is found by reading down and across the spreadsheet) to a webpage.

How easyily is this done, or does anyone know of any websites with a
walkthrough of how to do this. Im sure there are plenty examples of
this as it is a typical school/college project!

Thanks
Sunny

Nov 16 '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...
1
by: ST | last post by:
Hi, I'm having problems opening up excel thru my code. It will write and saveas an excel file, but the application won't open on the user's computer, excel seems to be hidden, because it shows up...
1
by: v_verno | last post by:
Good day, I have a web page that shows info retrieved from a MySQL db and I would like to convert all these data into an .XLS file. Have searched the net high and low but seems that I'm unable to...
5
by: nivas.meda | last post by:
Hi, I have an excel sheet with a graph and cells.If i change the value in the excel cells the graph will reflect.Now i am going to implement this functionality in html page.I successfully saved...
11
by: Mr. Smith | last post by:
Hello all, My code can successfully open, write to, format and save several worksheets in a workbook then save it by a given name, close and quit excel. My problem is that if I try and do it...
0
by: acharyaks | last post by:
Hi life saver, I am using excel component for the development. The purpose is to connect to excel through the odbc connection string. Then through the connection extract data into a dataset and...
1
by: RickH | last post by:
..Cells(1,y).GetType ownly shows instead of .Value, .Copy, etc. The code below is derived from samples, it should work, but I've messed up somewhere... Imports System.Windows.Forms Imports...
1
by: desi.american | last post by:
I have a dynamically generates ASPX page with tables and data. Depending on user selection, the same page can be viewed as a simple web page (rendered in HTML) or as an excel spreadsheet. If the...
16
by: alexia.bee | last post by:
Hi all, In some weird reason, excel instance won;t die if i remove the comment from 4 lines of setting values into struct. here is a snipcode public...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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
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,...

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.