是任何tablelayout面板像datagrid [英] Is ther any tablelayout panel like datagrid

查看:63
本文介绍了是任何tablelayout面板像datagrid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

i使用datagridview数据表数据表

我可以使用文本框过滤我在文本框中输入名称数据过滤器和过滤数据只显示在datagridview中



因此asame方式可以显示表格layoutpanel中的控件来过滤

并仅显示已过滤的控件



控件有名称..所以使用控件名称我必须过滤控件然后只有过滤控件应该在表格布局面板中可见

< br $> b $ b

谢谢



我尝试过:



i无法找到数据绑定属性

Hello
i used datagridview that is databinded to data table
and i can filter using the textbox when i type name into the text box data filters and filtered data only shows in the datagridview

so the asame way is it possible to show the controls in table layoutpanel to filter
and show only filtered controls

controls has name.. so using the control name i have to filter the controls then only filtered controls should be visible in table layout panel


thank you

What I have tried:

i am unable find data binding property

推荐答案

TableLayoutPanel不会那样工作。它根本不支持数据绑定,因为它不处理数据。它只处理与out控件的交互来描述它们的布局。它不会使它们可见或不显示。



没有像你描述的那样的控制。您必须使用您描述的功能创建自己的TLP控件,或者认真重新考虑您正在做什么以及如何做。如果可能,考虑使用DataRepeater控件或类似控件。
The TableLayoutPanel doens't work like that. It doesn't support databinding at all because it doesn't handle data. It only handles interacting with out controls to describe their layout. It won't make them visible or not.

There is no control like what you describe. You'd have to create your own TLP control with the functionality you describe or seriously rethink what you're doing and how. If possible considering a DataRepeater control or similar.


这篇关于是任何tablelayout面板像datagrid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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