Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my asp.net website i have a section for students.Here we can add new students. All student's data will be store in data bse.Now i want to add add more students data at time by using excel export.


Any one please help me.
Posted
Updated 21-Aug-12 20:52pm
v2

1 solution

Perhaps this article would help you.
SQL Import Data from Excel[^]
 
Share this answer
 
Comments
Shibiny 22-Aug-12 3:30am    
Please give me the implemented code in asp.net website in c#.
I implemented ,But have some errors.


please help me.....................
pramod.hegde 22-Aug-12 3:37am    
Please share the code what you have tried. The link which I sent does excel to sql bulk insert.
So, if I'm not wrong you are trying to add more number of students into the table by uploading excel file from asp.net and then inserting excel data to sql table. Then by refreshing the grid view to display the newly inserted data.
If this is correct, then you can make us of the above approach to do so.

Please share the erroneous code you have. Let me help you if you face any problem.
[no name] 22-Aug-12 4:37am    
The DocumentFormat.OpenXml.Packaging.dll doesn't exists in my library.
How can I add this reference.
pramod.hegde 22-Aug-12 4:45am    
You can download it from microsoft site.
http://download.microsoft.com/download/2/7/F/27FF6744-D970-4FFB-90B8-5226B2B82E0A/OpenXMLSDKv2.msi
[no name] 22-Aug-12 4:52am    
Thanks for your time.

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