我想将datagridview值导出到word文件 [英] I want to export datagridview value to word file

查看:98
本文介绍了我想将datagridview值导出到word文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将datagridview值导出到word文件..

我在代码项目中搜索了很多文章。对于asp.net有很多解决方案但我找不到任何c#应用程序。



我尝试了什么:



i需要导出datagridview值到word文件..

我在代码项目中搜索了很多文章。对于asp.net有很多解决方案,但我找不到任何c#应用程序。

i need to export datagridview value to word file ..
I searched lot of articles in code project .there are lot of solutions for asp.net but i couldn't find anything for c# application.

What I have tried:

i need to export datagridview value to word file ..
I searched lot of articles in code project .there are lot of solutions for asp.net but i couldn't find anything for c# application.

推荐答案

不要:导出底层的DataSource。

通常,这是一个DataTable或DataSet,这个站点有很多如何做的例子: a href =https://www.google.co.uk/search?q=export+datatable+to+word+in+c%23+site%3ACodeproject.com&oq=export+datatable+to+word+ in + c%23 + site%3ACodeproject.com& aqs = chrome..69i57.317j0j9& sourceid = chrome& ie = UTF-8>将数据表导出到C#site中的单词:Codeproject.com [ ^ ]

关注一些链接,然后你应找到适合您的系统/环境的解决方案。
Don't: export the underlying DataSource instead.
Normally, this is a DataTable or DataSet, and this site has loads of examples of how to do that: Export datatable to word in C# site:Codeproject.com[^]
Follow a few of the links, and you should find a solution that fits your system / circumstances.


这篇关于我想将datagridview值导出到word文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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