Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in ASP .NET only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
ASP .NET
Importing data into a grid view from MS-Excel 2010
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Ravigarg44
New Member
Join Date:
Nov 2012
Posts:
1
#1
Importing data into a grid view from MS-Excel 2010
Nov 2 '12, 02:44 PM
Hi All,
Can anyone tell me how to import data from an Excel sheet into a grid view in ASP.Net?
Frinavale
Recognized Expert
Expert
Join Date:
Oct 2006
Posts:
9749
#2
Nov 2 '12, 03:58 PM
Your question is very vague...
The first thing that you're going to have to do is import the Excel sheet into your application.
Check out this article about
Import Excel File to Dataset
.
Or check out this article about
Importing an Excel Spreadsheet Using Typed DataSets and TableAdapters: Building the Database
(this one actually refers to ASP.NET usage)
After that, you should be able to bind the GridView to the the desired table within the DataSet that you imported.
-Frinny
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment