使用C#将数据从excel导出到sql: [英] Export datas from excel to sql using c#:

查看:98
本文介绍了使用C#将数据从excel导出到sql:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用c#将数据从excel导出到sql:
如果它只有1个表,我可以将Excel中的选项卡导出到sql.dnt knw hw 2导出具有多个具有相同列的表的选项卡.我也知道2如何使用字段名称,即A1:BE12,A3,C5等在C#编码中将其用于导出到sql.如果要从excel导出,也请联系我如何在sql中创建表.如果您知道,请帮助我....

Export datas from excel to sql using c#:
I could export a tab in excel to sql if it has only 1 table.dnt knw hw 2 export a tab having multiple tables with some same columns.also i dnt knw how 2 use the field names i.e A1:BE12,A3,C5 etc in the c# codings to use it for export to sql.Also tel me how to create tables in sql if we want to export as it is from excel.If u knw,help me... .

推荐答案

尝试导入数据从Excel到在ASP中使用C#的SQL Server. NET [ ^ ].


尝试访问此论坛

http: //p2p.wrox.com/asp-net-1-0-1-1-professional/69409-how-insert-data-excel-file-sql-server.html [
Try to visit this forum

http://p2p.wrox.com/asp-net-1-0-1-1-professional/69409-how-insert-data-excel-file-sql-server.html[^]

hope it helps
please vote if this will help you
thanks


使用ASP中的C#将数据从excel导入到SQL Server. NET [ ^ ]

http://sujitkumar.wordpress.com/2008 /09/06/export-excel-data-into-sql-server-using-c/ [
Import Data from excel to SQL server using C# in ASP. NET[^]

http://sujitkumar.wordpress.com/2008/09/06/export-excel-data-into-sql-server-using-c/[^]


这篇关于使用C#将数据从excel导出到sql:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆