如何将MySql数据库数据导入特定的Excel文件(.xlsx)? [英] How to import MySql Database data into specific excel file (.xlsx)?

查看:522
本文介绍了如何将MySql数据库数据导入特定的Excel文件(.xlsx)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要控制台应用程序的C#代码...请帮助。

Need C# code for console application...Please Help.

推荐答案

我建​​议你澄清你的要求/术语



你想从excel文件导入你的数据库(或)

你希望从你的数据库导出到excel文件



(一切都取决于你的观点,但我发现你的问题令人困惑)



(似乎你总是要求代码,没有做任何研究和帮助自己......为什么会这样? - 从这里开始有什么问题 MySQL :: MySQL Connector / Net开发人员指南:: 1 MySQL Connector / Net简介例如 - 您应该在页面的左侧看到教程链接)



此外,如果你已经在你的机器上安装了MySQL Connector / Net,除非有人已经安装了它,否则你必须这样做附带样本
I suggest you clarify your requirements/terminology

do you wish to IMPORT into your database from an excel file (or)
do you wish to EXPORT from your database to an excel file

(all depends on your point of view, but I find your question confusing)

(and it seems you're always asking for code, not doing any research and helping yourself... why is this ? - what is wrong with starting here MySQL :: MySQL Connector/Net Developer Guide :: 1 Introduction to MySQL Connector/Net for example - you should see a 'tutorials' link on the left hand side of the page)

Furthermore, if you have installed the MySQL Connector/Net on your machine, which you will have to unless someone has done it already, it comes with samples


这篇关于如何将MySql数据库数据导入特定的Excel文件(.xlsx)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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