0
我用这个代码,以查找和选择:在特定的列表视图列中找到项目,然后选择它
ListViewItems find = listview.FindItemWithText(txtFind.Text);
if(find != null)
{
listview.TopItem = find;
find.Selected = true;
}
else
{
}
问题是,它搜索整个专栏中,我只需要搜索第2列。
很抱歉,但它不工作。而未修改的代码似乎只搜索前2列,它有4个 – Remnant13