根据列值过滤GridView中的数据
问题描述:
大家好,
我有一个网格视图,其中 xml文件作为数据源. 数据是从xml文件填充到网格中的.现在,我想通过包含该列值的树视图节点选择某些列值来过滤填充的数据. Plz建议我,如何实现?
谢谢
问候,
Itz.Irshad
Hi All,
I''ve a grid view with xml file as data source. Data is populated in grid from xml file.Now, I want to filter populated data by selection some column value via a tree view node which contains that column values. Plz suggest me, how can it be accomplished ?
Thanks
Regards,
Itz.Irshad
答
请在下面的链接中检查我的解决方案.
www. c-sharpcorner.com/Forums/Thread/180882/how-to-filter-datagridview-by-make-any-change-in-the-textb.aspx [
Please check my solution in the below link.
www.c-sharpcorner.com/Forums/Thread/180882/how-to-filter-datagridview-by-making-any-change-in-the-textb.aspx[^]
Here i have used xml as datasource and instead of textbox u can use ur treeview