Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在做一些将项目加载到ListView.
ListView
column1我可以运行一个循环,以便如果一行在AND下没有项目column2,则该行会被自动删除?
column1
column2
var lst = new ListView(); for (int i = lst.Items.Count - 1; i >= 0; i--) { var itemtoremove = //Put your condition here and get that item lst.Items.Remove(lst.Items.Find("key")); }