Buy Questpond's video subscriptions on
huge discount
.
Online: 2120
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
C#
>
Loading ...
how can read .xls file in wndow application using C#?
Posted by
Sagarp
under
C#
on 2/3/2010 | Views : 7185 | Status :
[Member]
| Replies : 4
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Hi
i have create window application.plz tell me how can read value from .xls file in window application
thanks
sagar
Thanks
SagarP
http://www.emanonsolutions.net
http://emanonsolutions.blogspot.com/
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
Abhi2434
on: 2/3/2010
[Member]
[Microsoft_MVP]
[MVP]
Silver
0
Here you go :
http://www.codeproject.com/KB/miscctrl/Excel_data_access.aspx
I wrote this to do exactly the same thing.
:)
www.abhisheksur.com
Sagarp
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
RtpHarry
on: 2/3/2010
[Member]
[MVP]
Bronze
0
There is also this library (free)
http://www.carlosag.net/Tools/ExcelXmlWriter/
Sagarp
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Bubbly
on: 2/4/2010
[Member]
Bronze
0
Hello,
You can check this link
http://www.gidforums.com/t-17370.html
++
Thanks & Regards,
Deepika
Sagarp
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
Neeks
on: 2/4/2010
[Member]
Bronze
0
You can read the Excel file same as the MS Access.
You have to provide the connection string as:
2003 or earlier:
OLEDB;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\MyExcel.xls;Extended Properties="Excel 8.0;HDR=Yes;IMEX=1";
Ref.:
http://www.connectionstrings.com/excel
2007:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=c:\myFolder\myExcel2007file.xlsx;Extended Properties="Excel 12.0 Xml;HDR=YES;IMEX=1";
Ref.:
http://www.connectionstrings.com/excel-2007
Sagarp
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
How to get the exact property name while getting error
(0)
PDB file is not showing Line Number in dot net application hosted on server
(0)
Both Strings morethan 5 letters in length end of the words one vowel and one consonent is different
(0)
how to check Any adjacent letters transposed between two strings(ex: JOHN, JHON)
(1)
can't receive data after success login ?
(1)
Implement Multi-Tenant in Azure Logic Apps
(0)
Why ASP.Net Core 7.0 Web API showing as Connection refused?
(0)
Iterating over columns of dataframe and print as rows in Python Django
(0)
More ...