如何在C#上使用Microsoft Excel的自动过滤器 [英] How use automatic filter of Microsoft Excel on C#

查看:319
本文介绍了如何在C#上使用Microsoft Excel的自动过滤器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用microsoft visual C#编写程序,我应该创建程序,阅读excel表,并使用按钮和数据输入(文本框) ,过滤Excel工作表。我们需要的是允许自动过滤的命令,

感谢所有人的注意。

解决方案

正如我所见,你需要 AutoFilter [ ^ ]。

查看以下示例:

http://www.c-sharpcorner.com/uploadfile/cubs610/using-C-Sharp-and-the-excel-autofilter/ [ ^ ]

http: //www.e-iceblue.com/Knowledgebase/Spire.XLS/Demos/Filters/EXCEL-Write-Filters-for-C-VB.NET.html [ ^ ]

Hi to everyone,
I'm working on a program with microsoft visual C#, I should create the program, to read an excel sheet, and using a button and the data input (textbox), to filter the excel sheet. What we would need is the command that allows automatic filtering,
thanks to all for your attention.

解决方案

As I see, you need AutoFilter[^].
Check these examples:
http://www.c-sharpcorner.com/uploadfile/cubs610/using-C-Sharp-and-the-excel-autofilter/[^]
http://www.e-iceblue.com/Knowledgebase/Spire.XLS/Demos/Filters/EXCEL-Write-Filters-for-C-VB.NET.html[^]


这篇关于如何在C#上使用Microsoft Excel的自动过滤器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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