473,796 Members | 2,559 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Import an excel spreadsheet in ASP.NET

Hi,
I have an ASP.NET (2.0) webform. I want to import an excel spreadsheet.

In that Excel spreadsheet are specific cells that I want to capture
specific
data from. Is it doable?

Thanks,

Uma

Apr 7 '06 #1
5 3787
Is the Excel file on the server? Import to where?

You can open the Excel file using ADO.NET

Jeff

"Uma Muthu" <um******@gmail .com> wrote in message
news:11******** *************@j 33g2000cwa.goog legroups.com...
Hi,
I have an ASP.NET (2.0) webform. I want to import an excel spreadsheet.

In that Excel spreadsheet are specific cells that I want to capture
specific
data from. Is it doable?

Thanks,

Uma

Apr 7 '06 #2
Thanks for your reply Jeff.

Most likey the file will be in the client machine.(Browse to...)

Import to where?
In that Excel spreadsheet are specific cells that I want to capture
specific data from and post it on the web grid.

Thanks,
Uma

Apr 7 '06 #3
Well, the first task is to get the Excel file to the server. You'll need to
upload the file to the server, and then open it, parse it, and go from
there.

Check into the HTML Input (File) control to get started.

Jeff

"Uma Muthu" <um******@gmail .com> wrote in message
news:11******** *************@z 34g2000cwc.goog legroups.com...
Thanks for your reply Jeff.

Most likey the file will be in the client machine.(Browse to...)

Import to where?
In that Excel spreadsheet are specific cells that I want to capture
specific data from and post it on the web grid.

Thanks,
Uma

Apr 7 '06 #4
You can use Excel as an ADO.NET data source as detailed here:
http://www.dotnetspider.com/technolo...ages/1080.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Uma Muthu" <um******@gmail .com> wrote in message
news:11******** *************@j 33g2000cwa.goog legroups.com...
Hi,
I have an ASP.NET (2.0) webform. I want to import an excel spreadsheet.

In that Excel spreadsheet are specific cells that I want to capture
specific
data from. Is it doable?

Thanks,

Uma

Apr 10 '06 #5
Thank you all.
-Uma Muthu

Apr 10 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
3672
by: Elaksomfan | last post by:
Hi, I am having trouble importing data from an excel spreadsheet into MS SQL Server 2000 using DTS Wizard. The DTS import process is successfull, no errors, but only 50 rows of approx. 1500 rows of data are imported. I tried to remove 20 rows in the excel spreadsheet in the interval row 0-50. When i later ran the import, only 30 rows were imported. I deleted almost every row in the interval 0-50, with the result of the import having 0...
2
15518
by: Fred | last post by:
Hi. How do I import while mapping an excel table to an access table please??? I've searched around and all I can find is a software product or code that does the same thing as the access wizard..... If I have to write vb code, where is a sample??? Or do I import the excel in to a new spreadsheet and then write some kind of querey to move the data from that table
2
3505
by: madeleine | last post by:
I'm hoping the answer to this is that I'm just doing something silly, but I'm really scratching my head over this one. I'm importing data from multiple workbooks, each workbook has a sheet called SubSAT and I need to get specific data from that into the database. I'm finding that if I have the workbook open on my desktop then the SubSAT % complete and the High level plan % come in fine, but as soon as the workbook is closed they come...
0
3236
by: ssrirao | last post by:
There is an Excel Spreadsheet containing data, residing in an internet site. It’s very easy to Import data from a local Excel Spreadsheet into SQL Server Database Table using DTS. But in my case the Excel spreadsheet resides an internet site which has a static name (Example xyz.xls) but varying data inside it. The spreadsheet contains three columns a, b, c and data below it. Only data get updated weekly So basically I have to automate...
7
12076
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
0
9673
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10452
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10221
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9050
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5569
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.