如何将excel导入sql server c#winform? [英] how to import excel into sql server c# winform?

查看:99
本文介绍了如何将excel导入sql server c#winform?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何通过c#winform将excel文件.xls和xlsx导入sql?并上传datagirdview

how to import excel file .xls and xlsx into sql by c# winform? and upload datagirdview

推荐答案

让我谷歌那为你 [ ^ ]



此前已经多次完成。前几个链接(包括CP上的一些链接)是相关的,应该足以让你开始几乎煮熟的代码。



顺便说一句,你不导入excel文件到Win Form但您使用编程语言(在本例中为C#)读取excel文件以导入到另一个目标(此处为SQL Server)。
Let me Google that for you[^]

This has been done numerous times before. The first few links (including some on CP) are relevant and should be enough to give you almost cooked code to start.

And btw, you don't import excel files into Win Form but you use programming language (C# in this case) to read an excel file to import into another destination (SQL Server here).


这篇关于如何将excel导入sql server c#winform?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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