.net - Best way to keep a DataGridView up to date in c# -


i want add filter textbox application when user types text it, type it, datagridview automatically trim down what's being viewed.

right datagridview bound list user objects.

i in process of using linq create separate list of user objects , re update datagridview doing whole datagridview1.datasource = filteredlist best way go this? feel i'm doing bad way.

that's similar i'd go with. alternatively iterate list , remove objects no longer matching more memory-friendly.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -