这个是获取ListView的数据ID的值
public int getSelectID()
{
int result;
if(this.motoView.SelectedItems.Count == 0)
{
result = 0;
}
else
{
ListViewItem item = this.motoView.SelectedItems[this.motoView.SelectedItems.Count-1];
result = Convert.ToInt32(item.SubItems[0].Text);
}
return result;
}