all groups > vb.net controls > may 2006 >
You're in the

vb.net controls

group:

Dynamic filter in DataGridView


Dynamic filter in DataGridView CMC
5/28/2006 1:35:48 PM
vb.net controls:
Hi!

I've a bound DataGridView with 2 columns. The second one is a ComboBoxColumn
loaded with a datatable.
Can I filter the list of the ComboBoxColumn by the Cell value of the same
row of the previous column???

I don't know how!

Thanks in advance
CC

Re: Dynamic filter in DataGridView W.G. Ryan - MVP
5/30/2006 10:26:13 AM
You can bind the combobox to a dataview and set the rowfilter - which will
show only the filtered results. I'm not sure if this is what you're asking
or not - so if not, let me know.
[quoted text, click to view]

AddThis Social Bookmark Button