Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7808859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:15:18+00:00 2026-06-02T03:15:18+00:00

I am using FileUpload control of asp.net and uploading the excel with some data.

  • 0

I am using FileUpload control of asp.net and uploading the excel with some data. I can’t save it in some folder. I can have stream of excel sheet file or I can have Blobstream after uploading excel as a blob. Now I want to convert that excel sheets 1st sheet to datatable so how shall I do that? I am using C# .NET. I don’t want to use Interop library. I can use external libraries. Oledb connection is getting failed since I don’t have any physical path of excel as a data source. I tried following links:

1) http://www.codeproject.com/Articles/14639/Fast-Excel-file-reader-with-basic-functionality

2) http://exceldatareader.codeplex.com/

Please help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:15:19+00:00Added an answer on June 2, 2026 at 3:15 am

    Depending on the type of Excel file you can use the examples you posted or go for the OpenXML alternative (for xlsx files): http://openexcel.codeplex.com/

    Now, the problem with the physical path is easy to solve. Saving the file to blob storage is great. But if you want, you can also save it in a local resource to have it locally. This will allow you to process the file using a simple OleDb connection. Once you’re done with the file, you can just delete it from the local resource (it will still be available in the blob storage since you also uploaded it there).

    Don’t forget to have some kind of clean up mechanism in case your processing fails. You wouldn’t want to end up with a disk filled with temporary files (even though it could take a while before this happens).

    Read more on local resources here: http://msdn.microsoft.com/en-us/library/windowsazure/ee758708.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried using the FileUpload control in ASP.net and found some strange problems.
I am uploading a file using a simple FileUpload control named theFile (ASP.NET). I'm
I am using asp.net fileupload control for uploading image but here i want to
I m using asp.net 2.0 without AJAX. The file path in the fileupload control
I want to get the type of file uploaded using the ASP.NET FileUpload control.
I want to validate asp FileUpload Control using in asp.net. That should accept only
Greetings! I am using the ASP.NET FileUpload control to allow users to upload text
I am using the fileupload control in asp.net. I want the browser to only
I am using ASP.NET to read the data in the excel file. I am
I want to upload a file using FileUpload Control in asp.net and i'm using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.