Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Posted
Updated 1-Dec-17 3:14am
Comments
Afzaal Ahmad Zeeshan 1-Dec-17 8:16am    
But why are you ignoring the DataGrid itself?

1 solution

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.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900