问:listbox关于帮定的问题
有两个listbox  	   
 	listBox1.DataSource   =loadds1.Tables[0]; 
 						listBox1.ValueMember   = "LIST ";   
 int[]   selected   =   new   int[listBox1.SelectedIndices.Count]; 
 listBox1.SelectedIndices.CopyTo(selected,   0); 
 for   (int   i=selected.Length-1;   i> =0;   i--)    
 { 
 	int   index   =   selected[i]; 
 	string   resTitle   =   listBox1.GetDisplayItemValue(index).ToString(); 
 	listBox2.Items.Add(resTitle); 
 	listBox1.Items.Remove(resTitle); 
 //问什么这里的listBox1.Items   是等于0      是不是就不能删除了~~   请指教    
 }
------解决方案--------------------问的什么,没看明白,你的意思是为什么i> =0这里最后可以等于0?   
 这里的i是selected这个数组的索引,不是listBox1.Items.Count,数组的索引是从0开始的
------解决方案--------------------GetDisplayItemValue这个是什么方法,想测试没找到这个方法   
 在这么做之前先判断一下listBox1.Items.Count是否为0吧