Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 27th, 2006, 09:32 AM
Registered User
 
Join Date: Jun 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help! how to read the file of *.xls

how to read an vary in the file of *.xls

 
Old July 27th, 2006, 04:14 PM
Registered User
 
Join Date: Jul 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm not quite sure I understand your question...
Could you be more concise?

 
Old July 29th, 2006, 07:30 AM
Registered User
 
Join Date: Jun 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i am drawing the curve with the serials of data in the *.xls

 
Old August 1st, 2013, 06:10 AM
Registered User
 
Join Date: Jul 2013
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi you can easily read excel file in C# like this:
Code:
// Load Excel file.
ExcelFile workbook = ExcelFile.Load("Workbook.xls");

// Select active worksheet.
ExcelWorksheet worksheet = workbook.Worksheets.ActiveWorksheet;

// Read a value of A1 cell.
var value = worksheet.Cells["A1"].Value;
I used this C# Excel component.
 
Old April 25th, 2014, 03:41 AM
Registered User
 
Join Date: Apr 2014
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi ,

It is really a old post here ,but I do want to share something amazing .If ant body still got the similar problem,this free .NET XLS componentw which is written by managed C# can greatly satisify your quirements on processing of EXCEL.With this component ,you can read ,create,edit ,convert .xls file as you want.Hope it helps.

regards.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Reading xls file balesh.mind ASP.NET 2.0 Professional 1 August 27th, 2007 11:54 PM
want to create a xls file vinita24 SQL Language 2 March 27th, 2007 11:27 AM
convert PDF file to XLS for Excel crmpicco Classic ASP Basics 2 November 30th, 2005 05:51 AM
Upload .xls file to SQL Server bubberz ASP.NET 1.0 and 1.1 Basics 2 August 22nd, 2005 05:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.