SIGN UP MEMBER LOGIN:    
ARTICLE

Import Data from Excel to a SQL Server database

Posted by vivekananda swamy Articles | ADO.NET in C# January 16, 2009
This article mainly describes about how to import the data from Excel sheet to the SQL Server database.
Reader Level:
Download Files:
 

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.

Login to add your contents and source code to this article
share this article :
post comment
 

File is corrupted

Posted by Suthish Nair Jan 31, 2011

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 : vskhannan@hotmail.com

Thanks, Kannan S

Posted by kumar S Oct 07, 2010

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 shiv_dsnair@yahoo.co.in

Thanks in Advance,
shiva

Posted by shiva Jun 18, 2010

hello sir pl z help me
how to import csv excel sheet data in sql  server where tables in relations?

Posted by vicky logic Jun 17, 2010

thanx alot dear it really help me......

Posted by vicky logic Jun 17, 2010
Nevron Gauge for SharePoint
Become a Sponsor
PREMIUM SPONSORS
  • ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
    Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites - Click Here!
Become a Sponsor