This article mainly describes about how to import the data from Excel sheet to a SQL Server database.
Download the attached project and run in Visual Studio 2005.
The application uses a GridView control to dusplay, delete, and save data. If an Excel sheet does not have any data (null values), those values are stored as zeros in the database.
Explore the source code for more details and post a comment below if you have any questions or comments.

Ismael BalaguerPosted May 4, 2018, 6:16 AM EDT
Use winrar instead winzip and you will get the files.
Ratan SinghPosted Oct 11, 2017, 8:22 AM EDT
Zip file is empty.. please please email the code to me [email protected] please please
Ganesh SonawanePosted May 8, 2017, 12:44 AM EDT
Zip file is empty....plz send me code to [email protected]
Sagar MPosted Dec 12, 2016, 11:12 PM EST
Zipfile is empty .Please send code to [email protected]
Satyam LimbaniPosted Feb 24, 2016, 12:19 AM EST
corrupted file
Samba SunnyPosted Feb 23, 2016, 8:58 PM EST
can u send me the code to [email protected]
Divya SindhuPosted Dec 5, 2015, 12:14 AM EST
Error Come .Please give me solution on my id [email protected]
sujith monyPosted Nov 27, 2013, 5:46 AM EST
you can send it to my email id [email protected]
sujith monyPosted Nov 27, 2013, 5:45 AM EST
please not the zip file is corrupted can you please upload the right one ...it will be more help full for me to finish my task
jishnu chandranPosted Dec 25, 2012, 4:14 AM EST
Thank youuuuuu... Its works good but how to import excel sheet by using fileupload tool..
Suthish NairTOP 100Posted Jul 28, 2012, 3:08 AM EDT
Thank you very much, sukumar S. I am happy, the post helped you...
sukumar SPosted Jul 24, 2012, 10:18 PM EDT
Nice..........
Suthish NairTOP 100Posted Jan 31, 2011, 8:00 AM EST
File is corrupted
kumar SPosted Oct 6, 2010, 11:39 PM EDT
Can you please guide me to export csv filt to sql server 2005? For your information ImportExcel2SQLServer.zip file is corrupted it seems. Can you please send me the full solution file? This is my email : [email protected] Thanks, Kannan S
shivaPosted Jun 18, 2010, 11:01 AM EDT
Hi Vivek, While searching a solution for Import Excel to SQL,i got yours. Is it possible for you to share the code. Appreciate your help. Pls forward the source code to [email protected] Thanks in Advance, shiva
vicky logicPosted Jun 16, 2010, 10:46 PM EDT
hello sir pl z help me how to import csv excel sheet data in sql server where tables in relations?
vicky logicPosted Jun 16, 2010, 10:44 PM EDT
thanx alot dear it really help me......
shivaeditedPosted May 25, 2010, 3:25 PM EDTEdited Jun 18, 2010, 11:00 AM EDT
Hi Vivek, While searching a solution for Import Excel to SQL,i got yours. Is it possible for you to share the code. Appreciate your help. Pls forward the source code to [email protected] Thanks in Advance, shiva
kirubel DinkayhuPosted May 17, 2010, 4:17 AM EDT
The code is not available
harmonyPosted May 12, 2010, 12:41 AM EDT
can you do this in vb.net?
Chhotelal guptaPosted May 11, 2010, 10:09 PM EDT
not find installable ISAM. Error Come Please give me solution on my id [email protected]
naga arjunaPosted May 11, 2010, 4:02 AM EDT
It's very good for data exporting process
Randeep SidhueditedPosted Oct 11, 2009, 10:33 PM EDTEdited Oct 11, 2009, 10:39 PM EDT
If you're Unable to extract project, rename ext to .RAR and extract.
S KasterPosted Sep 8, 2009, 10:15 PM EDT
uploaded file ist corrupt
paramvir singhPosted Aug 31, 2009, 10:58 PM EDT
The Microsoft Jet database engine could not find the object 'Sheet1$'. Make sure the object exists and that you spell its name and the path name correctly.so whats the solution for it ..
bala maniPosted Aug 31, 2009, 10:52 PM EDT
It works good.really You have saved my time.Thanks a lot....
Phani APosted Aug 26, 2009, 4:48 PM EDT
Hey Vivek, your programs works really good, thanx for that, but i have a question,,,whenever we press the button, insert data, it adds the data, but does not look for the duplicate rows, instead it just appends the new data to the already exisisting data. Can you please share how to avoid the duplicate rows, ie the duplicate rows shouldnt be added to the already existing table thank you in advance,
Raghu nandanPosted Jul 24, 2009, 6:02 AM EDT
Please send me the solution file My email Id is [email protected]
suresh babuPosted Jun 9, 2009, 1:10 AM EDT
i have small problum how to import Ms-Access data into sqlserver 2005 With codeing in Dotnet please help me my mail id is:: [email protected],[email protected]
rao_i1Posted May 27, 2009, 2:57 PM EDT
Hi Vivekananda, the download link is not working after i tried to download it but it appears the location is not avalable any more. I would be gratefull if send me the code . Regards Rao
Fatt MattPosted May 26, 2009, 6:58 PM EDT
Awesome stuff. Simple and effective. You saved me a ton of work.
Prashant KharchePosted Apr 4, 2009, 4:47 AM EDT
Hello Viveknanda ,