从c#.net应用程序向Microsoft Excel导出数据的代码是什么 [英] what is the code for exporting data from c#.net application to microsoft excel

查看:68
本文介绍了从c#.net应用程序向Microsoft Excel导出数据的代码是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以将使用c#.net和sql server 2005创建的窗口应用程序的数据存储为数据库吗.

can i store the data of window application which is created using c#.net and sql server 2005 as database.

推荐答案

它不能像这个在这里.

这是询问者的期望:
1. 先尝试您要做什么!您可能会发现它并不难.
2.制定看起来像问题/无法解决的问题.

尝试一下,告诉您是否遇到问题.



现在,从此处开始表单:将DataGridView导出到使用Reporting Services报告生成功能生成Excel/PDF/图像文件 [
It does not work like this here.

Here is what is expected of enquirers:
1. TRY first what you want to do! You may find that it''s not that hard.
2. Formulate what was done by you that looks like an issue/not working.

Try them and tell if you face issues.



For now, start form here: Exporting a DataGridView to an Excel/PDF/image file by using Reporting Services report generation[^]



答案是肯定的.

报价:导出数据的代码是什么"
正如Sandeep在Solution1中解释的那样,首先自己尝试一下,参考好的文章等.如果遇到任何特定问题,请回来,我们很乐意为您提供帮助.

关于它的一些不错的CP文章,
将DataGrid导出到Excel [在.NET中将DataGridView导出到Excel 2.0(C#代码) [
Quote: "can i store the data of window application which is created using c#.net and sql server 2005 as database."
The answer is, Yes.

Quote: "what is the code for exporting data"
As Sandeep explained in Solution1, Firstly try it yourself, refer to good articles etc. Come back with any specific issues if you are stuck with, we are happy to help.

Some good CP articles on it,
Export DataGrid to Excel[^]
Exporting a DataGridView to Excel in .NET 2.0 (C# code)[^]


这篇关于从c#.net应用程序向Microsoft Excel导出数据的代码是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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