• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

open .xls file using asp.net 2.0 with c#

Hi all,
i am able to create, load and display an excel file using a datadrid or a gridview control.  Now i need to reverse this process and create a dataset or datareader from an excel file so that i can use it to programatically.

***mainly if i can just open the .xls file using asp.net 2.0 with  c# that would really be a big help*****
0
lbudha
Asked:
lbudha
  • 2
  • 2
1 Solution
 
nauman_ahmedCommented:
Reading Excel (.xls) Files with ADO.NET...
http://www.dotnetjohn.com/articles.aspx?articleid=54

Read Excel files from ASP.NET
http://www.aspfree.com/c/a/ASP.NET-Code/Read-Excel-files-from-ASPNET/

-Nauman.
0
 
lbudhaAuthor Commented:
ADD: the .xls file is stored on the server and others on the web and intranet need the option to open it in their browser or save it to thier local machine.
0
 
nauman_ahmedCommented:
lbudha, did the above code help?

-Nauman.
0
 
lbudhaAuthor Commented:
yes it did
thanks
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now