Click here to Skip to main content
16,021,125 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am using visul studio 2008 and back end sql server 2005.How to upoload excel file-sheet1 and how to show the data in gridview.
Posted
Updated 24-Jul-11 22:48pm
v2

1 solution

ASP and ASP.NET are two different things.

You get people to upload a file by getting them to select it with a file selection control. Then you can access the data on the back end. Your best bet is to use Microsoft tools for office to extract the data from the Excel file, to create a viable data source for a gridview. Of course, you're assuming there is only one sheet in the file.
 
Share this answer
 
Comments
Member 7993229 6-Jul-11 1:34am    
yes your correct.How to dump the data from excel sheet to grid view.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900