searching in datagridview and filtering it

前端 未结 2 1884
庸人自扰
庸人自扰 2020-12-12 00:33

i have a question regarding with this code, i use a bindingsource to show the data and this code only select the row when im searching in datagridview. i want to know how c

2条回答
  •  情歌与酒
    2020-12-12 01:07

    Without changing that much your code, you could set the row.Visible property to false instead of just changing row.Selected. Anyway, the answer above is more performant and clean, you should try that.

提交回复
热议问题