listview问题
根据listview 中第二列数据(char)的大小,对listview中的数据进行排列,什么地方错
string t;for(int i=0;i<this.lVw .Items .Count ;i++) { if(this.lVw .Items [i].SubItems [1].Text .CompareTo (this.lVw .Items [i+1].SubItems [1].Text )>0) { t=this.lVw .Items [i+1].SubItems [1].Text ; this.lVw .Items [i+1].SubItems [1].Text =this.lVw .Items [i].SubItems [1].Text; this.lVw .Items [i].SubItems [1].Text =t; } }