网格出众 [英] grid to excel

查看:104
本文介绍了网格出众的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想导入bindgrid数据以显示在excel工作表中...任何人都可以通过为其指定代码来帮助我... pls ....

i want to import the bindgrid data to display in an excel sheet...anyone can help me by specifying the code for it...pls....

推荐答案

最简单的方法是编写一个excel将会打开的CSV文件.如果这还不够好,请用google搜索,然后您会找到大量示例来控制.NET中的Excel.当然,您的代码将需要安装Excel.
The easiest way is to write a CSV, which excel will open. If that''s not good enough, google for it, and you''ll find tons of examples for controlling Excel in .NET. of course, your code will then require Excel to be installed.


第一次被Google点击 [ ^ ]

您看起来如何努力?
First google hit[^]

How hard did you look ?


请参阅我在本文中提供的示例.

使用MDAC和Oledb使用MS Excel(xls/xlsx) [
See the example I have provided with the article.

Working with MS Excel(xls / xlsx) Using MDAC and Oledb[^]

I think this would be the best way to read from Excel sheet.
:rose:


这篇关于网格出众的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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