界面如下:  
    button1(aq11)   button2(we00)   button3(df23)  
--------------------------------  
   listview格式如下:      名称          种类  ...  
    ----------------  
    aq11       ..  
    ----------------  
    we00       ..  
    ----------------  
    df23       ..  
    ----------------  我的目的就是想点随便一个button,跳转到button所对应的行上
代码如下:public void SetSelect(string strName)
{
   int n=0; 
   this.lVw .SelectedItems .Clear ();
                  foreach(ListViewItem item in this.lVw.Items) 
                   { 
                     if(item.SubItems [0].Text==strName) 
                      { 
                           this.lVw.Items[n].Selected=true;
   this.lVw.Focus ();
   break; 
                      } 
                   ++n; 
                     }  }
               private void btn_Click(object sender, System.EventArgs e)
{
  SetSelect(sender.ToString ());
}
为什么没有结果,程序不走this.lVw.Items[n].Selected=true;
   this.lVw.Focus ();
新人,给俺看看出在哪了,不胜感激