private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
{
textbox.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();/*获得鼠标选取行的第一列数据*/
}
private void dataGridView1_CellMouseClick(object sender, DataGridViewCellMouseEventArgs e)
{
textbox.Text = dataGridView1.CurrentRow.Cells[0].Value.ToString();/*获得鼠标选取行的第一列数据*/
}