WinForm中获取Listbox、DataGridView等控件某行对应的数据 Listbox:listbox.SelectedItem as XXX DataGridView:dataGridView1.Rows[i].Cells[1].Value.ToString()