Click here to Skip to main content
15,897,226 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to Transfer Accurate Data from excel to Sql 2005 on button click in C#

please help me...
Thanks...
Posted
Comments
syed shanu 2-Sep-13 4:18am    
What do you mean .Do you want to Export your excel data to your sql server table.
If so then check this links.
http://www.codeproject.com/Tips/636719/Import-MS-Excel-data-to-SQL-Server-table-using-Csh
http://www.codeproject.com/Tips/636719/Import-MS-Excel-data-to-SQL-Server-table-using-Csh
krrazyumesh 2-Sep-13 5:06am    
Error coming like this...

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

please hekp me...
thanks..
krrazyumesh 2-Sep-13 5:24am    
it's working but in some column value is zero while in excel values is not zero...

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