ListView使用方法
nt UserID = Convert.ToInt32(listView1.SelectedItems[0].Text);
int res= UserAccessor.DelUserInfo(UserID);
if (res > 0)
{
int a = listView1.SelectedIndices[0]; //定位选中项索引
listView1.Items[a].SubItems[7].Text = "xxx"; //选中项应用
}