473,324 Members | 2,370 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,324 software developers and data experts.

Reading excel data cell by cell

Hi,

I want to read excel data cell by cell using C#.
I do not want to use a connection and say "select * from Sheet1"
I do not want to use the COM Excel 11 library.
I do not want to create an Excel .Net project.
Please let me know if there is a way along with sample code.

Thanks,
Shilpa

Jul 4 '06 #1
3 5782
Shilpa,
I'm afraid your list of conditions have simply "i do not want to"-ed you out
of the ballgame, unless you want to use a third-party component that can read
Excel Workbooks.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Shilpa" wrote:
Hi,

I want to read excel data cell by cell using C#.
I do not want to use a connection and say "select * from Sheet1"
I do not want to use the COM Excel 11 library.
I do not want to create an Excel .Net project.
Please let me know if there is a way along with sample code.

Thanks,
Shilpa

Jul 4 '06 #2
I think you can use your eyes.

Just kidding:)

<DIV>&quot;Shilpa&quot; &lt;sh*************@unisys.com&gt; wrote in message
news:11********************@b68g2000cwa.googlegrou ps.com...</DIV>Hi,
>
I want to read excel data cell by cell using C#.
I do not want to use a connection and say "select * from Sheet1"
I do not want to use the COM Excel 11 library.
I do not want to create an Excel .Net project.
Please let me know if there is a way along with sample code.

Thanks,
Shilpa
Jul 4 '06 #3
Gav
Not sure exactly what this is, haven't looked too deep into it, but it may
help...

http://www.codeproject.com/useritems...DataReader.asp

Regards
Gav

"Shilpa" <sh*************@unisys.comwrote in message
news:11********************@b68g2000cwa.googlegrou ps.com...
Hi,

I want to read excel data cell by cell using C#.
I do not want to use a connection and say "select * from Sheet1"
I do not want to use the COM Excel 11 library.
I do not want to create an Excel .Net project.
Please let me know if there is a way along with sample code.

Thanks,
Shilpa

Jul 4 '06 #4

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...
5
by: Axial | last post by:
Question: How to select columns from Excel-generated XML when some cells are empty. I've found examples where rows are to be selected, but I can't seem to extrapolate from that to selecting...
6
by: Paul | last post by:
I was wondering if anyone has had an issue where using vba code to read an excel file and import the data into an access table some records are not imported from the excel file. It seems looking at...
5
by: Scott M. Lyon | last post by:
I've just discovered a bug in some code I wrote a little while ago, and I need you guys' help to fix it. My program imports data from a standard Excel Spreadsheet (just with specific column...
5
by: prasanta | last post by:
Hello, I have a xml file. when i am trying to load through XPathDocument and try to get XPathNodeIterator its not working . my xml is loking like <?xml version="1.0" ?> <?mso-application...
4
by: wellscrambled | last post by:
Folks, Probably don't have the right forum here, but this is all a bit new to me. I have a web site that sends me a daily email with an excel spreadsheet attachment that contains some customer...
3
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store...
3
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store...
1
by: =?Utf-8?B?QWRyaWFuTW9ycmlz?= | last post by:
Hello All, I am trying to read an Excel spreadsheet (xls) programmatically. I have used the ODBC database route and have opened the Excel spreadsheet and then using a 'CRecordset', I read each...
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...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
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: 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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.